[perl-Image-Info] 1.33 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 17b62e29c189ff9d4cb83e2978df1de468491b38
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 14 16:53:58 2012 +0100

    1.33 bump

 .gitignore           |    1 +
 perl-Image-Info.spec |   65 ++++++++++++++++++++++++++-----------------------
 sources              |    2 +-
 3 files changed, 36 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d5c715d..d646c5e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Image-Info-1.28.tar.gz
+/Image-Info-1.33.tar.gz
diff --git a/perl-Image-Info.spec b/perl-Image-Info.spec
index b035e36..754f74a 100644
--- a/perl-Image-Info.spec
+++ b/perl-Image-Info.spec
@@ -1,63 +1,66 @@
-%define rgbtxt  %{_datadir}/X11/rgb.txt
-
 Name:           perl-Image-Info
-Version:        1.28
-Release:        14%{?dist}
+Version:        1.33
+Release:        1%{?dist}
 Summary:        Image meta information extraction module for Perl
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Image-Info/
-Source0:        http://www.cpan.org/authors/id/T/TE/TELS/image/Image-Info-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Image-Info-1.33.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(Image::Xbm), perl(Image::Xpm), perl(XML::Simple)
-BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Compress::Zlib)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Image::TIFF)
+BuildRequires:  perl(Image::Xbm)
+BuildRequires:  perl(Image::Xpm)
+BuildRequires:  perl(IO::String)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(XML::LibXML::Reader)
+BuildRequires:  perl(XML::Simple)
 Requires:       rgb
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Compress::Zlib)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This Perl extension allows you to extract meta information from
 various types of image files.
 
-
 %prep
 %setup -q -n Image-Info-%{version}
 chmod -c 644 exifdump imgdump
-%{__perl} -pi -e 's|/usr/X11R6/lib/X11/rgb\.txt|%{rgbtxt}|' \
-    lib/Image/Info/XPM.pm
-
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
-%doc CHANGES README exifdump imgdump
+%doc CHANGES CREDITS README TODO exifdump imgdump
+%{perl_vendorlib}/Bundle/
 %{perl_vendorlib}/Image/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
+* Wed Nov 14 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.33-1
+- 1.33 bump
+- Get rid of the old cruft
+- Fix dependencies
+- Update the source URL
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.28-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index a946495..72e0766 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-09453662ceb4bd57e1f2fcdd957c7a66  Image-Info-1.28.tar.gz
+63f36362cb80d783c7f8df751ace89a0  Image-Info-1.33.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux