diff --git a/.cvsignore b/.cvsignore index 196a721..68ea75f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Image-Size-3.1.tar.gz +Image-Size-3.2.tar.gz diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..6217c3f --- /dev/null +++ b/Build.PL @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use Module::Build; + +my $build = Module::Build->new( + module_name => 'Image::Size', + autosplit => 'lib/Image/Size.pm', + license => 'artistic', + requires => { perl => '5.6.0', + File::Spec => 0 }, + build_requires => { Test::More => 0 }, + dist_author => 'Randy J. Ray ', + dist_abstract => 'A library to extract height/width from images', + dist_version_from => 'lib/Image/Size.pm', + script_files => [ 'imgsize' ], + sign => 'yes, please', +); + +$build->add_to_cleanup(qw(META.yml Image-Size-*)); +$build->create_build_script; diff --git a/perl-Image-Size.spec b/perl-Image-Size.spec index 0527da3..0a074c2 100644 --- a/perl-Image-Size.spec +++ b/perl-Image-Size.spec @@ -1,12 +1,13 @@ Name: perl-Image-Size -Version: 3.1 -Release: 5%{?dist} +Version: 3.2 +Release: 1%{?dist} Summary: Determine the size of images in several common formats in Perl Group: Development/Libraries License: LGPLv2 or Artistic 2.0 URL: http://search.cpan.org/dist/Image-Size/ Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/Image-Size-%{version}.tar.gz +Source1: Build.PL BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -32,7 +33,8 @@ the formats supported by it. %prep %setup -q -n Image-Size-%{version} - +# Upstream forgot Build.PL +cp %{SOURCE1} . pushd lib/Image/ iconv -f iso-8859-1 -t utf-8 -o Size.pm{.utf8,} mv Size.pm{.utf8,} @@ -70,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 13 2009 Tom "spot" Callaway - 3.2-1 +- update to 3.2 + * Thu Feb 26 2009 Fedora Release Engineering - 3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index ad55284..5fedf63 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6492bd18bce625010538fc0f2a105c3b Image-Size-3.1.tar.gz +1376fb77e6b9916ae6b61a08f9ee3c07 Image-Size-3.2.tar.gz