source: projects/specs/trunk/p/perl-Config-General/perl-Config-General-vl.spec @ 5863

Revision 5863, 5.4 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Config-General
2Version:        2.50
3Release:        1%{?_dist_release}
4Summary:        Generic configuration module for Perl
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Config-General/
9Source0:        http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{version}.tar.gz
10Patch0:         %{name}-2.50-system-ixhash.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13BuildArch:      noarch
14BuildRequires:  perl(Carp)
15BuildRequires:  perl(Carp::Heavy)
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(Test::More)
18BuildRequires:  perl(Tie::IxHash)
19Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21%description
22This module opens a config file and parses its contents for
23you. After parsing the module returns a hash structure which contains
24the representation of the config file.
25The format of config files supported by Config::General is inspired by
26the well known Apache config format, in fact, this module is 100%
27read-compatible with Apache configs, but you can also just use simple
28name/value pairs in your config files.
29In addition to the capabilities of an Apache config file it supports
30some enhancements such as here-documents, C-style comments or
31multiline options. It is also possible to save the config back to
32disk, which makes the module a perfect backend for configuration
33interfaces.
34It is possible to use variables in config files and there exists also
35support for object oriented access to the configuration.
36
37
38%prep
39%setup -q -n Config-General-%{version}
40%patch0 -p1
41rm -r t/Tie # see patch0
42f=Changelog ; iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f ; mv $f.utf8 $f
43
44
45%build
46%{__perl} Makefile.PL INSTALLDIRS=vendor
47make %{?_smp_mflags}
48
49
50%install
51rm -rf %{buildroot}
52make pure_install DESTDIR=%{buildroot}
53find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
54find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
55%{_fixperms} %{buildroot}/*
56
57
58%check
59make test
60
61
62%clean
63rm -rf %{buildroot}
64
65
66%files
67%defattr(-,root,root,-)
68%doc Changelog README example.cfg
69%{perl_vendorlib}/Config/
70%{_mandir}/man3/Config::*.3*
71
72
73%changelog
74* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.50-1
75- initial build for Vine Linux
76
77* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.50-6
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
79
80* Tue Sep 13 2011 Petr Pisar <ppisar@redhat.com> - 2.50-5
81- Build-require Carp because Carp dual-lives now (bug #736768)
82
83* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.50-4
84- Perl mass rebuild
85
86* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.50-3
87- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
88
89* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.50-2
90- 661697 rebuild for fixing problems with vendorach/lib
91
92* Thu Dec  2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.50-1
93- Update to 2.50, fixes #658945, #659046.
94
95* Tue Jun 29 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.49-2
96- Rebuild.
97
98* Tue Jun  8 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.49-1
99- Update to 2.49 (#601611).
100
101* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.48-2
102- Mass rebuild with perl-5.12.0
103
104* Fri Apr 23 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.48-1
105- Update to 2.48.
106- Sync with current rpmdevtools Perl spec template.
107
108* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.44-2
109- rebuild against perl 5.10.1
110
111* Tue Sep  8 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.44-1
112- Update to 2.44 (#521756).
113- Prune pre-2005 %%changelog entries.
114
115* Sun Jul 26 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.43-1
116- Update to 2.43 (#513796).
117
118* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-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> - 2.42-2
122- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
123
124* Sun Jan  4 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.42-1
125- 2.42.
126- Patch test suite to use system installed Tie::IxHash.
127- Fix some spelling errors in %%description.
128- Use Source0: instead of Source:.
129
130* Sat Jun 21 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.40-1
131- 2.40.
132
133* Tue Jun 17 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.39-1
134- 2.39.
135
136* Tue Mar  4 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.38-1
137- 2.38.
138
139* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.37-2
140- rebuild for new perl
141
142* Tue Nov 27 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.37-1
143- 2.37 (#398801).
144- Convert docs to UTF-8.
145
146* Tue Aug  7 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.33-2
147- License: GPL+ or Artistic
148
149* Wed Apr 18 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.33-1
150- 2.33.
151- BuildRequire perl(ExtUtils::MakeMaker) and perl(Test::More).
152
153* Sat Feb 24 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.32-1
154- 2.32.
155
156* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.31-2
157- Fix order of arguments to find(1).
158- Drop version from perl build dependency.
159
160* Thu Jan 12 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.31-1
161- 2.31.
162
163* Fri Sep 16 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.30-1
164- 2.30.
165
166* Wed May 18 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.28-2
167- 2.28.
168
169* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.27-2
170- rebuilt
Note: See TracBrowser for help on using the repository browser.