|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
Name: perl-MouseX-Types
|
|
|
|
|
Summary: Organize your Mouse types in libraries
|
|
|
|
|
Version: 0.05
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/MouseX-Types-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/MouseX-Types
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Any::Moose) >= 0.15
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(Mouse) >= 0.41
|
|
|
|
|
BuildRequires: perl(Mouse) >= 0.77
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
|
@ -32,13 +33,13 @@ This library was split off from Mouse as of Mouse 0.15.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n MouseX-Types-%{version}
|
|
|
|
|
|
|
|
|
|
find lib -type f -name '*.pm' -print0 | xargs -0 chmod 0644
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
@ -48,16 +49,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 0.06-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.05-6
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|