[5868] | 1 | %define rgbtxt %{_datadir}/X11/rgb.txt |
---|
| 2 | |
---|
| 3 | Name: perl-Image-Info |
---|
| 4 | Version: 1.28 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | Summary: Image meta information extraction module for Perl |
---|
| 7 | |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | License: GPL+ or Artistic |
---|
| 10 | URL: http://search.cpan.org/dist/Image-Info/ |
---|
| 11 | Source0: http://www.cpan.org/authors/id/T/TE/TELS/image/Image-Info-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 13 | |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: perl(Image::Xbm), perl(Image::Xpm), perl(XML::Simple) |
---|
| 16 | BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) |
---|
| 17 | Requires: rgb |
---|
| 18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This Perl extension allows you to extract meta information from |
---|
| 22 | various types of image files. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n Image-Info-%{version} |
---|
| 27 | chmod -c 644 exifdump imgdump |
---|
| 28 | %{__perl} -pi -e 's|/usr/X11R6/lib/X11/rgb\.txt|%{rgbtxt}|' \ |
---|
| 29 | lib/Image/Info/XPM.pm |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 34 | make %{?_smp_mflags} |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf %{buildroot} |
---|
| 39 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 40 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 41 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 42 | chmod -R u+w %{buildroot}/* |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %check |
---|
| 46 | make test |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc CHANGES README exifdump imgdump |
---|
| 56 | %{perl_vendorlib}/Image/ |
---|
| 57 | %{_mandir}/man3/*.3pm* |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %changelog |
---|
| 61 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-1 |
---|
| 62 | - initial build for Vine Linux |
---|
| 63 | |
---|
| 64 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-12 |
---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 66 | |
---|
| 67 | * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.28-11 |
---|
| 68 | - Perl mass rebuild |
---|
| 69 | |
---|
| 70 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.28-10 |
---|
| 71 | - Perl mass rebuild |
---|
| 72 | |
---|
| 73 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-9 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.28-8 |
---|
| 77 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 78 | |
---|
| 79 | * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.28-7 |
---|
| 80 | - Mass rebuild with perl-5.12.0 |
---|
| 81 | |
---|
| 82 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.28-6 |
---|
| 83 | - rebuild against perl 5.10.1 |
---|
| 84 | |
---|
| 85 | * Mon Nov 09 2009 Adam Jackson <ajax@redhat.com> 1.28-5 |
---|
| 86 | - Requires: rgb, not Requires: /usr/share/X11/rgb.txt |
---|
| 87 | |
---|
| 88 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-4 |
---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 90 | |
---|
| 91 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-3 |
---|
| 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 93 | |
---|
| 94 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2 |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Wed Sep 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.28-1 |
---|
| 98 | - update to 1.28 |
---|
| 99 | |
---|
| 100 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.27-3 |
---|
| 101 | - Rebuild for perl 5.10 (again) |
---|
| 102 | |
---|
| 103 | * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.27-2 |
---|
| 104 | - rebuild for new perl |
---|
| 105 | |
---|
| 106 | * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.27-1 |
---|
| 107 | - bump to 1.27 |
---|
| 108 | |
---|
| 109 | * Wed May 30 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.25-1 |
---|
| 110 | - Update to 1.25. |
---|
| 111 | |
---|
| 112 | * Mon Feb 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.24-1 |
---|
| 113 | - Update to 1.24. |
---|
| 114 | |
---|
| 115 | * Sat Sep 30 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.23-1 |
---|
| 116 | - Update to 1.23. |
---|
| 117 | |
---|
| 118 | * Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-1 |
---|
| 119 | - Update to 1.22. |
---|
| 120 | |
---|
| 121 | * Mon May 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-2 |
---|
| 122 | - Bumping release due to CVS problem. |
---|
| 123 | |
---|
| 124 | * Mon May 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-1 |
---|
| 125 | - Update to 1.21. |
---|
| 126 | |
---|
| 127 | * Mon Mar 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.20-1 |
---|
| 128 | - Update to 1.20. |
---|
| 129 | |
---|
| 130 | * Wed Mar 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.19-1 |
---|
| 131 | - Update to 1.19 (broken: cpan tickets: #18020 and #18147). |
---|
| 132 | - Module::Install 0.58 is broken (Image-Info-1.19-inc-Module-Install.pm.patch). |
---|
| 133 | - BR: perl(Image::Xbm), perl(Image::Xpm), perl(XML::Simple). |
---|
| 134 | |
---|
| 135 | * Fri Mar 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.18-1 |
---|
| 136 | - Update to 1.18 (broken: cpan ticket #6558). |
---|
| 137 | - Dropped patches Image-Info-1.16-X[BP]M.pm.patch (accepted upstream). |
---|
| 138 | - Dropped patch Image-Info-1.16-string.t.patch (test has been rewritten). |
---|
| 139 | |
---|
| 140 | * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.17-2 |
---|
| 141 | - BR: perl(Test::Pod), perl(Test::Pod::Coverage). |
---|
| 142 | |
---|
| 143 | * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.17-1 |
---|
| 144 | - Update to 1.17. |
---|
| 145 | - New upstream maintainer. |
---|
| 146 | |
---|
| 147 | * Wed Nov 23 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.16-6 |
---|
| 148 | - Add dependency on rgb.txt, adjust its location for FC5. |
---|
| 149 | - Specfile cleanups. |
---|
| 150 | |
---|
| 151 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.16-4 |
---|
| 152 | - rebuilt |
---|
| 153 | |
---|
| 154 | * Thu Jul 1 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.3 |
---|
| 155 | - Reverted Image::Xbm and Image::Xpm patches. |
---|
| 156 | - Patched Image::Info::XBM.pm and Image::Info::XPM.pm instead. |
---|
| 157 | |
---|
| 158 | * Tue Jun 8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.2 |
---|
| 159 | - Patched Image::Xbm and Image::Xpm to avoid test failures in this module. |
---|
| 160 | |
---|
| 161 | * Thu Jun 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.1 |
---|
| 162 | - Update to version 1.16. |
---|
| 163 | - Bring up to date with current fedora.us perl spec template. |
---|
| 164 | |
---|
| 165 | * Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.15-0.fdr.1 |
---|
| 166 | - First build. |
---|