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