You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-AppConfig/perl-AppConfig.spec

82 lines
2.3 KiB

Name: perl-AppConfig
19 years ago
Version: 1.63
Release: 1%{?dist}
Summary: Perl module for reading configuration files
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/AppConfig/
19 years ago
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/AppConfig-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
19 years ago
BuildRequires: perl(File::HomeDir)
BuildRequires: perl(Test::Pod)
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/*
19 years ago
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
19 years ago
%doc Changes LICENSE README TODO
%{perl_vendorlib}/*
19 years ago
%{_mandir}/man3/*.3pm*
%changelog
19 years ago
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-1
- Update to 1.63.
- New upstream maintainer.
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-4
- Rebuild for FC5 (perl 5.8.8).
19 years ago
* Wed Dec 28 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.56-3
- Dist tag.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.56-2
- rebuilt
* Sun May 23 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 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ä <ville.skytta at iki.fi> - 0:1.55-0.fdr.1
- First build.