Author: allisson Update of /cvs/pkgs/rpms/perl-MooseX-Singleton/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26340/F-10 Modified Files: .cvsignore sources Added Files: import.log perl-MooseX-Singleton.spec Log Message: First import --- NEW FILE import.log --- perl-MooseX-Singleton-0_14-1_fc10:F-10:perl-MooseX-Singleton-0.14-1.fc10.src.rpm:1236288213 --- NEW FILE perl-MooseX-Singleton.spec --- Name: perl-MooseX-Singleton Version: 0.14 Release: 1%{?dist} Summary: Turn your Moose class into a singleton License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-Singleton/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/MooseX-Singleton-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose) >= 0.65 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description A singleton is a class that has only one instance in an application. MooseX::Singleton lets you easily upgrade (or downgrade, as it were) your Moose class to a singleton. %prep %setup -q -n MooseX-Singleton-%{version} # Filter requires cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ sed -e '/perl(MooseX::Singleton::Meta::Class)/d' |\ sed -e '/perl(MooseX::Singleton::Meta::Instance)/d' |\ sed -e '/perl(MooseX::Singleton::Meta::Method::Constructor)/d' |\ sed -e '/perl(MooseX::Singleton::Object)/d' EOF %define __perl_requires %{_builddir}/MooseX-Singleton-%{version}/%{name}-req chmod +x %{__perl_requires} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 04 2009 Allisson Azevedo <allisson@xxxxxxxxx> 0.14-1 - Initial rpm release. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-MooseX-Singleton/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 5 Mar 2009 20:44:13 -0000 1.1 +++ .cvsignore 5 Mar 2009 21:29:52 -0000 1.2 @@ -0,0 +1 @@ +MooseX-Singleton-0.14.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-MooseX-Singleton/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 5 Mar 2009 20:44:13 -0000 1.1 +++ sources 5 Mar 2009 21:29:52 -0000 1.2 @@ -0,0 +1 @@ +2e1aefa342d4d73bd8ff6fe2ab0ab34e MooseX-Singleton-0.14.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list