From 6929801fa9ba156bf3daf7eac37a0a1e9ac38e29 Mon Sep 17 00:00:00 2001 From: gil Date: Sat, 6 Jan 2024 08:43:22 +0100 Subject: [PATCH] package created by autospec [release 4.59-1mamba;Wed Feb 16 2011] --- README.md | 2 ++ perl-Config-Simple.spec | 53 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 perl-Config-Simple.spec diff --git a/README.md b/README.md index 5ba6615..a303ede 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Config-Simple +Config::Simple - simple configuration file class + diff --git a/perl-Config-Simple.spec b/perl-Config-Simple.spec new file mode 100644 index 0000000..8e62a26 --- /dev/null +++ b/perl-Config-Simple.spec @@ -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 +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 4.59-1mamba +- package created by autospec