Browse Source

2014-12-18 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* clearsilver, perl-AppConfig, perl-Class-Inner,
	  perl-DateTime-{Calendar-Mayan, Locale},
	  perl-Goo-Canvas, perl-Test-Unit: rebuilt
	* perl-DateTime, perl-Test-Manifest: updated
	


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

+ 19 - 7
c/clearsilver/clearsilver-vl.spec

@@ -1,26 +1,31 @@
 %define name clearsilver
 %define name clearsilver
 %define version 0.10.5
 %define version 0.10.5
-%define release 8%{_dist_release}
+%define release 9%{_dist_release}
 
 
 Summary: A fast, powerful, and language-neutral HTML template system.
 Summary: A fast, powerful, and language-neutral HTML template system.
 Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
 Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
 Name: %{name}
 Name: %{name}
 Version: %{version}
 Version: %{version}
 Release: %{release}
 Release: %{release}
+
+License: Neotonic ClearSilver Software License
+Group: Applications/Text
+URL: http://clearsilver.net/
+
 Source0: http://clearsilver.net/downloads/%{name}-%{version}.tar.gz
 Source0: http://clearsilver.net/downloads/%{name}-%{version}.tar.gz
 Patch0: clearsilver-0.10.5-conf.patch
 Patch0: clearsilver-0.10.5-conf.patch
 Patch1: clearsilver-0.10.5-regression.patch
 Patch1: clearsilver-0.10.5-regression.patch
 Patch2: clearsilver-0.10.5-CVE-2011-4357.patch
 Patch2: clearsilver-0.10.5-CVE-2011-4357.patch
 Patch3: clearsilver-ruby-1.9.patch
 Patch3: clearsilver-ruby-1.9.patch
-License: Neotonic ClearSilver Software License
-Group: Applications/Documentation
-URL: http://clearsilver.net/
 
 
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: perl
 BuildRequires: perl
-BuildRequires: ruby, ruby-devel >= 1.9.3
-BuildRequires: python-devel, zlib-devel
+BuildRequires: python-devel
+BuildRequires: ruby
+BuildRequires: ruby-devel >= 1.9.3
+BuildRequires: zlib-devel
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Provides: ruby(clearsilver)
 Provides: ruby(clearsilver)
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
@@ -64,6 +69,10 @@ cd ruby
 cd ..
 cd ..
 make DESTDIR=${RPM_BUILD_ROOT} install
 make DESTDIR=${RPM_BUILD_ROOT} install
 
 
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
 %clean
 %clean
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
@@ -81,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man*/*.gz
 %{_mandir}/man*/*.gz
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.5-9
+- rebuilt with perl 5.16.3 and ruby 2.1.5
+
 * Sun Dec 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-8
 * Sun Dec 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-8
 - rebuilt with ruby-2.0.0.353.
 - rebuilt with ruby-2.0.0.353.
 
 

+ 13 - 17
p/perl-AppConfig/perl-AppConfig-vl.spec

@@ -1,14 +1,15 @@
 Summary: Perl5 module for reading configuration files and parsing command line arguments
 Summary: Perl5 module for reading configuration files and parsing command line arguments
 Name: perl-AppConfig
 Name: perl-AppConfig
 Version: 1.66
 Version: 1.66
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: distributable
 License: distributable
 Group: Development/Libraries
 Group: Development/Libraries
-Source0: http://www.cpan.org/authors/id/ABW/AppConfig-%{version}.tar.gz
 URL: http://search.cpan.org/~abw/AppConfig/
 URL: http://search.cpan.org/~abw/AppConfig/
+Source0: http://www.cpan.org/authors/id/ABW/AppConfig-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
 BuildArch: noarch
-BuildRequires: perl >= 5.004
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 
 %description
 %description
 AppConfig is a bundle of Perl5 modules for reading configuration files 
 AppConfig is a bundle of Perl5 modules for reading configuration files 
@@ -29,18 +30,10 @@ make
 
 
 %install
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_prefix}
-make DESTDIR=$RPM_BUILD_ROOT install
-
-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
+%{_fixperms} $RPM_BUILD_ROOT
 
 
 %check
 %check
 make test
 make test
@@ -48,13 +41,16 @@ make test
 %clean 
 %clean 
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
-%files -f %{name}.files
+%files
 %defattr(-,root,root)
 %defattr(-,root,root)
 %doc README Changes TODO
 %doc README Changes TODO
-%dir %{perl_vendorlib}/AppConfig
+%{perl_vendorlib}/*
 %{_mandir}/man3/*3pm*
 %{_mandir}/man3/*3pm*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.65-3
+- rebuilt with perl 5.16.3
+
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.65-2
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.65-2
 - rebuild with perl-5.12.3
 - rebuild with perl-5.12.3
 
 

+ 7 - 3
p/perl-Class-Inner/perl-Class-Inner-vl.spec

@@ -1,9 +1,9 @@
 Summary: A perlish implementation of Java like inner classes
 Summary: A perlish implementation of Java like inner classes
 Name: perl-Class-Inner
 Name: perl-Class-Inner
 Version: 0.1
 Version: 0.1
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 Group: Development/Libraries
 Group: Development/Libraries
-License: GOL+ or Artistic
+License: GPL+ or Artistic
 URL: http://search.cpan.org/dist/Class-Inner/
 URL: http://search.cpan.org/dist/Class-Inner/
 Source0: http://search.cpan.org/CPAN/authors/id/P/PD/PDCAWLEY/Class-Inner-%{version}.tar.gz
 Source0: http://search.cpan.org/CPAN/authors/id/P/PD/PDCAWLEY/Class-Inner-%{version}.tar.gz
 # Upstream RT bug 33533
 # Upstream RT bug 33533
@@ -12,7 +12,8 @@ Patch0:	perl-Class-Inner-0.1-perl510-testfix.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
 BuildArch: noarch
 BuildRequires: perl >= 5.004
 BuildRequires: perl >= 5.004
-Requires: perl >= 5.004
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
 
 
@@ -51,6 +52,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*.3*
 %{_mandir}/man3/*.3*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1-3
+- rebuilt with perl 5.16.3
+
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
 - rebuild with perl-5.12.3
 - rebuild with perl-5.12.3
 
 

+ 9 - 4
p/perl-DateTime-Calendar-Mayan/perl-DateTime-Calendar-Mayan-vl.spec

@@ -1,12 +1,14 @@
 Name:		perl-DateTime-Calendar-Mayan 
 Name:		perl-DateTime-Calendar-Mayan 
 Version:	0.0601 
 Version:	0.0601 
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
+Summary:	Mayan Long Count Calendar 
+
 License:	GPL+ or Artistic 
 License:	GPL+ or Artistic 
 Group:		Development/Libraries
 Group:		Development/Libraries
-Summary:	Mayan Long Count Calendar 
-Url:		http://search.cpan.org/dist/DateTime-Calendar-Mayan
+URL:		http://search.cpan.org/dist/DateTime-Calendar-Mayan
+
 Source:		http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Calendar-Mayan-%{version}.tar.gz 
 Source:		http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Calendar-Mayan-%{version}.tar.gz 
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) 
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch:	noarch
 BuildArch:	noarch
 BuildRequires:	perl(DateTime) >= 0.15
 BuildRequires:	perl(DateTime) >= 0.15
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(ExtUtils::MakeMaker)
@@ -47,6 +49,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/DateTime::Calendar::Mayan.3pm*
 %{_mandir}/man3/DateTime::Calendar::Mayan.3pm*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.0601-2
+- rebuilt with perl 5.16.3
+
 * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0601-1
 * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0601-1
 - initial build for Vine Linux
 - initial build for Vine Linux
 
 

+ 5 - 1
p/perl-DateTime-Locale/perl-DateTime-Locale-vl.spec

@@ -1,6 +1,6 @@
 Name:           perl-DateTime-Locale
 Name:           perl-DateTime-Locale
 Version:        0.45
 Version:        0.45
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Localization support for DateTime.pm
 Summary:        Localization support for DateTime.pm
 # package itself is 'same terms as Perl'
 # package itself is 'same terms as Perl'
 # modules under DateTime/Locale/ are generated from data provided by the CLDR project
 # modules under DateTime/Locale/ are generated from data provided by the CLDR project
@@ -9,6 +9,7 @@ License:        (GPL+ or Artistic) and MIT
 Group:          Development/Libraries
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime-Locale/
 URL:            http://search.cpan.org/dist/DateTime-Locale/
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{version}.tar.gz
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildArch:      noarch
 BuildRequires:  perl >= 0:5.006
 BuildRequires:  perl >= 0:5.006
 BuildRequires:  perl(List::MoreUtils)
 BuildRequires:  perl(List::MoreUtils)
@@ -63,6 +64,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 %{_mandir}/man3/*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.45-2
+- rebuilt with perl 5.16.3
+
 * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.45-1
 * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.45-1
 - initial build for Vine Linux
 - initial build for Vine Linux
 
 

+ 21 - 8
p/perl-DateTime/perl-DateTime-vl.spec

@@ -1,25 +1,30 @@
 Name:           perl-DateTime
 Name:           perl-DateTime
 Epoch:          2
 Epoch:          2
-Version:        0.70
+Version:        1.12
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Summary:        Date and time object
 Summary:        Date and time object
 License:        Artistic 2.0
 License:        Artistic 2.0
 Group:          Development/Libraries
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime/
 URL:            http://search.cpan.org/dist/DateTime/
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 # circular dependency - only used for one test
 # circular dependency - only used for one test
 #BuildRequires:  perl(DateTime::Format::Strptime) >= 1.2000
 #BuildRequires:  perl(DateTime::Format::Strptime) >= 1.2000
 BuildRequires:  perl(base)
 BuildRequires:  perl(base)
-BuildRequires:  perl(constant)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(DateTime::Locale) >= 0.41
 BuildRequires:  perl(DateTime::Locale) >= 0.41
-BuildRequires:  perl(DateTime::TimeZone) >= 1.09
+BuildRequires:  perl(DateTime::TimeZone) >= 1.74
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Math::Round)
 BuildRequires:  perl(Math::Round)
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Module::Build) >= 0.28
 BuildRequires:  perl(Params::Validate) >= 0.76
 BuildRequires:  perl(Params::Validate) >= 0.76
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::More) >= 0.88
-BuildRequires:  perl(Time::Local) >= 1.04
+BuildRequires:  perl(Test::Warnings) >= 0.005
+BuildRequires:  perl(Try::Tiny)
 BuildRequires:  perl(XSLoader)
 BuildRequires:  perl(XSLoader)
 Requires:       perl(DateTime::Locale) >= 0.41
 Requires:       perl(DateTime::Locale) >= 0.41
 Requires:       perl(DateTime::TimeZone) >= 1.09
 Requires:       perl(DateTime::TimeZone) >= 1.09
@@ -48,6 +53,7 @@ believed to be the birth of Jesus Christ.
 ./Build
 ./Build
 
 
 %install
 %install
+rm -rf %{buildroot}
 ./Build install destdir=%{buildroot} create_packlist=0
 ./Build install destdir=%{buildroot} create_packlist=0
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -55,15 +61,22 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} %{buildroot}/*
 %{_fixperms} %{buildroot}/*
 
 
 %check
 %check
-LANG=en_US RELEASE_TESTING=1 ./Build test
+LANG=C ./Build test
+
+%clean
+rm -rf %{buildroot}
 
 
 %files
 %files
-%doc Changes CREDITS LICENSE README TODO
+%doc Changes CREDITS LICENSE README.md TODO
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/DateTime*
 %{perl_vendorarch}/DateTime*
 %{_mandir}/man3/*
 %{_mandir}/man3/*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2:1.12-1
+- updated to 1.12
+- built with perl 5.16.3
+
 * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2:0.70-1
 * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2:0.70-1
 - initial build for Vine Linux
 - initial build for Vine Linux
 
 

+ 21 - 8
p/perl-Goo-Canvas/perl-Goo-Canvas-vl.spec

@@ -1,26 +1,35 @@
 Name:		perl-Goo-Canvas
 Name:		perl-Goo-Canvas
 Version:	0.06
 Version:	0.06
-Release:	2%{?_dist_release}
+Release:	3%{?_dist_release}
 Summary:	Perl interface to the GooCanvas
 Summary:	Perl interface to the GooCanvas
 License:	GPL+ or Artistic
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Goo-Canvas/
 URL:		http://search.cpan.org/dist/Goo-Canvas/
 Source0:	http://www.cpan.org/authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
 Source0:	http://www.cpan.org/authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
-Source1:	Changes.20090614
-Patch0:		perltetris_pl-undefined.diff
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	goocanvas-devel
+Source1:        Changes.20090614
+Patch0:         perltetris_pl-undefined.diff
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:	goocanvas015-devel
 BuildRequires:	perl(Cairo) >= 1.00
 BuildRequires:	perl(Cairo) >= 1.00
 BuildRequires:	perl(ExtUtils::Depends) >= 0.2
 BuildRequires:	perl(ExtUtils::Depends) >= 0.2
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(ExtUtils::PkgConfig) >= 1.0
 BuildRequires:	perl(ExtUtils::PkgConfig) >= 1.0
 BuildRequires:	perl(Glib) >= 1.103
 BuildRequires:	perl(Glib) >= 1.103
 BuildRequires:	perl(Gtk2) >= 1.100
 BuildRequires:	perl(Gtk2) >= 1.100
+BuildRequires:  perl(Test::More)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
 
 
+%{?perl_default_filter:
+%filter_from_requires /perl(Tetris/d
+%filter_from_requires /perl(Mine/d
+%?perl_default_filter
+}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Tetris|Mine
+
+
 %description
 %description
 GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It is easy to use 
 GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It is easy to use 
 and has powerful and extensible way to create items in canvas. Just try it.
 and has powerful and extensible way to create items in canvas. Just try it.
@@ -58,12 +67,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
 %doc Changes goocanvas.typemap maps README
 %doc Changes goocanvas.typemap maps README
 %{_bindir}/*
 %{_bindir}/*
-%{_mandir}/man3/*.3*
-%{perl_vendorarch}/Goo/
-%{_mandir}/man1/*.1.gz
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Goo/
+%{_mandir}/man1/*
+%{_mandir}/man3/*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.06-3
+- rebuilt with perl 5.16.3
+- BR: goocanvas015 instead of goocanvas
+
 * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.06-2
 * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.06-2
 - build with perl 5.12.3
 - build with perl 5.12.3
 - add Vendor and Distribution tags
 - add Vendor and Distribution tags

+ 13 - 5
p/perl-Test-Manifest/perl-Test-Manifest-vl.spec

@@ -1,20 +1,24 @@
 Name:           perl-Test-Manifest
 Name:           perl-Test-Manifest
-Version:        1.22
-Release:        6%{?_dist_release}
+Version:        2.02
+Release:        1%{?_dist_release}
 Summary:        Test case module for Perl
 Summary:        Test case module for Perl
 
 
 Group:          Development/Libraries
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Manifest/
 URL:            http://search.cpan.org/dist/Test-Manifest/
 Source0:        http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-%{version}.tar.gz
 Source0:        http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
 BuildArch:      noarch
-BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More) >= 0.95
+BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Test::Pod::Coverage)
-BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 
+Vendor: Project Vine
+Distribution: Vine Linux
+
 %description
 %description
 MakeMaker assumes that you want to run all of the .t files in the t/
 MakeMaker assumes that you want to run all of the .t files in the t/
 directory in ascii-betical order during make test unless you say
 directory in ascii-betical order during make test unless you say
@@ -56,6 +60,10 @@ rm -rf %{buildroot}
 
 
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.02-1
+- new upstream release
+- built with perl 5.16.3
+
 * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-7
 * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-7
 - rebuilt with perl-5.12.3
 - rebuilt with perl-5.12.3
 
 

+ 44 - 32
p/perl-Test-Unit/perl-Test-Unit-vl.spec

@@ -1,23 +1,33 @@
 Summary: a unit testing interface for Perl
 Summary: a unit testing interface for Perl
 Name: perl-Test-Unit
 Name: perl-Test-Unit
 Version: 0.25
 Version: 0.25
-Release: 2%{?_dist_release}
-License: Perl's
+Release: 3%{?_dist_release}
+License: GPL+ or Artistic
 Group: Development/Libraries
 Group: Development/Libraries
+URL: http://perlunit.sourceforge.net/
+
 Source0: http://prdownloads.sourceforge.net/perlunit/Test-Unit-%{version}.tar.gz
 Source0: http://prdownloads.sourceforge.net/perlunit/Test-Unit-%{version}.tar.gz
-Url: http://perlunit.sourceforge.net/
+# https://rt.cpan.org/Public/Bug/Display.html?id=69025
+Patch0: tests5.14.patch
+# https://rt.cpan.org/Public/Bug/Display.html?id=77779
+Patch1: perl5.16.patch
 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: perl >= 5.004
-BuildRequires: perl-Class-Inner
-BuildRequires: perl-Devel-Symdump
-BuildRequires: perl-Error
-Requires: perl >= 5.004
-Requires: perl-Error
-Requires: perl-Devel-Symdump
-Requires: perl-Class-Inner
-Requires: perl-Tk
-BuildArch: noarch
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Inner)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Devel::Symdump)
+BuildRequires:  perl(Error)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Test)
+BuildRequires:  perl(Tk)
+BuildRequires:  perl(Tk::Canvas)
+BuildRequires:  perl(Tk::Derived)
+BuildRequires:  perl(Tk::DialogBox)
+BuildRequires:  perl(Tk::ROText)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 
 %description
 %description
 Test::Unit is the procedural style interface to a sophisticated
 Test::Unit is the procedural style interface to a sophisticated
@@ -26,6 +36,10 @@ testing framework for Java by Kent Beck and Erich Gamma.
 
 
 %prep
 %prep
 %setup -q -n Test-Unit-%{version} 
 %setup -q -n Test-Unit-%{version} 
+%patch0 -p1
+%patch1 -p1
+sed -i 's/\r//' examples/Experimental/Sample.pm
+chmod a+x TkTestRunner.pl TestRunner.pl
 
 
 %build
 %build
 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
@@ -33,18 +47,11 @@ make
 
 
 %install
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_prefix}
-make DESTDIR=$RPM_BUILD_ROOT install
-
-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/*
 
 
 %check
 %check
 make test
 make test
@@ -52,16 +59,21 @@ make test
 %clean 
 %clean 
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
-%files -f %{name}.files
+%files
 %defattr(-,root,root)
 %defattr(-,root,root)
-%doc Changes README doc examples *.pl AUTHORS ChangeLog
-%{_mandir}/*/*
-%dir %{perl_vendorlib}/Test
-%dir %{perl_vendorlib}/Test/Unit
-%dir %{perl_vendorlib}/Test/Unit/Assertion
-%dir %{perl_vendorlib}/Test/Unit/Runner
+%doc AUTHORS ChangeLog Changes COPYING.Artistic COPYING.GPL-2 doc examples README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
 
 
 %changelog
 %changelog
+* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.25-3
+- rebuilt with perl 5.16.3
+- added Patch0 and 1 from Fedora
+  * Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.25-13
+  - apply patch to for Test::Unit::TestBase RT#77779
+  * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.25-11
+  - apply upstream patch for tests RT#69025
+
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25-2
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25-2
 - rebuild with perl-5.12.3
 - rebuild with perl-5.12.3