perl-Config-Any-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Name: perl-Config-Any
  2. Summary: Load configuration from different file formats, transparently
  3. Version: 0.24
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Config-Any-%{version}.tar.gz
  8. URL: http://search.cpan.org/dist/Config-Any/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Config::General)
  12. BuildRequires: perl(Config::Tiny)
  13. BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
  14. BuildRequires: perl(JSON::XS)
  15. BuildRequires: perl(Module::Build)
  16. BuildRequires: perl(Module::Pluggable) >= 3.01
  17. BuildRequires: perl(Scalar::Util)
  18. BuildRequires: perl(Test::More)
  19. BuildRequires: perl(Test::Pod)
  20. BuildRequires: perl(Test::Pod::Coverage)
  21. BuildRequires: perl(version)
  22. BuildRequires: perl(XML::LibXML)
  23. BuildRequires: perl(XML::Simple)
  24. BuildRequires: perl(YAML::XS)
  25. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  26. Requires: perl(Config::General)
  27. Requires: perl(Config::Tiny)
  28. Requires: perl(JSON::XS)
  29. Requires: perl(Module::Pluggable) >= 3.01
  30. Requires: perl(XML::Simple)
  31. Requires: perl(YAML::XS)
  32. %{?perl_default_filter}
  33. %{?perl_default_subpackage_tests}
  34. %description
  35. Config::Any provides a facility for Perl applications and libraries to
  36. load configuration data from multiple different file formats. It supports
  37. XML, YAML, JSON, Apache-style configuration, Windows INI files, and even
  38. Perl code.
  39. %prep
  40. %setup -q -n Config-Any-%{version}
  41. %build
  42. %{__perl} Makefile.PL INSTALLDIRS=vendor
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf %{buildroot}
  46. make pure_install DESTDIR=%{buildroot}
  47. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  48. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  49. %{_fixperms} %{buildroot}/*
  50. %check
  51. make test
  52. %clean
  53. rm -rf %{buildroot}
  54. %files
  55. %defattr(-,root,root,-)
  56. # conf/ for examples of different config types
  57. %doc Changes README
  58. %{perl_vendorlib}/*
  59. %{_mandir}/man3/*
  60. %changelog
  61. * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.24-1
  62. - new upstream release
  63. - built with perl 5.16.3
  64. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.23-1
  65. - initial build for Vine Linux
  66. * Fri Jan 13 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.23-1
  67. - Update to 0.23
  68. - BR: add perl(Test::Pod::Coverage)
  69. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.20-4
  70. - Perl mass rebuild
  71. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  73. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-2
  74. - 661697 rebuild for fixing problems with vendorach/lib
  75. * Fri Aug 27 2010 Iain Arnell <iarnell@gmail.com> 0.20-1
  76. - update to latest upstream
  77. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.19-2
  78. - Mass rebuild with perl-5.12.0
  79. * Mon Mar 01 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.19-1
  80. - update by Fedora::App::MaintainerTools 0.004
  81. - PERL_INSTALL_ROOT => DESTDIR
  82. - added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
  83. - dropped old BR on perl(JSON::Syck)
  84. - added manual BR on perl(JSON::XS)
  85. - added a new req on perl(Module::Pluggable) (version 3.01)
  86. - dropped old requires on perl(JSON::Syck)
  87. - added manual requires on perl(JSON::XS)
  88. * Mon Jan 11 2010 Iain Arnell <iarnell@gmail.com> 0.18-1
  89. - update to latest upstream version
  90. - prefer YAML::XS over YAML::Syck
  91. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.17-4
  92. - rebuild against perl 5.10.1
  93. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  95. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  97. * Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
  98. - update to 0.17
  99. * Sat Dec 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1
  100. - update to 0.16
  101. * Thu Sep 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.14-1
  102. - update to 0.14
  103. - add XML::LibXML to br's
  104. * Wed May 21 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.12-1
  105. - update to 0.12
  106. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-2
  107. - rebuild for new perl
  108. * Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1
  109. - update to 0.08
  110. - license tag update: GPL -> GPL+
  111. - Module::Build -> Module::Install
  112. * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-4
  113. - bump
  114. * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-3
  115. - add entirety of t/ to %%doc
  116. * Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-2
  117. - Additional requires not documented added
  118. * Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1
  119. - Specfile autogenerated by cpanspec 1.70.