source: projects/specs/trunk/p/perl-GD/perl-GD-vl.spec @ 5867

Revision 5867, 7.9 KB checked in by shaolin, 12 years ago (diff)
  • perl-GDGraph3d: new package
  • perl-GDGraph: update
  • perl-GDTextUtil: update
RevLine 
[5867]1Name:           perl-GD
2Version:        2.44
3Release:        1%{?_dist_release}
4Summary:        Perl interface to the GD graphics library
5Summary(ja):    GD ライブラリの Perl 用インターフェイス
[521]6
[5867]7Group:          Development/Libraries
8License:        GPL+ or Artistic
9URL:            http://search.cpan.org/dist/GD/
10Source0:        http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
11Patch0:         perl-GD-2.41-Group.patch
12Patch1:         perl-GD-skip-3.patch
13# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
14# and https://rt.cpan.org/Public/Bug/Display.html?id=67990
15Patch2:         perl-GD-ccflags.patch
[521]16
[5867]17BuildRequires:  gd-devel >= 2.0.28
18BuildRequires:  perl(ExtUtils::MakeMaker)
19BuildRequires:  freetype2-devel, libpng-devel, zlib-devel
20BuildRequires:  libX11-devel
21BuildRequires:  libXpm-devel
22Requires:       gd >= 2.0.28, libjpeg, freetype2
23Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
24
25%{?perl_default_filter}
26
[521]27%description
[5867]28This is a autoloadable interface module for GD, a popular library
[521]29for creating and manipulating PNG files.  With this library you can
[5867]30create PNG images on the fly or modify existing files. Features
[521]31include:
32
33a.  lines, polygons, rectangles and arcs, both filled and unfilled
34b.  flood fills
35c.  the use of arbitrary images as brushes and as tiled fill patterns
36d.  line styling (dashed lines and the like)
37e.  horizontal and vertical text rendering
38f.  support for transparency and interlacing
39
40For full information on usage, see the accompanying man and html
41documentation.
42
43
44%prep
45%setup -q -n GD-%{version}
[5867]46%patch0 -p1
47%ifarch %{ix86}
48%patch1 -p1
49%endif
50%patch2 -p1
51%{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
52  qd.pl demos/{*.{pl,cgi},truetype_test}
53chmod -c 644 bdf_scripts/* demos/*
54chmod -c 755 qd.pl
[521]55
[5867]56
[521]57%build
58rm -rf %{buildroot}
[5867]59%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
60make %{?_smp_mflags} OPTIMIZE="%{optflags}"
[521]61
[5867]62
[521]63%install
[5867]64make pure_install PERL_INSTALL_ROOT=%{buildroot}
65find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
66find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
67find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
68chmod -R u+w %{buildroot}/*
[521]69
70
[5867]71%check
72%ifarch ppc
73# testsuite fails on ppc
74%else
75make test
76%endif
77%ifarch %{ix86}
78perl t/GD.t --write
79: This is the file that should contain some blue color:
80base64 t/test.out.3.png_new
81%endif
[521]82
83
[5867]84%files
85%defattr(-,root,root,-)
86%doc ChangeLog README* demos/ bdf_scripts
87%{_bindir}/*
88%{perl_vendorarch}/auto/GD
89%{perl_vendorarch}/GD*
90%{perl_vendorarch}/qd.pl
91%{_mandir}/man1/*.1*
92%{_mandir}/man3/*.3pm*
[521]93
[5867]94
[521]95%changelog
[5867]96* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.44-1
97- updated to 2.44
98- spec revamped based on Fedora's 2.44-10
99- previous Vine changelogs as follows:
[3736]100
[5867]101  - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.35-2
102  - rebuild with perl-5.12.3
103  - add BuildRequires: libX11-devel, libXpm-devel
104 
105  - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.35-1vl5
106  - applied new versioning policy, spec in utf-8
107  - built with perl-5.10.0
108 
109  - Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.35-0vl1
110  - new upstream release
111  - changed Group to Development/Libraries
112 
113  - Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28-0vl1
114  - new upstream release
115  - added Japanese summary
116 
117  - Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 2.19-0vl1
118  - new upstream release
119  - update {Build,}Requires
120 
121  - Tue Nov 11 2003 IWAI, Masaharu <iwai@alib.jp> 2.11-0vl1
122  - initial build
[521]123
[5867]124* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-10
125- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
[521]126
[5867]127* Thu Nov 10 2011 Iain Arnell <iarnell@gmail.com> 2.44-9
128- Rebuild for libpng 1.5
[521]129
[5867]130* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 2.44-8
131- patch to avoid issue with ExtUtils::MakeMaker and CCFLAGS
132  see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522
133- clean up spec for modern rpmbuild
134- use perl_default_filter
[521]135
[5867]136* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.44-7
137- Perl mass rebuild
138
139* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-6
140- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
141
142* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-5
143- 661697 rebuild for fixing problems with vendorach/lib
144
145* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-4
146- Mass rebuild with perl-5.12.0
147
148* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.44-3
149- rebuild against perl 5.10.1
150
151* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 2.44-2
152- give up tests on ppc
153
154* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.44-1
155- new upstream version
156- run tests always
157- do not add bdf_scripts/ to docs
158- switch off the test that fails in i686 koji
159
160* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-3
161- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
162
163* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-2
164- fix Makefile.PL to install GD/Group.pm (bz 490429)
165
166* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-1
167- update to 2.41
168
169* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.39-2
170- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
171
172* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.39-1
173- update to 2.39
174
175* Fri Apr  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-7
176- tests work fine locally, one fails in mock, maybe needs a desktop?
177  conditionalized them, default off.
178
179* Fri Apr  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-6
180- license fix
181
182* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-5
183- Rebuild for perl 5.10 (again)
184
185* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.35-4
186- Autorebuild for GCC 4.3
187
188* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-3
189- rebuild for new perl
190
191* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-2.1
192- add BR: perl(ExtUtils::MakeMaker)
193
194* Sun Oct  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-2
195- Removed a duplicate file (bdf_scripts/bdf2gdfont.PLS).
196
197* Tue Sep  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-1
198- Update to 2.35.
199
200* Sat Jun  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.34-1
201- Update to 2.34.
202
203* Wed Mar  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.32-1
204- Update to 2.32.
205
206* Tue Feb 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.31-1
207- Update to 2.31.
208
209* Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-3
210- Missing BR: fontconfig-devel.
211
212* Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-2
213- Modular X (libX11-devel, libXpm-devel).
214
215* Fri Oct 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
216- Update to 2.30.
217
218* Mon Aug  8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.28-1
219- Update to 2.28.
220
221* Tue Jul 19 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.25-1
222- Update to 2.25.
223
224* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.23-2
225- rebuilt
226
227* Wed Mar  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.23-1
228- Update to 2.23.
229
230* Thu Dec 09 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.19-1
231- Update to 2.19.
232- GIF support has been restored in gd 2.0.28.
233- Module autoconfigures itself with the gdlib-config program.
234
235* Mon Jun 28 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.3
236- Avoid RPATH problem in FC1 (bug 1756).
237- Replaced hardcoded value by rpmmacro (%%{__perl}) (bug 1756).
238
239* Mon Jun 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.2
240- Bring up to date with current fedora.us perl spec template.
241
242* Sat Feb  7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.12-0.fdr.1
243- Update to 2.12.
244- Reduce directory ownership bloat.
245
246* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.11-0.fdr.1
247- Update to 2.11.
248
249* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.41-0.fdr.1
250- First build.
Note: See TracBrowser for help on using the repository browser.