rpms/perl-Imager/devel perl-Imager.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gavin Henry (ghenry) fedora-extras-commits at redhat.com
Tue Sep 20 08:23:28 UTC 2005


Author: ghenry

Update of /cvs/extras/rpms/perl-Imager/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20745/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Imager.spec 
Log Message:
auto-import perl-Imager-0.45-2 on branch devel from perl-Imager-0.45-2.src.rpm


--- NEW FILE perl-Imager.spec ---
Name:           perl-Imager
Version:        0.45
Release:        2%{?dist}
Summary:        Imager - Perl extension for Generating 24 bit Images

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Imager/
Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TONYC/Imager-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::Depends), perl(Parse::RecDescent)
BuildRequires:  libungif-devel, libpng-devel, freetype-devel, libtiff-devel
BuildRequires:  libjpeg-devel, t1lib-devel
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Imager is a module for creating and altering images. It can read and write
various image formats, draw primitive shapes like lines,and polygons, blend
multiple images together in various ways, scale, crop, render text and more.

%prep
%setup -q -n Imager-%{version}
%{__perl} -pi -e 's/my \$resp = <STDIN>/my \$resp = "n"/g' Makefile.PL

# Quiet rpmlint.
find . -type f \( -perm +100 -o -name '*.pl' \) \
    -exec perl -pi -e 's,^(\#\!)perl,$1%{__perl}, if ($.==1);' {} \;
find . -type f -name '*.pm' \
    -exec perl -pi -e '$_=undef if ($.==1 and /^\#\!.*perl/)' {} \;
chmod a-x samples/*

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
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 -type d -depth -exec rmdir {} 2>/dev/null ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
chmod -R u+w $RPM_BUILD_ROOT/*

perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic

%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING Artistic
%doc samples/
%{perl_vendorarch}/Imager*
%{perl_vendorarch}/auto/*
%{_mandir}/man3/*.3*


%changelog
* Wed Sep 14 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 0.45-2
- Applied Steven Pritchard's kind patch to cleanup -
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=166254

* Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 0.45-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Imager/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Sep 2005 08:22:19 -0000	1.1
+++ .cvsignore	20 Sep 2005 08:23:26 -0000	1.2
@@ -0,0 +1 @@
+Imager-0.45.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Imager/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Sep 2005 08:22:19 -0000	1.1
+++ sources	20 Sep 2005 08:23:26 -0000	1.2
@@ -0,0 +1 @@
+85dd3736426396341b54b632d239e5e5  Imager-0.45.tar.gz




More information about the fedora-extras-commits mailing list