[521] | 1 | Summary: Perl5 module for reading configuration files and parsing command line arguments |
---|
| 2 | Name: perl-AppConfig |
---|
| 3 | Version: 1.66 |
---|
[9165] | 4 | Release: 3%{?_dist_release} |
---|
[521] | 5 | License: distributable |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/~abw/AppConfig/ |
---|
[9165] | 8 | Source0: http://www.cpan.org/authors/id/ABW/AppConfig-%{version}.tar.gz |
---|
[521] | 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildArch: noarch |
---|
[9165] | 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 12 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
[521] | 13 | |
---|
| 14 | %description |
---|
| 15 | AppConfig is a bundle of Perl5 modules for reading configuration files |
---|
| 16 | and parsing command line arguments. This is a descendant of, and |
---|
| 17 | supercedes the App::Config module. Functionality is extended over the |
---|
| 18 | final version of App::Config (1.09) and includes many new features. This |
---|
| 19 | module has been developed and in the process, renamed, as part of an |
---|
| 20 | effort to unify the various Perl modules for parsing configuration files |
---|
| 21 | and command line arguments. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n AppConfig-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
[9165] | 33 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
| 34 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 35 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 36 | %{_fixperms} $RPM_BUILD_ROOT |
---|
[521] | 37 | |
---|
| 38 | %check |
---|
| 39 | make test |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | |
---|
[9165] | 44 | %files |
---|
[521] | 45 | %defattr(-,root,root) |
---|
| 46 | %doc README Changes TODO |
---|
[9165] | 47 | %{perl_vendorlib}/* |
---|
[521] | 48 | %{_mandir}/man3/*3pm* |
---|
| 49 | |
---|
| 50 | %changelog |
---|
[9165] | 51 | * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.65-3 |
---|
| 52 | - rebuilt with perl 5.16.3 |
---|
| 53 | |
---|
[3736] | 54 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.65-2 |
---|
| 55 | - rebuild with perl-5.12.3 |
---|
| 56 | |
---|
[521] | 57 | * Sat Sep 13 2008 Shu KONNO <owa@bg.wakwak.com> 1.65-1vl5 |
---|
| 58 | - applied new versioning policy |
---|
| 59 | |
---|
| 60 | * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.65-0vl1 |
---|
| 61 | - new upstream release |
---|
| 62 | - s/Copyright/License/ |
---|
| 63 | - changed Group to Development/Libraries |
---|
| 64 | - installed modules to vendor_perl dir |
---|
| 65 | |
---|
| 66 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 1.56-0vl1 |
---|
| 67 | - new upstream release |
---|
| 68 | |
---|
| 69 | * Mon Dec 29 2003 IWAI, Masaharu <iwai@alib.jp> 1.55-0vl1 |
---|
| 70 | - new upstream release |
---|
| 71 | - drop obsolete patch (Patch0): perl-AppConfig-pod-syntax.patch |
---|
| 72 | - drop obsolete examples directory in %%doc dir |
---|
| 73 | |
---|
| 74 | * Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 1.52-0vl2 |
---|
| 75 | - build with perl-5.8.0 |
---|
| 76 | |
---|
| 77 | * Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.52-0vl1 |
---|
| 78 | - first build for Vine Linux |
---|