package created by autospec [release 4.59-1mamba;Wed Feb 16 2011]
This commit is contained in:
parent
d5dfa985f1
commit
6929801fa9
@ -1,2 +1,4 @@
|
||||
# perl-Config-Simple
|
||||
|
||||
Config::Simple - simple configuration file class
|
||||
|
||||
|
53
perl-Config-Simple.spec
Normal file
53
perl-Config-Simple.spec
Normal file
@ -0,0 +1,53 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Config-Simple
|
||||
Version: 4.59
|
||||
Release: 1mamba
|
||||
Summary: Config::Simple - simple configuration file class
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: gil <puntogil@libero.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::Simple)
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Config::Simple - simple configuration file class
|
||||
|
||||
%prep
|
||||
%setup -q -n Config-Simple-%{version}
|
||||
chmod -x README Changes
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
|
||||
chmod -R u+w %{buildroot}/*
|
||||
chmod -x %{buildroot}%{perl_vendorlib}/Config/Simple.pm
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3pm.gz
|
||||
%doc README Changes
|
||||
|
||||
%changelog
|
||||
* Wed Feb 16 2011 gil <puntogil@libero.it> 4.59-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user