Search
j0ke.net Open Build Service
>
Projects
>
home:sheid
>
perl-MooseX-Singleton
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
perl-MooseX-Singleton.spec
@@ -0,0 +1,55 @@ +Name: perl-MooseX-Singleton +Version: 0.29 +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/modules/by-module/MooseX/MooseX-Singleton-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) >= 1.10 +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Requires) +Requires: perl(Moose) >= 1.10 +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} + +%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 Changes dist.ini LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 08 2016 Sebastian Heid <sebastian@internetx.com> 0.29-1 +- Specfile autogenerated by cpanspec 1.78.
Added
_service:download_files:MooseX-Singleton-0.29.tar.gz
^