1 | %define pkgname Config-IniFiles |
---|
2 | |
---|
3 | Summary: A perl module for reading .ini-style configuration files. |
---|
4 | Name: perl-%{pkgname} |
---|
5 | Version: 3.000002 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Group: Development/Libraries |
---|
8 | License: GPL+ or Artistic |
---|
9 | URL: http://config-inifiles.sourceforge.net/ |
---|
10 | |
---|
11 | Source0: %{pkgname}-%{version}.tar.gz |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | BuildRequires: perl(Module::Build) |
---|
19 | BuildRequires: perl(strict) |
---|
20 | BuildRequires: perl(warnings) |
---|
21 | BuildRequires: sed |
---|
22 | # Run-time: |
---|
23 | BuildRequires: perl(Carp) |
---|
24 | BuildRequires: perl(Fcntl) |
---|
25 | BuildRequires: perl(File::Basename) |
---|
26 | BuildRequires: perl(File::Temp) |
---|
27 | BuildRequires: perl(IO::Scalar) |
---|
28 | BuildRequires: perl(List::Util) |
---|
29 | BuildRequires: perl(Symbol) |
---|
30 | BuildRequires: perl(vars) |
---|
31 | # Tests: |
---|
32 | BuildRequires: perl(base) |
---|
33 | BuildRequires: perl(English) |
---|
34 | BuildRequires: perl(Exporter) |
---|
35 | BuildRequires: perl(File::Spec) |
---|
36 | BuildRequires: perl(IO::File) |
---|
37 | BuildRequires: perl(IO::Handle) |
---|
38 | BuildRequires: perl(IPC::Open3) |
---|
39 | BuildRequires: perl(lib) |
---|
40 | BuildRequires: perl(parent) |
---|
41 | BuildRequires: perl(Scalar::Util) |
---|
42 | BuildRequires: perl(Test::More) |
---|
43 | |
---|
44 | BuildArch: noarch |
---|
45 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
46 | |
---|
47 | %description |
---|
48 | Config::IniFiles provides a way to have readable configuration files |
---|
49 | outside your Perl script. Configurations can be imported (inherited, |
---|
50 | stacked,...), sections can be grouped, and settings can be accessed |
---|
51 | from a tied hash. |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q -n %{pkgname}-%{version} |
---|
55 | # Normalize end-of-lines |
---|
56 | sed -i -e 's/\r$//' Changes OLD-Changes.txt |
---|
57 | |
---|
58 | %build |
---|
59 | perl Build.PL installdirs=vendor |
---|
60 | ./Build |
---|
61 | |
---|
62 | %install |
---|
63 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
64 | %{_fixperms} %{buildroot}/* |
---|
65 | |
---|
66 | %check |
---|
67 | ./Build test |
---|
68 | %clean |
---|
69 | rm -rf %{buildroot} |
---|
70 | |
---|
71 | |
---|
72 | %files |
---|
73 | %license LICENSE |
---|
74 | %doc Changes OLD-Changes.txt README |
---|
75 | %{perl_vendorlib}/Config/ |
---|
76 | %{_mandir}/man3/*.3pm* |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Tue Sep 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000002-1 |
---|
81 | - new upstream release. |
---|
82 | - built with perl-5.26.2. |
---|
83 | |
---|
84 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.83-1 |
---|
85 | - new upstream release |
---|
86 | - added BR: perl(List::MoreUtils) |
---|
87 | - built with perl 5.16.3 |
---|
88 | |
---|
89 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.68-1 |
---|
90 | - updated to 2.68 |
---|
91 | |
---|
92 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.39-2 |
---|
93 | - rebuild with perl-5.12.3 |
---|
94 | |
---|
95 | * Tue Jan 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.39-1 |
---|
96 | - apply new versioning policy |
---|
97 | |
---|
98 | * Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.39-0vl1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Sun Oct 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.38-0vl1 |
---|
102 | - initial build for Vine Linux |
---|
103 | |
---|