Browse Source

2014-11-25 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* perl-Math-{Base85, Round}, perl-PHP-Session,
	  perl-Params-Coerce, perl-Term-Encoding: rebuilt
	* perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules: updated
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9118 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
5e0d9e1cc5

+ 5 - 2
p/perl-Math-Base85/perl-Math-Base85-vl.spec

@@ -1,13 +1,13 @@
 Name:           perl-Math-Base85
 Version:        0.2
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Perl extension for base 85 numbers, as referenced by RFC 1924
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Math-Base85/
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Math-Base85-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -51,6 +51,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2-2
+- rebuilt with perl 5.16.3
+
 * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2-1
 - initial build for Vine Linux
 

+ 5 - 2
p/perl-Math-Round/perl-Math-Round-vl.spec

@@ -1,13 +1,13 @@
 Name:           perl-Math-Round
 Version:        0.06
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Perl extension for rounding numbers
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Math-Round
 Source0:        http://search.cpan.org/CPAN/authors/id/G/GR/GROMMEL/Math-Round-%{version}.tar.gz
 Patch0:         Math-Round-0.06-utf8.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -53,6 +53,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Math::Round.3pm*
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-2
+- rebuilt with perl 5.16.3
+
 * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
 - initial build for Vine Linux
 

+ 5 - 2
p/perl-PHP-Session/perl-PHP-Session-vl.spec

@@ -1,12 +1,12 @@
 Name:		perl-PHP-Session
 Version:	0.27
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Summary:	read / write PHP session files
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/PHP-Session/
 Source0:	http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/PHP-Session-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Test::More) >= 0.32
@@ -48,5 +48,8 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.27-2
+- rebuilt with perl 5.16.3
+
 * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.27-1
 - initial build for Vine Linux

+ 5 - 2
p/perl-Params-Coerce/perl-Params-Coerce-vl.spec

@@ -1,13 +1,13 @@
 Name:		perl-Params-Coerce
 Version:	0.14
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Summary:	Allows your classes to do coercion of parameters
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Params-Coerce/
 Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Coerce-%{version}.tar.gz
 BuildArch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Params::Util) >= 0.05
 BuildRequires:	perl(Scalar::Util) >= 1.11
@@ -48,6 +48,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Params::Coerce.3pm*
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.14-2
+- rebuilt with perl 5.16.3
+
 * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1
 - initial build for Vine Linux
 

+ 7 - 10
p/perl-Path-Class/perl-Path-Class-vl.spec

@@ -1,13 +1,13 @@
 Name:		perl-Path-Class
-Version:	0.25
+Version:	0.35
 Release:	1%{?_dist_release}
 Summary:	Cross-platform path specification manipulation
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Path-Class/
 Source0:	http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
-Patch0:		Path-Class-0.25-old-M::B.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildArch:	noarch
 BuildRequires:	perl(base)
 BuildRequires:	perl(Carp)
@@ -22,11 +22,7 @@ BuildRequires:	perl(IO::File)
 BuildRequires:	perl(Module::Build)
 BuildRequires:	perl(strict)
 BuildRequires:	perl(Test::More)
-# We need Perl::Perl::Critic ≥ 1.080 for a fix to
-# Variables::ProhibitConditionalDeclarations, and the EPEL-5 version is too old
-%if "%{?rhel}" != "4" && "%{?rhel}" != "5"
 BuildRequires:	perl(Test::Perl::Critic)
-%endif
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -39,9 +35,6 @@ and NetWare.
 %prep
 %setup -q -n Path-Class-%{version}
 
-# Don't really need Module::Build ≥ 0.3601
-%patch0 -p1
-
 %build
 perl Build.PL installdirs=vendor
 ./Build
@@ -67,6 +60,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Path::Class::File.3pm*
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.35-1
+- updated to 0.35
+- built with perl 5.16.3
+
 * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1
 - initial build for Vine Linux
 

+ 32 - 33
p/perl-Term-Encoding/perl-Term-Encoding-vl.spec

@@ -3,25 +3,25 @@
 # Basic Information
 Name:		perl-%{pkgname}
 Version:	0.02
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
+Summary:	Detect encoding of the current terminal
+Summary(ja):	現在の端末のエンコーディングを検出する
+
 License:	Artistic or GPL
 Group:		Development/Libraries
+URL:            http://search.cpan.org/~miyagawa/Term-Encoding/
+
 Source0:	http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{pkgname}-%{version}.tar.gz
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Packager:	yasumichi
 
-Summary:	Detect encoding of the current terminal
-Summary(ja):	現在の端末のエンコーディングを検出する
-
-# Dependency
-Requires:       perl
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires:  perl
-
 %description
 Term::Encoding is a simple module to detect an encoding the current terminal
 expects, in various ways.
@@ -31,41 +31,40 @@ Term::Encoding は、さまざまな方法で現在の端末のエンコーデ
 簡単なモジュールです。
 
 %prep
-%setup -q -n Term-Encoding-0.02
+%setup -q -n Term-Encoding-%{version}
 
 %build
-perl Makefile.PL
-%{__make}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf ${RPM_BUILD_ROOT}
-%{__make} install DESTDIR=${RPM_BUILD_ROOT}
-
-find $RPM_BUILD_ROOT%{_prefix} -type f -print |
-        sed "s@^$RPM_BUILD_ROOT@@g" |
-	grep -v ^%{_mandir} |
-	grep -v perllocal.pod |
-	grep -v "\.packlist" > %{name}.files
-if [ "$(cat %{name}.files)X" = "X" ] ; then
-	echo "ERROR: EMPTY FILE LIST"
-	exit -1
-fi
-
-# remove unnecessary files.
-%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
-%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Term/Encoding/.packlist
-
+rm -rf $RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} $RPM_BUILD_ROOT
 
 %clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
 
+%check
+make test
 
-%files -f %{name}.files
+
+%files
 %defattr(-,root,root)
 %doc Changes
-%{_mandir}/*/*
+%{perl_vendorlib}/Term/*
+%{_mandir}/man3/*
 
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.02-2
+- rebuilt with perl 5.16.3
+- installed module to vendor_perl
+- added BuildArch: noarch
+- added BR: perl(ExtUtils::MakeMaker)
+- added URL tag
+
 * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.02-1
 - initial build for Vine Linux

+ 40 - 33
p/perl-Test-Classy/perl-Test-Classy-vl.spec

@@ -2,25 +2,33 @@
 
 # Basic Information
 Name:		perl-%{pkgname}
-Version:	0.09
+Version:	0.10
 Release:	1%{?_dist_release}
+Summary:	write your unit tests in other modules than *.t
+Summary(ja):	*.t 以外のモジュールで単体テストを書く
+
 License:	Artistic or GPL
 Group:		Development/Libraries
+URL:            http://search.cpan.org/~ishigaki/Test-Classy/
+
 Source0:	http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch:	noarch
+BuildRequires:  perl(Class::Data::Inheritable)
+BuildRequires:  perl(Class::Inspector)
+BuildRequires:	perl(Data::Dump)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Module::Find)
+BuildRequires:	perl(Term::Encoding)
+BuildRequires:	perl(Test::UseAllModules)
+BuildRequires:	perl(Sub::Install)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Packager:	yasumichi
 
-Summary:	write your unit tests in other modules than *.t
-Summary(ja):	*.t 以外のモジュールで単体テストを書く
-
-# Dependency
-Requires:	perl
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires:	perl
 
 %description
 This is yet another Test::Class-like unit testing framework. As stated in
@@ -35,42 +43,41 @@ limit tests.
 #%%description -l ja
 
 %prep
-%setup -q -n Test-Classy-0.09
+%setup -q -n Test-Classy-%{version}
 
 %build
-perl Makefile.PL
-%{__make}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf ${RPM_BUILD_ROOT}
-%{__make} install DESTDIR=${RPM_BUILD_ROOT}
-
-find $RPM_BUILD_ROOT%{_prefix} -type f -print |
-        sed "s@^$RPM_BUILD_ROOT@@g" |
-	grep -v ^%{_mandir} |
-	grep -v perllocal.pod |
-	grep -v "\.packlist" > %{name}.files
-if [ "$(cat %{name}.files)X" = "X" ] ; then
-	echo "ERROR: EMPTY FILE LIST"
-	exit -1
-fi
-
-# remove unnecessary files.
-%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
-%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Test/Classy/.packlist
-
+rm -rf $RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} $RPM_BUILD_ROOT
 
 %clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
 
+%check
+make test
 
-%files -f %{name}.files
+
+%files 
 %defattr(-,root,root)
 %doc Changes README
-%dir %{perl_sitelib}/Test/Classy
-%{_mandir}/*/*
+%{perl_vendorlib}/Test/*
+%{_mandir}/man3/*
 
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.10-1
+- updated to 0.10
+- built with perl 5.16.3
+- installed module to vendor_perl
+- added BuildArch: noarch
+- added BuildRequires: perl modules
+- added URL tag
+
 * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.09-1
 - initial build for Vine Linux

+ 32 - 31
p/perl-Test-UseAllModules/perl-Test-UseAllModules-vl.spec

@@ -2,25 +2,26 @@
 
 # Basic Information
 Name:		perl-%{pkgname}
-Version:	0.13
+Version:	0.17
 Release:	1%{?_dist_release}
+Summary:	do use_ok() for all the MANIFESTed modules
+#Summary(ja):	ここに日本語で概要を記述してください
+
 License:	Artistic or GPL
 Group:		Development/Libraries
 Source0:	http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Packager:	yasumichi
 
-Summary:	do use_ok() for all the MANIFESTed modules
-#Summary(ja):	ここに日本語で概要を記述してください
-
-# Dependency
-Requires:       perl
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires:  perl
 
 %description
 I'm sick of writing 00_load.t (or something like that) that'll do use_ok()
@@ -33,41 +34,41 @@ MANIFEST. You don't have to modify the test any more (hopefully).
 #ここに日本語で詳細を記述してください。
 
 %prep
-%setup -q -n Test-UseAllModules-0.13
+%setup -q -n Test-UseAllModules-%{version}
 
 %build
-perl Makefile.PL
-%{__make}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf ${RPM_BUILD_ROOT}
-%{__make} install DESTDIR=${RPM_BUILD_ROOT}
-
-find $RPM_BUILD_ROOT%{_prefix} -type f -print |
-        sed "s@^$RPM_BUILD_ROOT@@g" |
-	grep -v ^%{_mandir} |
-	grep -v perllocal.pod |
-	grep -v "\.packlist" > %{name}.files
-if [ "$(cat %{name}.files)X" = "X" ] ; then
-	echo "ERROR: EMPTY FILE LIST"
-	exit -1
-fi
-
-# remove unnecessary files.
-%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
-%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Test/UseAllModules/.packlist
-
+rm -rf $RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} $RPM_BUILD_ROOT
 
 %clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
+
+%check
+make test
 
 
-%files -f %{name}.files
+%files
 %defattr(-,root,root)
 %doc Changes README
+%dir %{perl_vendorlib}/Test
+%{perl_vendorlib}/Test/*
 %{_mandir}/*/*
 
 
 %changelog
+* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-1
+- updated to 0.17
+- built with perl 5.16.3
+- installed module to vendor_perl
+- added BuildArch: noarch
+- added BR
+
 * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-1
 - initial build for Vine Linux