[5867] | 1 | Name: perl-GD |
---|
| 2 | Summary: Perl interface to the GD graphics library |
---|
| 3 | Summary(ja): GD ライブラリの Perl 用インターフェイス |
---|
[9008] | 4 | Version: 2.53 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | |
---|
[5867] | 7 | Group: Development/Libraries |
---|
| 8 | License: GPL+ or Artistic |
---|
| 9 | URL: http://search.cpan.org/dist/GD/ |
---|
| 10 | Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz |
---|
| 11 | Patch0: perl-GD-2.41-Group.patch |
---|
| 12 | Patch1: 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 |
---|
| 15 | Patch2: perl-GD-ccflags.patch |
---|
[521] | 16 | |
---|
[9008] | 17 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[5867] | 18 | BuildRequires: gd-devel >= 2.0.28 |
---|
| 19 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 20 | BuildRequires: freetype2-devel, libpng-devel, zlib-devel |
---|
| 21 | BuildRequires: libX11-devel |
---|
| 22 | BuildRequires: libXpm-devel |
---|
| 23 | Requires: gd >= 2.0.28, libjpeg, freetype2 |
---|
| 24 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 25 | |
---|
| 26 | %{?perl_default_filter} |
---|
| 27 | |
---|
[521] | 28 | %description |
---|
[5867] | 29 | This is a autoloadable interface module for GD, a popular library |
---|
[521] | 30 | for creating and manipulating PNG files. With this library you can |
---|
[5867] | 31 | create PNG images on the fly or modify existing files. Features |
---|
[521] | 32 | include: |
---|
| 33 | |
---|
| 34 | a. lines, polygons, rectangles and arcs, both filled and unfilled |
---|
| 35 | b. flood fills |
---|
| 36 | c. the use of arbitrary images as brushes and as tiled fill patterns |
---|
| 37 | d. line styling (dashed lines and the like) |
---|
| 38 | e. horizontal and vertical text rendering |
---|
| 39 | f. support for transparency and interlacing |
---|
| 40 | |
---|
| 41 | For full information on usage, see the accompanying man and html |
---|
| 42 | documentation. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q -n GD-%{version} |
---|
[5867] | 47 | %patch0 -p1 |
---|
| 48 | %ifarch %{ix86} |
---|
| 49 | %patch1 -p1 |
---|
| 50 | %endif |
---|
[9008] | 51 | #patch2 -p1 |
---|
[5867] | 52 | %{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \ |
---|
| 53 | qd.pl demos/{*.{pl,cgi},truetype_test} |
---|
| 54 | chmod -c 644 bdf_scripts/* demos/* |
---|
| 55 | chmod -c 755 qd.pl |
---|
[521] | 56 | |
---|
[5867] | 57 | |
---|
[521] | 58 | %build |
---|
| 59 | rm -rf %{buildroot} |
---|
[5867] | 60 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
| 61 | make %{?_smp_mflags} OPTIMIZE="%{optflags}" |
---|
[521] | 62 | |
---|
[5867] | 63 | |
---|
[521] | 64 | %install |
---|
[5867] | 65 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 66 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 67 | find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' |
---|
| 68 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 69 | chmod -R u+w %{buildroot}/* |
---|
[521] | 70 | |
---|
| 71 | |
---|
[5867] | 72 | %check |
---|
| 73 | %ifarch ppc |
---|
| 74 | # testsuite fails on ppc |
---|
| 75 | %else |
---|
| 76 | make test |
---|
| 77 | %endif |
---|
| 78 | %ifarch %{ix86} |
---|
| 79 | perl t/GD.t --write |
---|
| 80 | : This is the file that should contain some blue color: |
---|
| 81 | base64 t/test.out.3.png_new |
---|
| 82 | %endif |
---|
[521] | 83 | |
---|
| 84 | |
---|
[5867] | 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* |
---|
[521] | 94 | |
---|
[5867] | 95 | |
---|
[521] | 96 | %changelog |
---|
[9008] | 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 | |
---|
[5867] | 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: |
---|
[3736] | 105 | |
---|
[5867] | 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 |
---|
[521] | 128 | |
---|
[5867] | 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 |
---|
[521] | 131 | |
---|
[5867] | 132 | * Thu Nov 10 2011 Iain Arnell <iarnell@gmail.com> 2.44-9 |
---|
| 133 | - Rebuild for libpng 1.5 |
---|
[521] | 134 | |
---|
[5867] | 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 |
---|
[521] | 140 | |
---|
[5867] | 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. |
---|