diff --git a/.cvsignore b/.cvsignore index e69de29..bd686b2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +AppConfig-1.56.tar.gz diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec new file mode 100644 index 0000000..62ed73c --- /dev/null +++ b/perl-AppConfig.spec @@ -0,0 +1,71 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-AppConfig +Version: 1.56 +Release: 0.fdr.1.rh80 +Epoch: 0 +Summary: Perl module for reading configuration files + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/AppConfig/ +Source0: http://www.cpan.org/authors/id/A/AB/ABW/AppConfig-1.56.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +AppConfig has a powerful but easy to use module for parsing +configuration files. It also has a simple and efficient module for +parsing command line arguments. For fully-featured command line +parsing, a module is provided for interfacing AppConfig to Johan +Vromans' extensive Getopt::Long module. Johan will continue to +develop the functionality of this package and its features will +automatically become available through AppConfig. + + +%prep +%setup -q -n AppConfig-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Sun May 23 2004 Jose Pedro Oliveira - 0:1.56-0.fdr.1 +- Update to 1.56. +- License corrected. +- Require perl >= 1:5.6.1 for vendor install dir support. +- Moved make test to section %check. +- Use pure_install to avoid perllocal.pod workarounds. + +* Sun Oct 12 2003 Ville Skyttä - 0:1.55-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..38b872f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +16a69f81aaf2b86ee30b25541f58cac0 AppConfig-1.56.tar.gz