Chris Weyl 3c86c3e
Name:           perl-Mouse
Chris Weyl 3c86c3e
Summary:        Moose minus the antlers
cb4f628
Version:        1.02
cd4d474
Release:        1%{?dist}
Chris Weyl 3c86c3e
License:        GPL+ or Artistic
Chris Weyl 3c86c3e
Group:          Development/Libraries
Chris Weyl 3c86c3e
Source0:        http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-%{version}.tar.gz 
Chris Weyl 3c86c3e
URL:            http://search.cpan.org/dist/Mouse
Chris Weyl 3c86c3e
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 3c86c3e
Chris Weyl e675967
BuildRequires:  perl(Class::Method::Modifiers)
05509de
BuildRequires:  perl(Declare::Constraints::Simple)
Chris Weyl e675967
BuildRequires:  perl(Devel::PPPort) >= 3.19
Chris Weyl 3c86c3e
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
Chris Weyl e675967
BuildRequires:  perl(IO::File)
Chris Weyl e675967
BuildRequires:  perl(IO::String)
05509de
BuildRequires:  perl(Locale::US)
Chris Weyl 3c86c3e
BuildRequires:  perl(Moose)
Chris Weyl 3c86c3e
BuildRequires:  perl(MRO::Compat)
Chris Weyl e675967
BuildRequires:  perl(Path::Class)
05509de
BuildRequires:  perl(Regexp::Common)
Chris Weyl 3c86c3e
BuildRequires:  perl(Scalar::Util) >= 1.14
Chris Weyl e675967
BuildRequires:  perl(Test::Deep)
05509de
BuildRequires:  perl(Test::LeakTrace) >= 0.10
Chris Weyl 3c86c3e
BuildRequires:  perl(Test::More) >= 0.88
Chris Weyl e675967
BuildRequires:  perl(Test::Output)
d155c23
BuildRequires:  perl(XSLoader) >= 0.02
Chris Weyl c9d5c5d
Chris Weyl 3c86c3e
Requires:       perl(Scalar::Util) >= 1.14
d155c23
Requires:       perl(XSLoader) >= 0.02
Chris Weyl 3c86c3e
51548d8
# virtual provides for perl-Any-Moose
51548d8
Provides:       perl(Any-Moose) = %{version}
51548d8
c467d8f
# obsolete/provide old tests subpackage
c467d8f
# can be removed during F19 development cycle
c467d8f
Obsoletes:      %{name}-tests < 0.97-3
c467d8f
Provides:       %{name}-tests = %{version}-%{release}
c467d8f
Chris Weyl 1cd9094
%{?perl_default_filter}
c45029d
# filter unversioned Mouse::Util provide from Mouse/PurePerl.pm
c45029d
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Mouse::Util\\)$
Chris Weyl f975c2f
Chris Weyl f975c2f
%description
fbe0167
Moose, a powerful metaobject-fueled extension of the Perl 5 object system,
Chris Weyl f975c2f
is wonderful.  (For more information on Moose, please see 'perldoc Moose'
Chris Weyl f975c2f
after installing the perl-Moose package.)
Chris Weyl f975c2f
Chris Weyl f975c2f
Unfortunately, it's a little slow. Though significant progress has been
Chris Weyl f975c2f
made over the years, the compile time penalty is a non-starter for some
Chris Weyl f975c2f
applications.  Mouse aims to alleviate this by providing a subset of Moose's
Chris Weyl 827fd78
functionality, faster.
Chris Weyl f975c2f
1734c4c
%package -n perl-Test-Mouse
1734c4c
License:    GPL+ or Artistic
1734c4c
Group:      Development/Libraries
1734c4c
Summary:    Test functions for Mouse specific features
1734c4c
Requires:   %{name} = %{version}-%{release}
1734c4c
1734c4c
%description -n perl-Test-Mouse
1734c4c
This module provides some useful test functions for Mouse based classes. It is
1734c4c
an experimental first release, so comments and suggestions are very welcome.
1734c4c
Chris Weyl f975c2f
%prep
Chris Weyl f975c2f
%setup -q -n Mouse-%{version}
Chris Weyl f975c2f
Chris Weyl 1cd9094
find .           -type f -exec chmod -c -x {} +
c467d8f
find t/ xt/ benchmarks/ example/ tool/ -type f -print0 \
c467d8f
| xargs -0 sed -i '1s|^#!.*perl|#!%{__perl}|'
Chris Weyl 824872f
Chris Weyl f975c2f
%build
Chris Weyl f975c2f
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl f975c2f
make %{?_smp_mflags}
Chris Weyl f975c2f
Chris Weyl f975c2f
%install
Chris Weyl 3c86c3e
make pure_install DESTDIR=%{buildroot}
Chris Weyl f975c2f
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
fbe0167
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
Chris Weyl f975c2f
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
Chris Weyl f975c2f
Chris Weyl f975c2f
%{_fixperms} %{buildroot}/*
Chris Weyl f975c2f
Chris Weyl f975c2f
%check
Chris Weyl f975c2f
make test
Chris Weyl f975c2f
Chris Weyl f975c2f
%files
c467d8f
%doc Changes benchmarks/ example/ tool/ t/ xt/
Chris Weyl c9d5c5d
%{perl_vendorarch}/*
Chris Weyl c9d5c5d
%exclude %dir %{perl_vendorarch}/auto
Chris Weyl f975c2f
%{_mandir}/man3/*.3*
1734c4c
%exclude %{perl_vendorarch}/Test
1734c4c
%exclude %{_mandir}/man3/Test::Mouse*
1734c4c
1734c4c
%files -n perl-Test-Mouse
1734c4c
%{perl_vendorarch}/Test
1734c4c
%{_mandir}/man3/Test::Mouse*
Chris Weyl f975c2f
Chris Weyl f975c2f
%changelog
cb4f628
* Fri Sep 07 2012 Iain Arnell <iarnell@gmail.com> 1.02-1
cb4f628
- update to latest upstream version
cb4f628
e7e20ff
* Sun Aug 26 2012 Iain Arnell <iarnell@gmail.com> 1.01-1
e7e20ff
- update to latest upstream version
e7e20ff
cd4d474
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 0.99-1
cd4d474
- update to latest upstream version
cd4d474
2acaba1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-5
2acaba1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2acaba1
5a5c073
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.97-4
5a5c073
- Perl 5.16 rebuild
5a5c073
1734c4c
* Wed Apr 18 2012 Iain Arnell <iarnell@gmail.com> 0.97-3
1734c4c
- sub-package Test::Mouse (rhbz#813698)
c467d8f
- drop tests sub-package; move tests to main package documentation
c45029d
- filter unversioned Mouse::Util from provides
1734c4c
33f28c0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-2
33f28c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
33f28c0
b19f5ce
* Sat Oct 15 2011 Iain Arnell <iarnell@gmail.com> 0.97-1
b19f5ce
- update to latest upstream version
b19f5ce
51548d8
* Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 0.95-1
51548d8
- update to latest upstream version
51548d8
- add virtual provides for perl-Any-Moose
fbe0167
- clean up some rpmlint warnings
51548d8
3cb26c3
* Thu Jul 21 2011 Iain Arnell <iarnell@gmail.com> 0.93-3
3cb26c3
- Perl mass rebuild
3cb26c3
0cd64cd
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> 0.93-2
0cd64cd
- Perl mass rebuild
0cd64cd
d155c23
* Sun Jun 26 2011 Iain Arnell <iarnell@gmail.com> 0.93-1
d155c23
- update to latest upstream version
d155c23
05509de
* Thu May 12 2011 Iain Arnell <iarnell@gmail.com> 0.92-1
05509de
- update to latest upstream version
05509de
- clean up spec for modern rpmbuild
05509de
- additional BRs for improved test coverage
05509de
45abb6c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-4
45abb6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
45abb6c
cbabb0e
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.58-3
cbabb0e
- 661697 rebuild for fixing problems with vendorach/lib
cbabb0e
Chris Weyl 2e59f4a
* Tue May 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.58-2
Chris Weyl 2e59f4a
- bump
Chris Weyl 2e59f4a
Chris Weyl 824872f
* Mon May 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.58-1
Chris Weyl 824872f
- include .proverc in tests subpackage
Chris Weyl 824872f
- update by Fedora::App::MaintainerTools 0.006
Chris Weyl 824872f
- updating to latest GA CPAN version (0.58)
Chris Weyl 824872f
0eed4a0
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.53-2
1300b63
- Mass rebuild with perl-5.12.0 & update
f322514
Chris Weyl e675967
* Fri Apr 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.53-1
Chris Weyl e675967
- update by Fedora::App::MaintainerTools 0.006
Chris Weyl e675967
- updating to latest GA CPAN version (0.53)
Chris Weyl e675967
- altered br on perl(Devel::PPPort) (0 => 3.19)
Chris Weyl e675967
- altered br on perl(ExtUtils::ParseXS) (0 => 2.21)
Chris Weyl e675967
- altered br on perl(Test::Exception) (0 => 0.29)
Chris Weyl e675967
- added a new br on perl(Test::Requires) (version 0.03)
Chris Weyl e675967
- added manual BR on perl(Class::Method::Modifiers) (or override to 0)
Chris Weyl e675967
- added manual BR on perl(Test::Deep) (or override to 0)
Chris Weyl e675967
- added manual BR on perl(Test::Output) (or override to 0)
Chris Weyl e675967
- added manual BR on perl(Path::Class) (or override to 0)
Chris Weyl e675967
- added manual BR on perl(IO::File) (or override to 0)
Chris Weyl e675967
- added manual BR on perl(IO::String) (or override to 0)
Chris Weyl e675967
Chris Weyl 3c86c3e
* Sun Feb 28 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.50-1
Chris Weyl 3c86c3e
- update by Fedora::App::MaintainerTools 0.004
Chris Weyl 3c86c3e
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl 3c86c3e
Chris Weyl c9d5c5d
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.47-1
Chris Weyl c9d5c5d
- add perl_default_filter
Chris Weyl c9d5c5d
- we're no longer noarch
Chris Weyl c9d5c5d
- auto-update to 0.47 (by cpan-spec-update 0.01)
Chris Weyl c9d5c5d
- added a new br on perl(Devel::PPPort) 
Chris Weyl c9d5c5d
- added a new br on perl(ExtUtils::ParseXS)
Chris Weyl c9d5c5d
- added a new br on perl(XSLoader) (version 0.1)
Chris Weyl c9d5c5d
- added a new req on perl(Scalar::Util) (version 1.14)
Chris Weyl c9d5c5d
- added a new req on perl(XSLoader) (version 0.1)
Chris Weyl c9d5c5d
e8fd7d3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.35-2
e8fd7d3
- rebuild against perl 5.10.1
e8fd7d3
Chris Weyl 1cd9094
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.35-1
Chris Weyl 1cd9094
- update filtering
Chris Weyl 1cd9094
- drop our soft-requires (except 1).  Anything using Mouse by this point
Chris Weyl 1cd9094
  should know to require them if their bits are needed.
Chris Weyl 1cd9094
- add benchmarks/ to doc
Chris Weyl 1cd9094
- auto-update to 0.35 (by cpan-spec-update 0.01)
Chris Weyl 1cd9094
- altered br on perl(Test::Exception) (0.21 => 0.27)
Chris Weyl 1cd9094
- altered br on perl(Test::More) (0.8 => 0.88)
Chris Weyl 1cd9094
Chris Weyl f163334
* Sat Sep 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.28-1
Chris Weyl f163334
- auto-update to 0.28 (by cpan-spec-update 0.01)
Chris Weyl f163334
Chris Weyl 0511fe2
* Fri Jul 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.27-1
Chris Weyl 0511fe2
- auto-update to 0.27 (by cpan-spec-update 0.01)
Chris Weyl 0511fe2
6939bf0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
6939bf0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6939bf0
Chris Weyl 90203b4
* Mon Jun 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.25-1
Chris Weyl 90203b4
- auto-update to 0.25 (by cpan-spec-update 0.01)
Chris Weyl 90203b4
- altered req on perl(Scalar::Util) (1.19 => 1.14)
Chris Weyl 90203b4
Chris Weyl 827fd78
* Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.23-1
Chris Weyl 827fd78
- auto-update to 0.23 (by cpan-spec-update 0.01)
Chris Weyl 827fd78
- altered br on perl(Test::Exception) (0 => 0.21)
Chris Weyl 827fd78
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
Chris Weyl 827fd78
- altered br on perl(Test::More) (0 => 0.8)
Chris Weyl 827fd78
Chris Weyl a068934
* Sun May 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
Chris Weyl a068934
- update to 0.22
Chris Weyl a068934
Chris Weyl bd05d57
* Thu Apr 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.19-1
Chris Weyl bd05d57
- update to 0.19
Chris Weyl bd05d57
271a5d2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
271a5d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
271a5d2
Chris Weyl 7e92340
* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
Chris Weyl 7e92340
- update to 0.17
Chris Weyl 7e92340
Chris Weyl 55dc992
* Tue Feb 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1
Chris Weyl 55dc992
- update to 0.16
Chris Weyl 55dc992
Chris Weyl 7e08085
* Tue Dec 30 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.14-1
Chris Weyl 7e08085
- update to 0.14
Chris Weyl 7e08085
Chris Weyl 5c82230
* Tue Dec 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
Chris Weyl 5c82230
- update to 0.13
Chris Weyl 5c82230
Chris Weyl cfed335
* Mon Oct 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.09-2
Chris Weyl cfed335
- bump
Chris Weyl cfed335
Chris Weyl f975c2f
* Wed Oct 01 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.09-1
Chris Weyl f975c2f
- update to 0.09
Chris Weyl f975c2f
- add manual requires on the "soft" dependencies
Chris Weyl f975c2f
Chris Weyl f975c2f
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.06-2
Chris Weyl f975c2f
- update description a touch.
Chris Weyl f975c2f
Chris Weyl f975c2f
* Sat Sep 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
Chris Weyl f975c2f
- initial Fedora packaging
Chris Weyl f975c2f
- generated with cpan2dist (CPANPLUS::Dist::Fedora version 0.0.1)