|
|
|
@ -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
|
|
|
|
|