Browse Source

* perl-GDGraph3d: new package
* perl-GDGraph: update
* perl-GDTextUtil: update


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5867 ec354946-7b23-47d6-9f5a-488ba84defc7

shaolin 12 years ago
parent
commit
f3eed79eae

+ 216 - 66
p/perl-GD/perl-GD-vl.spec

@@ -1,26 +1,33 @@
-%define perl_vendorarch    %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
-
-Summary: A perl5 interface to Thomas Boutell's gd library
-Summary(ja): GD ライブラリの Perl 用インターフェイス
-Name: perl-GD
-Version: 2.35
-Release: 2%{?_dist_release}
-License: distributable
-Group: Development/Libraries
-Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-%{version}.tar.gz
-Url: http://search.cpan.org/dist/GD/
-BuildRoot: %{_tmppath}/perl-GD-buildroot/
-BuildRequires: perl >= 5.6.0, gd-devel >= 2.0.20, libjpeg-devel
-BuildRequires: freetype2-devel, libpng-devel, zlib-devel
-BuildRequires: libX11-devel
-BuildRequires: libXpm-devel
-Requires: perl >= 5.6.0, gd >= 2.0.12, libjpeg, freetype2
-Requires: libpng, zlib
+Name:           perl-GD
+Version:        2.44
+Release:        1%{?_dist_release}
+Summary:        Perl interface to the GD graphics library
+Summary(ja):    GD ライブラリの Perl 用インターフェイス
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/GD/
+Source0:        http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
+Patch0:		perl-GD-2.41-Group.patch
+Patch1:		perl-GD-skip-3.patch
+# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
+# and https://rt.cpan.org/Public/Bug/Display.html?id=67990
+Patch2:         perl-GD-ccflags.patch
+
+BuildRequires:  gd-devel >= 2.0.28
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  freetype2-devel, libpng-devel, zlib-devel
+BuildRequires:  libX11-devel
+BuildRequires:  libXpm-devel
+Requires:       gd >= 2.0.28, libjpeg, freetype2
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
 
 %description
-This is a autoloadable interface module for libgd, a popular library
+This is a autoloadable interface module for GD, a popular library
 for creating and manipulating PNG files.  With this library you can
-create PNG images on the fly or modify existing files.  Features
+create PNG images on the fly or modify existing files. Features
 include:
 
 a.  lines, polygons, rectangles and arcs, both filled and unfilled
@@ -33,68 +40,211 @@ f.  support for transparency and interlacing
 For full information on usage, see the accompanying man and html
 documentation.
 
-# Provide perl-specific find-{provides,requires}.
-%define __find_provides /usr/lib/rpm/find-provides.perl
-%define __find_requires /usr/lib/rpm/find-requires.perl
 
 %prep
 %setup -q -n GD-%{version}
+%patch0 -p1
+%ifarch %{ix86}
+%patch1 -p1
+%endif
+%patch2 -p1
+%{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
+  qd.pl demos/{*.{pl,cgi},truetype_test}
+chmod -c 644 bdf_scripts/* demos/*
+chmod -c 755 qd.pl
 
-%build
-CFLAGS="$RPM_OPT_FLAGS" \
-perl Makefile.PL --lib_gd_path=%{_libdir} INSTALLDIRS="vendor" << _OPT_
-y
-_OPT_
-make
-make test
 
-%clean 
+%build
 rm -rf %{buildroot}
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 
+make %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
 
 %install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
 
-[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
 
-find %{buildroot}%{_prefix} -type f -print | 
-	sed "s@^%{buildroot}@@g" | 
-	grep -v perllocal.pod | 
-	grep -v "\.packlist" > %{name}-filelist
-if [ "$(cat %{name}-filelist)X" = "X" ] ; then
-    echo "ERROR: EMPTY FILE LIST"
-    exit -1
-fi
+%check
+%ifarch ppc
+# testsuite fails on ppc
+%else
+make test
+%endif
+%ifarch %{ix86}
+perl t/GD.t --write
+: This is the file that should contain some blue color:
+base64 t/test.out.3.png_new
+%endif
 
-find demos -type f | xargs perl -pi -e "s|^#!(\s)?/usr/local/bin/perl|#!/usr/bin/perl|g"
-find bdf_scripts -type f | xargs perl -pi -e "s|^#!(\s)?/usr/local/bin/perl|#!/usr/bin/perl|g"
 
-%files -f %{name}-filelist
-%defattr(-,root,root)
-%doc ChangeLog README* demos bdf_scripts
-%dir %{perl_vendorarch}/GD
-%dir %{perl_vendorarch}/auto/GD
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog README* demos/ bdf_scripts
+%{_bindir}/*
+%{perl_vendorarch}/auto/GD
+%{perl_vendorarch}/GD*
+%{perl_vendorarch}/qd.pl
+%{_mandir}/man1/*.1*
+%{_mandir}/man3/*.3pm*
+
 
 %changelog
-* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.35-2
-- rebuild with perl-5.12.3
-- add BuildRequires: libX11-devel, libXpm-devel
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.44-1
+- updated to 2.44
+- spec revamped based on Fedora's 2.44-10
+- previous Vine changelogs as follows:
+
+  - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.35-2
+  - rebuild with perl-5.12.3
+  - add BuildRequires: libX11-devel, libXpm-devel
+  
+  - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.35-1vl5
+  - applied new versioning policy, spec in utf-8
+  - built with perl-5.10.0
+  
+  - Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.35-0vl1
+  - new upstream release
+  - changed Group to Development/Libraries
+  
+  - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28-0vl1
+  - new upstream release
+  - added Japanese summary
+  
+  - Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 2.19-0vl1
+  - new upstream release
+  - update {Build,}Requires
+  
+  - Tue Nov 11 2003 IWAI, Masaharu <iwai@alib.jp> 2.11-0vl1
+  - initial build
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Nov 10 2011 Iain Arnell <iarnell@gmail.com> 2.44-9
+- Rebuild for libpng 1.5
+
+* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 2.44-8
+- patch to avoid issue with ExtUtils::MakeMaker and CCFLAGS
+  see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
+- clean up spec for modern rpmbuild
+- use perl_default_filter
+
+* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.44-7
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-5
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-4
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.44-3
+- rebuild against perl 5.10.1
+
+* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 2.44-2
+- give up tests on ppc
+
+* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.44-1
+- new upstream version
+- run tests always
+- do not add bdf_scripts/ to docs
+- switch off the test that fails in i686 koji
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-2
+- fix Makefile.PL to install GD/Group.pm (bz 490429)
+
+* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-1
+- update to 2.41
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.39-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.39-1
+- update to 2.39
+
+* Fri Apr  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-7
+- tests work fine locally, one fails in mock, maybe needs a desktop? 
+  conditionalized them, default off.
+
+* Fri Apr  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-6
+- license fix
+
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-5
+- Rebuild for perl 5.10 (again)
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.35-4
+- Autorebuild for GCC 4.3
+
+* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-3
+- rebuild for new perl
+
+* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-2.1
+- add BR: perl(ExtUtils::MakeMaker)
+
+* Sun Oct  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-2
+- Removed a duplicate file (bdf_scripts/bdf2gdfont.PLS).
+
+* Tue Sep  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-1
+- Update to 2.35.
+
+* Sat Jun  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.34-1
+- Update to 2.34.
+
+* Wed Mar  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.32-1
+- Update to 2.32.
+
+* Tue Feb 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.31-1
+- Update to 2.31.
+
+* Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-3
+- Missing BR: fontconfig-devel.
+
+* Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-2
+- Modular X (libX11-devel, libXpm-devel).
+
+* Fri Oct 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
+- Update to 2.30.
+
+* Mon Aug  8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.28-1
+- Update to 2.28.
+
+* Tue Jul 19 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.25-1
+- Update to 2.25.
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.23-2
+- rebuilt
+
+* Wed Mar  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.23-1
+- Update to 2.23.
+
+* Thu Dec 09 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.19-1
+- Update to 2.19.
+- GIF support has been restored in gd 2.0.28.
+- Module autoconfigures itself with the gdlib-config program.
 
-* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.35-1vl5
-- applied new versioning policy, spec in utf-8
-- built with perl-5.10.0
+* Mon Jun 28 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.3
+- Avoid RPATH problem in FC1 (bug 1756).
+- Replaced hardcoded value by rpmmacro (%%{__perl}) (bug 1756).
 
-* Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.35-0vl1
-- new upstream release
-- changed Group to Development/Libraries
+* Mon Jun 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.2
+- Bring up to date with current fedora.us perl spec template.
 
-* Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28-0vl1
-- new upstream release
-- added Japanese summary
+* Sat Feb  7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.12-0.fdr.1
+- Update to 2.12.
+- Reduce directory ownership bloat.
 
-* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 2.19-0vl1
-- new upstream release
-- update {Build,}Requires
+* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.11-0.fdr.1
+- Update to 2.11.
 
-* Tue Nov 11 2003 IWAI, Masaharu <iwai@alib.jp> 2.11-0vl1
-- initial build
+* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.41-0.fdr.1
+- First build.

+ 103 - 34
p/perl-GDGraph/perl-GDGraph-vl.spec

@@ -1,75 +1,144 @@
-%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
-
 Name:           perl-GDGraph
-Version:        1.43
-Release:        6%{?_dist_release}
-
+Version:        1.44
+Release:        1%{?_dist_release}
 Summary:        Graph generation package for Perl
 Summary(ja):    Perl によるグラフ生成パッケージ
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/GDGraph/
-Source0:        http://www.cpan.org/authors/id/M/MV/MVERB/GDGraph-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/B/BW/BWARFIELD/GDGraph-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
-BuildRequires:  perl >= 5.6.1, perl-GD, perl-GDTextUtil
-Requires:  perl >= 5.6.1, perl-GD, perl-GDTextUtil
+BuildRequires:  perl(GD), perl(GD::Text)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl-GD, perl-GDTextUtil
 
 %description
 %{summary}.
 
+
 %prep
 %setup -q -n GDGraph-%{version}
+%{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' samples/sample1A.pl
+%{__perl} -pi -e 's/\r\n/\n/' samples/sample64.pl
+
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
+
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
 
-%check || :
+%check
 make test
 
+
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+
 
 %files
 %defattr(-,root,root,-)
 %doc CHANGES README samples/
-%{perl_vendorlib}/GD/*
-%{_mandir}/man3/*.3*
+%{perl_vendorlib}/GD/
+%{_mandir}/man3/*.3pm*
+
 
 %changelog
-* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43-6
-- rebuild with perl-5.12.3
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.44-1
+- updated to 1.44
+- spec revamped
+- previous Vine changelogs as follows:
+
+  - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43-6
+  - rebuild with perl-5.12.3
+  
+  - Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5
+  - applied new versioning policy, spec in UTF-8
+  - rebuilt with perl-5.10.0
+  
+  - Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2
+  - changed Group to Development/Libraries
+  
+  - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1
+  - rebuild for Vine Linux
+  - added Japanese summary
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.44-11
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.44-9
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.44-8
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.44-7
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.44-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-4
+- Rebuild for perl 5.10 (again)
+
+* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-3
+- rebuild for new perl
+
+* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-2.2
+- add BR: perl(Test::More)
+
+* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.44-2.1
+- correct license tag
+- add BR: perl(ExtUtils::MakeMaker)
+
+* Sat Jun  9 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.44-2
+- Bumping release (due to dist tag mismatches).
+
+* Sat May  5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.44-1
+- Update to 1.44.
+
+* Thu May 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4308-1
+- Update to 1.4308.
 
-* Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5
-- applied new versioning policy, spec in UTF-8
-- rebuilt with perl-5.10.0
+* Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4307-1
+- Update to 1.4307.
 
-* Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2
-- changed Group to Development/Libraries
+* Mon Feb  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4306-1
+- Update to 1.4306.
 
-* Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1
-- rebuild for Vine Linux
-- added Japanese summary
+* Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4305-1
+- Update to 1.4305.
 
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.43-4
 - rebuilt
 
-* Sun Jul 11 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.3
+* Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.43-0.fdr.3
 - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
 
-* Wed Jun 30 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.2
+* Wed Jun 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.43-0.fdr.2
 - Bring up to date with current fedora.us perl spec template.
 - Added the samples directory to the documentation files.
 
-* Sun Oct 12 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.43-0.fdr.1
+* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.43-0.fdr.1
 - First build.

+ 123 - 0
p/perl-GDGraph3d/perl-GDGraph3d-vl.spec

@@ -0,0 +1,123 @@
+Name:           perl-GDGraph3d
+Version:        0.63
+Release:        1%{?_dist_release}
+Summary:        3D graph generation package for Perl
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/GD-Graph3d/
+Source0:        http://www.cpan.org/authors/id/W/WA/WADG/GD-Graph3d-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(GD), perl(GD::Text), perl(GD::Graph)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Provides:       perl-GD-Graph3d = %{version}-%{release}
+
+%description
+This is the GD::Graph3d extensions module. It provides 3D graphs for
+the GD::Graph module by Martien Verbruggen, which in turn generates
+graph using Lincoln Stein's GD.pm.
+
+
+%prep
+%setup -q -n GD-Graph3d-%{version}
+%{__perl} -pi -e 's/\r//g' Changes
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes
+%{perl_vendorlib}/GD/
+%{_mandir}/man3/*.3pm*
+
+
+%changelog
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.63-1
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-17
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.63-16
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.63-14
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.63-13
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.63-12
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-9
+- Rebuild for perl 5.10 (again)
+
+* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-8
+- rebuild for new perl
+
+* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-7.1
+- correct license tag
+- add BR: perl(ExtUtils::MakeMaker)
+
+* Thu Jun  7 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-7
+- Correction of CPAN URL (#242941).
+
+* Sat Sep  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-6
+- Rebuild for FC6.
+
+* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-5
+- Rebuild for FC5 (perl 5.8.8).
+
+* Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-4
+- Dist tag.
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.63-3
+- rebuilt
+
+* Sat Jan 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.63-2
+- Added versioning to the Provides statement (bug 2371).
+
+* Sun Jan  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.63-0.fdr.1
+- Update to 0.63.
+
+* Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.56-0.fdr.3
+- Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
+
+* Wed Jun 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.56-0.fdr.2
+- Bring up to date with current fedora.us perl spec template.
+
+* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.56-0.fdr.1
+- First build.

+ 92 - 45
p/perl-GDTextUtil/perl-GDTextUtil-vl.spec

@@ -1,23 +1,20 @@
-%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
-
-%define fontdir %{_datadir}/fonts/perl
-
 Name:           perl-GDTextUtil
 Version:        0.86
-Release:        7%{?_dist_release}
-
+Release:        1%{?_dist_release}
 Summary:        Text utilities for use with GD
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/GDTextUtil/
 Source0:        http://www.cpan.org/authors/id/M/MV/MVERB/GDTextUtil-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
-BuildRequires:  perl >= 5.6.1, perl-GD
-Requires:       perl >= 5.6.1, perl-GD
-Requires(post): fontconfig
+BuildRequires:  perl(GD)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This package provides three modules that make it possible to work with
@@ -26,62 +23,112 @@ about different interface functions to call. Apart from an abstract
 interface to all font types and strings for GD, this library also
 provides some utility in aligning and wrapping your string.
 
+
 %prep
 %setup -q -n GDTextUtil-%{version}
 
+
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
+
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
-# Install the TrueType font
-install -d $RPM_BUILD_ROOT%{fontdir}
-install -p -m 644 Dustismo_Sans.ttf $RPM_BUILD_ROOT%{fontdir}/
-touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1
-
-%check || :
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+
+%check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
-%post
-fc-cache -f %{fontdir} || :
+%clean
+rm -rf %{buildroot}
 
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README Dustismo.LICENSE demo/
-%{perl_vendorlib}/GD/*
-%{_mandir}/man3/*.3*
-%dir %{fontdir}
-%{fontdir}/*.ttf
-%ghost %{fontdir}/fonts.cache-1
+%doc Changes README demo/
+%{perl_vendorlib}/GD/
+%{_mandir}/man3/*.3pm*
+
 
 %changelog
-* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-7
-- rebuild with perl-5.12.3
+* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.86-1
+- updated to 0.86; font removed (only used for buildtime tests)
+- spec revamped
+- previous Vine changelogs as follows:
+
+  - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-7
+  - rebuild with perl-5.12.3
+  
+  - Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-6
+  - applied new versioning policy
+  - rebuilt with perl-5.10.0
+  
+  - Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl2
+  - changed Group to Development/Libraries
+  
+  - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl1
+  - rebuild for Vine
+
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-19
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-18
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-17
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-16
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.86-15
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Jan 14 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-12
+- no need to package this font, only used for buildtime tests
+
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-11
+- Rebuild for perl 5.10 (again)
+
+* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-10
+- rebuild for new perl
+
+* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.86-9
+- Add BR: perl(Test::More) (BZ 419631).
+
+* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.86-8.1
+- correct license tag
+- add BR: perl(ExtUtils::MakeMaker)
 
-* Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-6
-- applied new versioning policy
-- rebuilt with perl-5.10.0
+* Fri Sep  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-8
+- Rebuild for FC6.
 
-* Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl2
-- changed Group to Development/Libraries
+* Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-7
+- Rebuild for FC5 (perl 5.8.8).
 
-* Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.86-5vl1
-- rebuild for Vine
+* Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.86-6
+- Dist tag.
 
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.86-5
 - rebuilt
 
-* Sun Jul 11 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:0.86-0.fdr.4
+* Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.86-0.fdr.4
 - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1).
 
 * Tue Jul  6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.86-0.fdr.3