forked from pool/perl-Image-Size
This commit is contained in:
committed by
Git OBS Bridge
parent
57b08e500c
commit
7c307b4bc9
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Image-Size (Version 3.1.1)
|
||||
# spec file for package perl-Image-Size (Version 3.2)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -19,16 +19,19 @@
|
||||
|
||||
|
||||
Name: perl-Image-Size
|
||||
License: Artistic License
|
||||
BuildRequires: perl-Compress-Zlib perl-Module-Build
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Summary: A Perl Module to deal with Dimensions of an Image in Several Popular Formats
|
||||
Version: 3.1.1
|
||||
Release: 42
|
||||
Version: 3.2
|
||||
Release: 1
|
||||
License: LGPL 2.1 or Artistic License
|
||||
Url: http://search.cpan.org/perldoc?Image::Size
|
||||
Group: Development/Libraries/Perl
|
||||
AutoReqProv: on
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl-Compress-Zlib
|
||||
Recommends: perl-Compress-Zlib
|
||||
Requires: perl = %{perl_version}
|
||||
Source: Image-Size-%{version}.tar.bz2
|
||||
Url: http://www.cpan.org/authors/id/R/RJ/RJRAY
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -52,78 +55,33 @@ Authors:
|
||||
%setup -n Image-Size-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL destdir=$RPM_BUILD_ROOT installdirs=vendor
|
||||
./Build
|
||||
./Build test
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%check
|
||||
export TEST_SIGNATURE=1
|
||||
make test
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
./Build install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
install -Dm755 imgsize %{buildroot}/%{_bindir}/imgsize
|
||||
mv ex examples
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
/usr/bin/imgsize
|
||||
%doc %{_mandir}/man?/*
|
||||
%doc README ChangeLog examples
|
||||
%{_bindir}/imgsize
|
||||
%dir %{perl_vendorlib}/Image
|
||||
%dir %{perl_vendorlib}/auto/Image
|
||||
%dir %{perl_vendorarch}/auto/Image
|
||||
%{perl_vendorlib}/Image/Size.pm
|
||||
%{perl_vendorlib}/auto/Image/Size
|
||||
%{perl_vendorarch}/auto/Image/Size
|
||||
%doc %{_mandir}/man?/*
|
||||
%doc README README.Win32 ex/*
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Mar 03 2008 kssingvo@suse.de
|
||||
- upgrade to version 3.1.1
|
||||
* Updated the license information to make sure all references are
|
||||
to both the Artistic 2.0 and the LGPL.
|
||||
* Changed "use 5.6.0" lines to no longer use v-strings, for
|
||||
forward compatibility with Perl 5.10.0.
|
||||
* Added "recommends" specification to Build.PL to refer to
|
||||
modules used in the testing phase (there is no
|
||||
"build_recommends" setting).
|
||||
* Added Compress::Zlib to the list of required modules in
|
||||
Makefile.PL and Build.PL.
|
||||
* Added "use warnings" to Size.pm to make sure it stays
|
||||
warnings-clean.
|
||||
* Small change from n@shaplov.ru for a bug in CWS handling that
|
||||
only surfaced when two CWS files were sized consecutively.
|
||||
* Updated the date on the copyright notice and added a
|
||||
"COPYRIGHT" section to the documentation.
|
||||
* Changed the licensing terms. This is now dual-licensed under
|
||||
Artistic 2.0 and LGPL 2.1.
|
||||
* Restored the old Makefile.PL for users who don't have
|
||||
Module::Build.
|
||||
* Thu Sep 14 2006 kssingvo@suse.de
|
||||
- upgrade to version 3.01. New features:
|
||||
- Added ex/ directory with a few samples.
|
||||
- Dropped ExtUtils::MakeMaker and switched to Module::Build.
|
||||
Makefile.PL is now a wrapper of sorts around Build.PL. This allows
|
||||
adding licensing information to META.yml for CPAN indexing.
|
||||
- adapted the specfile
|
||||
* Thu Jun 22 2006 kssingvo@suse.de
|
||||
- upgrade to version 3.0. New features:
|
||||
- delay of Image::Magick loading until it is needed
|
||||
- additional installation tests
|
||||
- FlashMX (Shockwave Flash Ver. 6) support
|
||||
- image size of gif is now controlled by additional flag
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Sep 28 2005 dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Fri Aug 22 2003 mjancar@suse.cz
|
||||
- require the perl version we build with
|
||||
* Mon Jul 28 2003 ro@suse.de
|
||||
- install to vendor location
|
||||
* Tue Jul 22 2003 kssingvo@suse.de
|
||||
- updated to version 2.992
|
||||
* Mon Jun 16 2003 kssingvo@suse.de
|
||||
- added missing directories
|
||||
* Sun May 25 2003 ro@suse.de
|
||||
- remove unpackaged files from buildroot
|
||||
* Mon Feb 03 2003 kssingvo@suse.de
|
||||
- initial package version 2.991
|
||||
|
||||
Reference in New Issue
Block a user