rpms/perl-Mouse/devel import.log, NONE, 1.1 perl-Mouse.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Mon Oct 6 15:40:24 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-Mouse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6351/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Mouse.spec 
Log Message:
initial import



--- NEW FILE import.log ---
perl-Mouse-0_09-1_fc9:HEAD:perl-Mouse-0.09-1.fc9.src.rpm:1223307585


--- NEW FILE perl-Mouse.spec ---

Name:       perl-Mouse 
Version:    0.09 
Release:    1%{?dist}
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Moose minus the antlers 
Source:     http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Mouse-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/Mouse
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(Class::Method::Modifiers) >= 1.01
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Scalar::Util)
# tests
BuildRequires: perl(Moose)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)

# Strictly speaking, since 0.09 these are "soft dependencies", that is, Mouse
# will take advantage of them (and run faster) if they're there; but can cope
# otherwise.  As they're already all in Fedora, and we don't have a
# "recommends" in rpm yet, let's manually require them here.
Requires:      perl(Class::Method::Modifiers) >= 1.01
Requires:      perl(Test::Exception)          >= 0.27
Requires:      perl(Scalar::Util)             >= 1.19
Requires:      perl(MRO::Compat)              >= 0.09


%description
Moose, a powerful metaobject-fuelled extension of the Perl 5 object system, 
is wonderful.  (For more information on Moose, please see 'perldoc Moose'
after installing the perl-Moose package.)

Unfortunately, it's a little slow. Though significant progress has been
made over the years, the compile time penalty is a non-starter for some
applications.  Mouse aims to alleviate this by providing a subset of Moose's
functionality, faster. 

%prep
%setup -q -n Mouse-%{version}

find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} +

# make sure doc/tests don't generate provides
# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} `perl -p -e 's|%{_docdir}/%{name}-%{version}\S+||'`
EOF

%define __perl_provides %{_builddir}/Mouse-%{version}/%{name}-prov
chmod +x %{__perl_provides}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{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

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes t/ 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Wed Oct 01 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.09-1
- update to 0.09
- add manual requires on the "soft" dependencies

* Mon Sep 08 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.06-2
- update description a touch.

* Sat Sep 06 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.06-1
- initial Fedora packaging
- generated with cpan2dist (CPANPLUS::Dist::Fedora version 0.0.1)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Mouse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Oct 2008 09:40:48 -0000	1.1
+++ .cvsignore	6 Oct 2008 15:39:54 -0000	1.2
@@ -0,0 +1 @@
+Mouse-0.09.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Mouse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Oct 2008 09:40:48 -0000	1.1
+++ sources	6 Oct 2008 15:39:54 -0000	1.2
@@ -0,0 +1 @@
+9706425f07dab632aef937a0edbcce46  Mouse-0.09.tar.gz




More information about the Fedora-perl-devel-list mailing list