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

Revision 9008, 8.1 KB checked in by inagaki, 10 years ago (diff)

2014-10-15 Ryoichi INAGAKI <ryo1@…>

  • perl-GD, perl-GDGraph, perl-Geo-IP: updated
  • perl-GDGraph3d, perl-GDTextUtil: rebuilt


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