Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Image-Size
> perl-Image-Size.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Image-Size.spec of Package perl-Image-Size
# # spec file for package perl-Image-Size (Version 3.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Image-Size Summary: A Perl Module to deal with Dimensions of an Image in Several Popular Formats Version: 3.220 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Image::Size library is based upon the "wwwis" script written by Alex Knowles *(alex@ed.ac.uk)*, a tool to examine HTML and add 'width' and height' parameters to image tags. The sizes are cached internally based on the file name, so multiple calls on the same file name (images used in bulleted lists, for example) do not result in repeated computations. Authors: -------- Randy J. Ray <rjray@blackperl.com> Alex Knowles <alex@ed.ac.uk> Andrew Tong <werdna@ugcs.caltech.edu> and others %prep %setup -n Image-Size-%{version} -q %build perl Makefile.PL make %{?jobs:-j%jobs} %check export TEST_SIGNATURE=1 make test %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) %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 /var/adm/perl-modules/%{name} %changelog