2024-01-06 08:43:22 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Config-Simple
|
|
|
|
Version: 4.59
|
2024-01-06 08:43:22 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 08:43:22 +01:00
|
|
|
Summary: Config::Simple - simple configuration file class
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 08:43:22 +01:00
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:43:22 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%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
|
2024-01-06 08:43:22 +01:00
|
|
|
* Wed Sep 07 2022 Automatic Build System <autodist@mambasoft.it> 4.59-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-06 08:43:22 +01:00
|
|
|
* Wed Feb 16 2011 gil <puntogil@libero.it> 4.59-1mamba
|
|
|
|
- package created by autospec
|