[521] | 1 | %define pkgname Config-IniFiles |
---|
| 2 | |
---|
| 3 | Summary: A perl module for reading .ini-style configuration files. |
---|
| 4 | Name: perl-%{pkgname} |
---|
[12176] | 5 | Version: 3.000002 |
---|
[5792] | 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | Group: Development/Libraries |
---|
[5792] | 8 | License: GPL+ or Artistic |
---|
[521] | 9 | URL: http://config-inifiles.sourceforge.net/ |
---|
[9142] | 10 | |
---|
[521] | 11 | Source0: %{pkgname}-%{version}.tar.gz |
---|
[9142] | 12 | |
---|
[12176] | 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildArch: noarch |
---|
[12176] | 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) |
---|
[9142] | 25 | BuildRequires: perl(File::Basename) |
---|
| 26 | BuildRequires: perl(File::Temp) |
---|
[12176] | 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) |
---|
[5792] | 42 | BuildRequires: perl(Test::More) |
---|
[12176] | 43 | |
---|
[5792] | 44 | BuildArch: noarch |
---|
| 45 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 46 | |
---|
[521] | 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} |
---|
[12176] | 55 | # Normalize end-of-lines |
---|
| 56 | sed -i -e 's/\r$//' Changes OLD-Changes.txt |
---|
[521] | 57 | |
---|
| 58 | %build |
---|
[12176] | 59 | perl Build.PL installdirs=vendor |
---|
| 60 | ./Build |
---|
[521] | 61 | |
---|
| 62 | %install |
---|
[12176] | 63 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
| 64 | %{_fixperms} %{buildroot}/* |
---|
[521] | 65 | |
---|
[5792] | 66 | %check |
---|
[12176] | 67 | ./Build test |
---|
[521] | 68 | %clean |
---|
[5792] | 69 | rm -rf %{buildroot} |
---|
[521] | 70 | |
---|
[5792] | 71 | |
---|
[12176] | 72 | %files |
---|
| 73 | %license LICENSE |
---|
| 74 | %doc Changes OLD-Changes.txt README |
---|
| 75 | %{perl_vendorlib}/Config/ |
---|
| 76 | %{_mandir}/man3/*.3pm* |
---|
[521] | 77 | |
---|
[5792] | 78 | |
---|
[521] | 79 | %changelog |
---|
[12176] | 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 | |
---|
[9142] | 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 | |
---|
[5792] | 89 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.68-1 |
---|
| 90 | - updated to 2.68 |
---|
| 91 | |
---|
[3736] | 92 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.39-2 |
---|
| 93 | - rebuild with perl-5.12.3 |
---|
| 94 | |
---|
[521] | 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 | |
---|