perl-Image-Size/perl-Image-Size-2.992.spec

Name: perl-Image-Size
Summary: Read the dimensions of images
Version: 2.992
Release: 1.2
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Image-Size/
Description: This module contains functions for reading the dimensions of images in several popular formats.

CentOS 7 x86_64

The build could not start because the following file is missing: Image-Size-2.992.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Image-Size-2.992.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$

# Authority: dries
# Upstream: Randy J Ray <rjray$blackperl,com>


%define real_name Image-Size
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib)
%define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib)

Summary: Read the dimensions of images
Name: perl-Image-Size
Version: 2.992
Release: 1.2%{?dist}
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Image-Size/

Source: http://www.cpan.org/modules/by-module/Image/Image-Size-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module contains functions for reading the dimensions of images in several popular formats.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
%{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod
%{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog README
%{_bindir}/imgsize
%{_mandir}/man?/*
%{perl_vendorlib}/Image/Size.pm
%{perl_vendorlib}/auto/Image/Size/*

%changelog
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 2.992-1.2
- Rebuild for Fedora Core 5.

* Wed Jun 16 2004 Dries Verachtert <dries@ulyssis.org> - 2.992
- Initial package.