Browse Source

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

	* perl-Algorithm-C3, perl-Class-Inspector, perl-Hook-LexWrap,
	  perl-Tie-IxHash: updated
	* perl-Algorithm-Diff, perl-JSON-XS, perl-PPI, perl-Test-SubCalls,
	  perl-Text-Diff: rebuilt
	  


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

+ 14 - 5
p/perl-Algorithm-C3/perl-Algorithm-C3-vl.spec

@@ -1,5 +1,5 @@
 Name:		perl-Algorithm-C3
-Version:	0.08
+Version:	0.10
 Release:	1%{?_dist_release}
 Summary:	Module for merging hierarchies using the C3 algorithm
 License:	GPL+ or Artistic
@@ -19,6 +19,9 @@ BuildRequires:	perl(Test::Pod::Coverage)
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 %description
 This module implements the C3 algorithm.  Most of the uses I have for C3
 revolve around class building and metamodels but it could also be used for
@@ -29,17 +32,18 @@ job of preserving local precedence orderings.
 %setup -q -n Algorithm-C3-%{version}
 
 %build
-perl Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-./Build install destdir=%{buildroot} create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %clean
 rm -rf %{buildroot}
@@ -51,6 +55,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Algorithm::C3.3pm*
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.10-1
+- updated to 0.10
+- built with perl 5.16.3
+- added Vendor and Distribution tag
+
 * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.08-1
 - initial build for Vine Linux
 

+ 6 - 2
p/perl-Algorithm-Diff/perl-Algorithm-Diff-vl.spec

@@ -1,12 +1,13 @@
 Name:           perl-Algorithm-Diff
 Version:        1.1902
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Algorithm::Diff Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Algorithm-Diff/
 Source0:        http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -55,6 +56,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1902-3
+- rebuilt with perl 5.16.3
+
 * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1902-2
 - rebuild
 

+ 31 - 29
p/perl-Class-Inspector/perl-Class-Inspector-vl.spec

@@ -2,27 +2,27 @@
 
 # Basic Information
 Name:		perl-%{pkgname}
-Version:	1.25
+Version:	1.28
 Release:	1%{?_dist_release}
-# License は、COPYING などのファイルを参考に適切なものに変更してください。
+Summary:	Get information about a class and its structure
+Summary(ja):	クラスおよびその構造について情報を得る
+
 License:	Artistic or GPL
 Group:		Development/Libraries
+URL: 		http://search.cpan.org/~adamk/Class-Inspector/
+
 Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%{pkgname}-%{version}.tar.gz
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch:	noarch
+# Dependency
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Packager:	yasumichi
 
-Summary:	Get information about a class and its structure
-Summary(ja):	クラスおよびその構造について情報を得る
-
-# Dependency
-Requires:	perl
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires:	perl
-
 %description
 Class::Inspector allows you to get information about a loaded class. Most or
 all of this information can be found in other ways, but they aren't always
@@ -34,42 +34,44 @@ easier, more friendly interface to this information.
 #ここに日本語で詳細を記述してください。
 
 %prep
-%setup -q -n Class-Inspector-1.25
+%setup -q -n %{pkgname}-%{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
+%{__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 ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
 # remove unnecessary files.
-%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
-%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Class/Inspector/.packlist
+%{__rm} -f ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
+%{__rm} -f ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Class/Inspector/.packlist
 
+%check
+make test
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 
-%files -f %{name}.files
+%files
 %defattr(-,root,root)
 %doc Changes LICENSE README
-%dir %{perl_sitelib}/Class/Inspector
+%{perl_vendorlib}/Class
 %{_mandir}/*/*
 
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.28-1
+- updated to 1.28
+- built with perl 5.16.3
+- installed modules to vendor_perl directory
+- added URL
+
 * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.25-1
 - initial build for Vine Linux

+ 11 - 5
p/perl-Hook-LexWrap/perl-Hook-LexWrap-vl.spec

@@ -1,16 +1,18 @@
 Name:           perl-Hook-LexWrap
-Version:        0.22
-Release:        2%{?_dist_release}
+Version:        0.24
+Release:        1%{?_dist_release}
 Summary:        Lexically scoped subroutine wrappers
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Hook-LexWrap/
-Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.zip
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.tar.gz
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:         Project Vine
@@ -57,6 +59,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.24-1
+- updated to 0.24
+- built with perl 5.16.3
+
 * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-2
 - rebuild
 

+ 11 - 3
p/perl-JSON-XS/perl-JSON-XS-vl.spec

@@ -1,20 +1,24 @@
 Name:           perl-JSON-XS
 Summary:        JSON serialising/deserialising, done correctly and fast
+Summary(ja):    正確で高速な JSON シリアライザ/デシリアライザ
 Epoch:          1
 Version:        2.32
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JSON-XS/
 Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  perl(common::sense)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
-
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(common::sense)
 
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
@@ -58,6 +62,10 @@ rm -rf %{buildroot}
 %{_mandir}/man[13]/*
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI ryo1@toki.waseda.jp> - 1:2.32-2
+- rebuilt with perl 5.16.3
+- added Vendor and Distribution tag
+
 * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:2.32-1
 - initial build for Vine Linux
 

+ 6 - 1
p/perl-PPI/perl-PPI-vl.spec

@@ -3,13 +3,15 @@
 
 Name:           perl-PPI
 Version:        1.215
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Parse, Analyze and Manipulate Perl
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/PPI/
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
 Patch0:         PPI-1.215-UTF8.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(List::Util) >= 1.20
@@ -95,6 +97,9 @@ make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
 
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.215-3
+- rebuilt with perl 5.16.3
+
 * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.215-2
 - rebuild
 

+ 9 - 4
p/perl-Test-SubCalls/perl-Test-SubCalls-vl.spec

@@ -1,20 +1,22 @@
+%define perl_bootstrap 1
+
 Name:           perl-Test-SubCalls
 Version:        1.09
-Release:        3%{?_dist_release}
+Release:        4%{?_dist_release}
 Summary:        Track the number of times subs are called
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-SubCalls/
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Test-SubCalls-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(Hook::LexWrap) >= 0.20
 BuildRequires:  perl(Test::Builder::Tester) >= 1.02
-BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::More) >= 0.60
-BuildRequires:  perl(Class::Inspector)
+#BuildRequires:  perl(Class::Inspector)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %if 0%{!?perl_bootstrap:1}
@@ -71,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.09-4
+- rebuilt with perl 5.16.3
+
 * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-3
 - rebuild
 

+ 6 - 1
p/perl-Text-Diff/perl-Text-Diff-vl.spec

@@ -1,11 +1,13 @@
 Name:           perl-Text-Diff
 Version:        1.41
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Perform diffs on files and record sets
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Diff/
 Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Algorithm::Diff)
@@ -53,6 +55,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.41-2
+- rebuilt with perl 5.16.3
+
 * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.41-1
 - initial build for Vine Linux
 

+ 10 - 8
p/perl-Tie-IxHash/perl-Tie-IxHash-vl.spec

@@ -1,17 +1,18 @@
 Name:           perl-Tie-IxHash
-Version:        1.22
-Release:        2%{?_dist_release}
+Version:        1.23
+Release:        1%{?_dist_release}
 Summary:        Ordered associative arrays for Perl
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Tie-IxHash/
 Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
-Patch0:         Tie-IxHash-1.22-Makefile.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Vendor:         Project Vine
@@ -29,9 +30,6 @@ familiar perl array operations can also be performed on the IxHash.
 %prep
 %setup -q -n Tie-IxHash-%{version}
 
-# Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
-%patch0 -p1
-
 # Fix line endings
 sed -i -e 's/\r$//' Changes README
 
@@ -65,6 +63,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Nov 15 2014 Ryoichi INAGAKI ryo1@toki.waseda.jp> - 1.23-1
+- updated to 1.23
+- built with perl 5.16.3
+
 * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-2
 - rebuild