2009-12-26 21:29:15 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Mouse
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Mouse
|
|
|
|
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Moose minus the antlers
|
|
|
|
Url: http://search.cpan.org/perldoc?Mouse
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
2010-05-10 12:11:44 +00:00
|
|
|
Version: 0.58
|
2009-12-26 21:29:15 +00:00
|
|
|
Release: 1
|
|
|
|
Vendor: openSUSE-Education
|
|
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl-Devel-PPPort >= 3.18
|
|
|
|
BuildRequires: perl-ExtUtils-ParseXS
|
|
|
|
BuildRequires: perl-Declare-Constraints-Simple
|
|
|
|
BuildRequires: perl-XSLoader
|
|
|
|
BuildRequires: perl-Test-Deep
|
2010-02-20 12:37:11 +00:00
|
|
|
BuildRequires: perl-Test-Exception
|
2009-12-26 21:29:15 +00:00
|
|
|
BuildRequires: perl-Test-Output
|
|
|
|
BuildRequires: perl-Test-LeakTrace
|
2010-05-10 12:55:01 +00:00
|
|
|
BuildRequires: perl(Pod::Coverage::Moose)
|
2009-12-26 21:29:15 +00:00
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(HTTP::Headers)
|
|
|
|
BuildRequires: perl-Params-Coerce
|
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(Regexp::Common)
|
|
|
|
BuildRequires: perl-Locale-US
|
|
|
|
Requires: perl(Devel::PPPort) >= 3.18
|
|
|
|
Requires: perl(ExtUtils::ParseXS)
|
|
|
|
Requires: perl(Declare::Constraints::Simple)
|
|
|
|
Requires: perl(XSLoader)
|
|
|
|
Requires: perl(Params::Common)
|
|
|
|
Requires: perl(Regexp::common)
|
|
|
|
Requires: perl(IO::String)
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(HTTP::Headers)
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Moose is wonderful. Use Moose instead of Mouse.
|
|
|
|
|
|
|
|
Unfortunately, Moose has a compile-time penalty. Though significant progress
|
|
|
|
has been made over the years, the compile time penalty is a non-starter for
|
|
|
|
some very specific applications. If you are writing a command-line application
|
|
|
|
or CGI script where startup time is essential, you may not be able to use
|
|
|
|
Moose. We recommend that you instead use HTTP::Engine and FastCGI for the
|
|
|
|
latter, if possible.
|
|
|
|
|
|
|
|
Mouse aims to alleviate this by providing a subset of Moose's functionality,
|
|
|
|
faster.
|
|
|
|
|
|
|
|
We're also going as light on dependencies as possible. Mouse currently has no
|
|
|
|
dependencies except for testing modules.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
Shawn M Moore <sartak at gmail.com>
|
|
|
|
Yuval Kogman <nothingmuch at woobling.org>
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
2010-02-20 12:37:11 +00:00
|
|
|
%check
|
|
|
|
make test
|
2009-12-26 21:29:15 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes README MANIFEST
|
|
|
|
|
|
|
|
%changelog
|