You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
3.5 KiB
111 lines
3.5 KiB
Name: perl-MouseX-Types
|
|
Summary: Organize your Mouse types in libraries
|
|
Version: 0.06
|
|
Release: 2%{?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
|
|
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.77
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Sub::Exporter)
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(Mouse) >= 0.41
|
|
|
|
# obsolete/provide old tests subpackage
|
|
# can be removed during F19 development cycle
|
|
Obsoletes: %{name}-tests < 0.06-2
|
|
Provides: %{name}-tests = %{version}-%{release}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Organize your Mouse types; much as MooseX::Types does for your Moose types.
|
|
For more information, please see the MooseX::Types manpage.
|
|
|
|
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
|
|
chmod 0644 t/*.t
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README t/
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.06-2
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
* 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
|
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.05-5
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-3
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-2
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
|
|
- update by Fedora::App::MaintainerTools 0.006
|
|
- PERL_INSTALL_ROOT => DESTDIR
|
|
- updating to latest GA CPAN version (0.05)
|
|
- dropped old BR on perl(Mouse::Util::TypeConstraints)
|
|
|
|
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
|
|
- add default filtering
|
|
- auto-update to 0.04 (by cpan-spec-update 0.01)
|
|
- altered br on perl(Mouse) (0.15 => 0.41)
|
|
- added a new req on perl(Mouse) (version 0.41)
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.01-1
|
|
- update for submission
|
|
|
|
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.01-0
|
|
- initial RPM packaging
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|