imported in devel [release 1.7-2mamba;Thu Aug 16 2012]
This commit is contained in:
parent
e6c0d8c996
commit
39d21658e9
@ -1,2 +1,4 @@
|
|||||||
# perl-Class-Factory-Util
|
# perl-Class-Factory-Util
|
||||||
|
|
||||||
|
This module exports a method that is useful for factory classes.
|
||||||
|
|
||||||
|
55
perl-Class-Factory-Util.spec
Normal file
55
perl-Class-Factory-Util.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Class-Factory-Util
|
||||||
|
Version: 1.7
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Class::Factory::Util - Provide utility methods for factory classes
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module exports a method that is useful for factory classes.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Class-Factory-Util-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/Class
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-2mamba
|
||||||
|
- imported in devel
|
||||||
|
|
||||||
|
* Mon Mar 07 2011 gil <puntogil@libero.it> 1.7-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user