]> git.pld-linux.org Git - packages/perl-Config-IniFiles.git/blame - perl-Config-IniFiles.spec
- updated to 3.000003
[packages/perl-Config-IniFiles.git] / perl-Config-IniFiles.spec
CommitLineData
6ebc8203 1#
2# Conditional build:
574eae9d 3%bcond_without tests # do not perform "make test"
2a2385d6 4
a277d8f9 5%define pdir Config
6%define pnam IniFiles
f4a9503f 7Summary: Config::IniFiles - a module for reading .ini-style configuration files
6dbec3f8 8Summary(pl.UTF-8): Config::IniFiles - moduł do odczytu plików konfiguracyjnych typu .ini
638e1fc6 9Name: perl-Config-IniFiles
42132d29 10Version: 3.000003
be370744 11Release: 1
f4a9503f 12# same as perl
13License: GPL v1+ or Artistic
638e1fc6 14Group: Development/Languages/Perl
42132d29
JB
15Source0: http://www.cpan.org/modules/by-module/Config/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 6f05ed5e2eec89914a8542248c959914
17URL: https://metacpan.org/release/Config-IniFiles
5c295f92 18BuildRequires: perl-devel >= 1:5.8.0
83fa94b5 19BuildRequires: rpm-perlprov >= 4.1-13
42132d29 20BuildRequires: rpmbuild(macros) >= 1.745
f99a0946 21BuildArch: noarch
638e1fc6
MP
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
f4a9503f 25Config::IniFiles Perl module provides a way to have readable
2a2385d6 26configuration files outside your Perl script. Configurations can be
f4a9503f 27imported (inherited, stacked,...), sections can be grouped, and
28settings can be accessed from a tied hash.
638e1fc6 29
0ac90c81
JR
30%description -l pl.UTF-8
31Moduł Perla Config::IniFiles umożliwia posiadanie czytelnych plików
32konfiguracyjnych poza skryptem perlowym. Konfigurację można
42132d29 33zaimportować (odziedziczyć, umieścić na stosie...), sekcje można
0ac90c81 34pogrupować a dostęp do łańcuchów tekstowych może się odbywać poprzez
f4a9503f 35stowarzyszony z plikiem hash.
638e1fc6
MP
36
37%prep
5c2c7758 38%setup -q -n %{pdir}-%{pnam}-%{version}
638e1fc6
MP
39
40%build
83fa94b5 41%{__perl} Makefile.PL \
38263b27 42 INSTALLDIRS=vendor
638e1fc6 43%{__make}
190f1320 44
574eae9d 45%{?with_tests:%{__make} test}
638e1fc6
MP
46
47%install
48rm -rf $RPM_BUILD_ROOT
638e1fc6 49
190f1320 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
638e1fc6 52
638e1fc6
MP
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
95833d3e 58%doc README
83fa94b5 59%{perl_vendorlib}/Config/IniFiles.pm
42132d29 60%{_mandir}/man3/Config::IniFiles.3pm*
This page took 0.115504 seconds and 4 git commands to generate.