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 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(Config::General) |
---|
13 | BuildRequires: perl(Config::Tiny) |
---|
14 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 |
---|
15 | BuildRequires: perl(JSON::XS) |
---|
16 | BuildRequires: perl(Module::Build) |
---|
17 | BuildRequires: perl(Module::Pluggable) >= 3.01 |
---|
18 | BuildRequires: perl(Scalar::Util) |
---|
19 | BuildRequires: perl(Test::More) |
---|
20 | BuildRequires: perl(Test::Pod) |
---|
21 | BuildRequires: perl(Test::Pod::Coverage) |
---|
22 | BuildRequires: perl(version) |
---|
23 | BuildRequires: perl(XML::LibXML) |
---|
24 | BuildRequires: perl(XML::Simple) |
---|
25 | BuildRequires: perl(YAML::XS) |
---|
26 | |
---|
27 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
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 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.24-1 |
---|
76 | - new upstream release |
---|
77 | - built with perl 5.16.3 |
---|
78 | |
---|
79 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.23-1 |
---|
80 | - initial build for Vine Linux |
---|
81 | |
---|
82 | * Fri Jan 13 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.23-1 |
---|
83 | - Update to 0.23 |
---|
84 | - BR: add perl(Test::Pod::Coverage) |
---|
85 | |
---|
86 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.20-4 |
---|
87 | - Perl mass rebuild |
---|
88 | |
---|
89 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
91 | |
---|
92 | * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-2 |
---|
93 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
94 | |
---|
95 | * Fri Aug 27 2010 Iain Arnell <iarnell@gmail.com> 0.20-1 |
---|
96 | - update to latest upstream |
---|
97 | |
---|
98 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.19-2 |
---|
99 | - Mass rebuild with perl-5.12.0 |
---|
100 | |
---|
101 | * Mon Mar 01 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.19-1 |
---|
102 | - update by Fedora::App::MaintainerTools 0.004 |
---|
103 | - PERL_INSTALL_ROOT => DESTDIR |
---|
104 | - added a new br on perl(ExtUtils::MakeMaker) (version 6.42) |
---|
105 | - dropped old BR on perl(JSON::Syck) |
---|
106 | - added manual BR on perl(JSON::XS) |
---|
107 | - added a new req on perl(Module::Pluggable) (version 3.01) |
---|
108 | - dropped old requires on perl(JSON::Syck) |
---|
109 | - added manual requires on perl(JSON::XS) |
---|
110 | |
---|
111 | * Mon Jan 11 2010 Iain Arnell <iarnell@gmail.com> 0.18-1 |
---|
112 | - update to latest upstream version |
---|
113 | - prefer YAML::XS over YAML::Syck |
---|
114 | |
---|
115 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.17-4 |
---|
116 | - rebuild against perl 5.10.1 |
---|
117 | |
---|
118 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3 |
---|
119 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
120 | |
---|
121 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
123 | |
---|
124 | * Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1 |
---|
125 | - update to 0.17 |
---|
126 | |
---|
127 | * Sat Dec 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1 |
---|
128 | - update to 0.16 |
---|
129 | |
---|
130 | * Thu Sep 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.14-1 |
---|
131 | - update to 0.14 |
---|
132 | - add XML::LibXML to br's |
---|
133 | |
---|
134 | * Wed May 21 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.12-1 |
---|
135 | - update to 0.12 |
---|
136 | |
---|
137 | * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-2 |
---|
138 | - rebuild for new perl |
---|
139 | |
---|
140 | * Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1 |
---|
141 | - update to 0.08 |
---|
142 | - license tag update: GPL -> GPL+ |
---|
143 | - Module::Build -> Module::Install |
---|
144 | |
---|
145 | * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-4 |
---|
146 | - bump |
---|
147 | |
---|
148 | * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-3 |
---|
149 | - add entirety of t/ to %%doc |
---|
150 | |
---|
151 | * Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-2 |
---|
152 | - Additional requires not documented added |
---|
153 | |
---|
154 | * Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1 |
---|
155 | - Specfile autogenerated by cpanspec 1.70. |
---|