8
0
OBS User unknown
2009-07-24 14:52:47 +00:00
committed by Git OBS Bridge
parent 57b08e500c
commit 7c307b4bc9
4 changed files with 42 additions and 70 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:401b29b4a77d74b6fdc974512cda903216c88a2b0e8a5d196e90d0b01b952bc2
size 139312

3
Image-Size-3.2.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ea16fd5045ebbd183e7acd5f919fc0719655dce2193804f4bf8c8fffb03a052
size 151131

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Jul 6 14:22:15 CEST 2009 - lrupp@suse.de
- update to 3.2
* Compress::Zlib is optional now
* Per RT ticket #43452, make the cache visible outside the
lexical scope of the module This allows the hash to be used
with packages like IPC::Shareable or IPC::MM to enable sharing
the cache between processes. Added extra documentation of this,
and a new section describing approaches to cache-sharing.
* new build/dist process
- add perl(Test::Pod::Coverage) and perl(Test::Pod) to BuildReq
- fix license
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 3 12:11:21 CET 2008 - kssingvo@suse.de Mon Mar 3 12:11:21 CET 2008 - kssingvo@suse.de

View File

@@ -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. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -19,16 +19,19 @@
Name: perl-Image-Size 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 Summary: A Perl Module to deal with Dimensions of an Image in Several Popular Formats
Version: 3.1.1 Version: 3.2
Release: 42 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 Source: Image-Size-%{version}.tar.bz2
Url: http://www.cpan.org/authors/id/R/RJ/RJRAY
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@@ -52,78 +55,33 @@ Authors:
%setup -n Image-Size-%{version} %setup -n Image-Size-%{version}
%build %build
perl Build.PL destdir=$RPM_BUILD_ROOT installdirs=vendor perl Makefile.PL
./Build make %{?jobs:-j%jobs}
./Build test
%check
export TEST_SIGNATURE=1
make test
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %perl_make_install
./Build install
%perl_process_packlist %perl_process_packlist
install -Dm755 imgsize %{buildroot}/%{_bindir}/imgsize
mv ex examples
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
/usr/bin/imgsize %doc %{_mandir}/man?/*
%doc README ChangeLog examples
%{_bindir}/imgsize
%dir %{perl_vendorlib}/Image %dir %{perl_vendorlib}/Image
%dir %{perl_vendorlib}/auto/Image %dir %{perl_vendorlib}/auto/Image
%dir %{perl_vendorarch}/auto/Image %dir %{perl_vendorarch}/auto/Image
%{perl_vendorlib}/Image/Size.pm %{perl_vendorlib}/Image/Size.pm
%{perl_vendorlib}/auto/Image/Size %{perl_vendorlib}/auto/Image/Size
%{perl_vendorarch}/auto/Image/Size %{perl_vendorarch}/auto/Image/Size
%doc %{_mandir}/man?/* /var/adm/perl-modules/%{name}
%doc README README.Win32 ex/*
%changelog %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