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