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