From af7f2569197e1a4e034a244282a74c99bba3aa5b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:42:55 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.50-2mamba;Tue Nov 13 2012] --- README.md | 2 ++ perl-Config-File.spec | 60 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 perl-Config-File.spec diff --git a/README.md b/README.md index bf5265c..5a9228c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Config-File +Config::File parses a simple configuration file and stores its values in an anonymous hash reference. + diff --git a/perl-Config-File.spec b/perl-Config-File.spec new file mode 100644 index 0000000..7156984 --- /dev/null +++ b/perl-Config-File.spec @@ -0,0 +1,60 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Config-File +Version: 1.50 +Release: 2mamba +Summary: Config::File - Parse a simple configuration file +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://search.cpan.org/dist/Config-File +Source: http://www.cpan.org/modules/by-module/Config/Config-File-%{version}.tar.gz +License: GPL +BuildRequires: perl-devel >= %{perl_major_ver} +Requires: perl >= %{perl_major_ver} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Config::File parses a simple configuration file and stores its values in an anonymous hash reference. + +%prep +%setup -q -n Config-File-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Nov 13 2012 Silvan Calarco 1.50-2mamba +- perl 5.16 mass rebuild + +* Mon Mar 02 2009 Silvan Calarco 1.50-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 1.4-2mamba +- automatic rebuild by autodist + +* Thu Jul 05 2007 Stefano Cotta Ramusino 1.4-1mamba +- package created by autospec