rpms/perl-Image-Math-Constrain/devel perl-Image-Math-Constrain.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri May 18 22:52:51 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-Image-Math-Constrain/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29943/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Image-Math-Constrain.spec 
Log Message:
Import.



--- NEW FILE perl-Image-Math-Constrain.spec ---
Name:           perl-Image-Math-Constrain
Version:        1.01
Release:        1%{?dist}
Summary:        Scaling math used in image size constraining (such as thumbnails)
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Image-Math-Constrain/
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Image-Math-Constrain-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Pod)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
There are a number of different modules and systems that constrain image
sizes, such as thumbnailing. Every one of these independantly implement the
same logic. That is, given a width and/or height constraint, they check to
see if the image is bigger than the constraint, and if so scale the image
down proportionally so that it fits within the constraints.

%prep
%setup -q -n Image-Math-Constrain-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Apr 02 2007 Steven Pritchard <steve at kspei.com> 1.01-1
- Specfile autogenerated by cpanspec 1.70.
- Drop redundant explicit perl build dependency.
- Fix typo in description.
- BR Test::Pod for better test coverage.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Image-Math-Constrain/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 May 2007 02:22:14 -0000	1.1
+++ .cvsignore	18 May 2007 22:52:11 -0000	1.2
@@ -0,0 +1 @@
+Image-Math-Constrain-1.01.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Image-Math-Constrain/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 May 2007 02:22:14 -0000	1.1
+++ sources	18 May 2007 22:52:12 -0000	1.2
@@ -0,0 +1 @@
+92980c42977b0dfe9dba715d405313b0  Image-Math-Constrain-1.01.tar.gz




More information about the fedora-extras-commits mailing list