source: projects/specs/trunk/p/perl-Config-Any/perl-Config-Any-vl.spec @ 9142

Revision 9142, 4.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


Line 
1Name:           perl-Config-Any
2Summary:        Load configuration from different file formats, transparently
3Version:        0.24
4Release:        1%{?_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Config-Any-%{version}.tar.gz
8URL:            http://search.cpan.org/dist/Config-Any/
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch:      noarch
12BuildRequires:  perl(Config::General)
13BuildRequires:  perl(Config::Tiny)
14BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
15BuildRequires:  perl(JSON::XS)
16BuildRequires:  perl(Module::Build)
17BuildRequires:  perl(Module::Pluggable) >= 3.01
18BuildRequires:  perl(Scalar::Util)
19BuildRequires:  perl(Test::More)
20BuildRequires:  perl(Test::Pod)
21BuildRequires:  perl(Test::Pod::Coverage)
22BuildRequires:  perl(version)
23BuildRequires:  perl(XML::LibXML)
24BuildRequires:  perl(XML::Simple)
25BuildRequires:  perl(YAML::XS)
26
27Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
28Requires:       perl(Config::General)
29Requires:       perl(Config::Tiny)
30Requires:       perl(JSON::XS)
31Requires:       perl(Module::Pluggable) >= 3.01
32Requires:       perl(XML::Simple)
33Requires:       perl(YAML::XS)
34
35
36%{?perl_default_filter}
37%{?perl_default_subpackage_tests}
38
39%description
40Config::Any provides a facility for Perl applications and libraries to
41load configuration data from multiple different file formats. It supports
42XML, YAML, JSON, Apache-style configuration, Windows INI files, and even
43Perl code.
44
45%prep
46%setup -q -n Config-Any-%{version}
47
48%build
49%{__perl} Makefile.PL INSTALLDIRS=vendor
50make %{?_smp_mflags}
51
52%install
53rm -rf %{buildroot}
54
55make pure_install DESTDIR=%{buildroot}
56find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
57find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
58
59%{_fixperms} %{buildroot}/*
60
61%check
62make test
63
64%clean
65rm -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.
Note: See TracBrowser for help on using the repository browser.