From 4b4d9ec1c3547e50957c0cd7702021c88f46a4ab Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:33:46 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.66-3mamba;Tue Nov 13 2012] --- README.md | 8 +++++ perl-AppConfig.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 perl-AppConfig.spec diff --git a/README.md b/README.md index bfbb356..f47cf9d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # perl-AppConfig +AppConfig is a bundle of Perl5 modules for reading configuration files +and parsing command line arguments. This is a descendant of, and +supercedes the App::Config module. Functionality is extended over the +final version of App::Config (1.09) and includes many new features. This +module has been developed and in the process, renamed, as part of an +effort to unify the various Perl modules for parsing configuration files +and command line arguments. + diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec new file mode 100644 index 0000000..6bb366f --- /dev/null +++ b/perl-AppConfig.spec @@ -0,0 +1,85 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-AppConfig +Version: 1.66 +Release: 3mamba +Summary: Perl modules for reading configuration files and parsing command line arguments +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/A/AB/ABW/AppConfig-%{version}.tar.gz +License: GPL +Requires: perl >= %perl_major_ver + +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END + +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +AppConfig is a bundle of Perl5 modules for reading configuration files +and parsing command line arguments. This is a descendant of, and +supercedes the App::Config module. Functionality is extended over the +final version of App::Config (1.09) and includes many new features. This +module has been developed and in the process, renamed, as part of an +effort to unify the various Perl modules for parsing configuration files +and command line arguments. + +%prep + +%setup -q -n AppConfig-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make %{_smp_mflags} +%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.66-3mamba +- perl 5.16 mass rebuild + +* Mon Nov 03 2008 Silvan Calarco 1.66-2mamba +- automatic rebuild by autodist + +* Fri May 30 2008 gil 1.66-1mamba +- package created by autospec + +* Fri Jan 21 2005 Silvan Calarco 1.56-2qilnx +- rebuilt to remove strict dependency on perl 5.8.2 + +* Tue Jan 18 2005 Silvan Calarco 1.56-1qilnx +- update to version 1.56 by autospec + +* Thu Jan 08 2004 Davide Madrisan 1.55-3qilnx +- rebuilt with perl 5.8.2 + +* Wed Dec 31 2003 Davide Madrisan 1.55-2qilnx +- rebuilt with Perl 5.8.1 +- specfile updates + +* Wed Sep 03 2003 Silvan Calarco 1.55-1qilnx +- first build +