perl-AppConfig-vl.spec 2.3 KB

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