Tom Callaway 8 years ago
parent 5ee25e023b
commit a606a79e64

1
.gitignore vendored

@ -1,2 +1,3 @@
Image-Xpm-1.09.tar.gz
/Image-Xpm-1.12.tar.gz
/Image-Xpm-1.13.tar.gz

@ -1,14 +1,11 @@
Name: perl-Image-Xpm
Version: 1.12
Release: 5%{?dist}
Version: 1.13
Release: 1%{?dist}
Summary: Load, create, manipulate and save xpm image files in Perl
Group: Development/Libraries
License: GPL+
URL: http://search.cpan.org/dist/Image-Xpm/
Source0: http://www.cpan.org/authors/id/S/SU/SUMMER/Image-Xpm-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(Image::Base)
@ -20,40 +17,31 @@ This class module provides basic load, manipulate and save functionality for
the xpm file format. It inherits from Image::Base which provides additional
manipulation functionality.
%prep
%setup -q -n Image-Xpm-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/Image/
%{_mandir}/man3/*.3pm*
%changelog
* Mon Jan 23 2017 Tom Callaway <spot@fedoraproject.org> - 1.13-1
- update to 1.13
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-5
- Perl 5.24 rebuild
@ -136,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Dec 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-4
- Dist tag.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.09-3
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.09-3
- rebuilt
* Thu Jun 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.09-0.fdr.2

@ -1 +1 @@
e8dce284cd4c97b151bfbd1f0bbd1cb1 Image-Xpm-1.12.tar.gz
SHA512 (Image-Xpm-1.13.tar.gz) = e79dfd86968c521e9dda036a4a5c0bf6867d025a5bd71e8fbbc37cf6cafc0834a332193f7914afe0d3c3ef5e02a291fe338041f89db57401b0df38f20a7d6ab9

Loading…
Cancel
Save