|
|
|
@ -1,14 +1,11 @@
|
|
|
|
|
Name: perl-Image-Xbm
|
|
|
|
|
Version: 1.09
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Load, create, manipulate and save xbm image files in Perl
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://search.cpan.org/dist/Image-Xbm/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SU/SUMMER/Image-Xbm-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Image::Base)
|
|
|
|
@ -20,40 +17,31 @@ This class module provides basic load, manipulate and save functionality for
|
|
|
|
|
the xbm file format. It inherits from Image::Base which provides additional
|
|
|
|
|
manipulation functionality.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Image-Xbm-%{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
|
|
|
|
|
* Wed Feb 24 2016 Tom Callaway <spot@fedoraproject.org> - 1.10-1
|
|
|
|
|
- update to 1.10
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|