]> git.pld-linux.org Git - packages/perl-Config-IniFiles.git/blob - perl-Config-IniFiles.spec
585b8178354c246245c1611bb329a45788027f25
[packages/perl-Config-IniFiles.git] / perl-Config-IniFiles.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Config
7 %define pnam    IniFiles
8 Summary:        Config::IniFiles Perl module
9 Summary(pl):    Modu³ Perla Config::IniFiles
10 Name:           perl-Config-IniFiles
11 Version:        2.38
12 Release:        1
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  17e39e4244ede0061939dcb80ab6294e
17 BuildRequires:  perl-devel >= 5.6
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Config::IniFiles - A module for reading .ini-style configuration
24 files.
25
26 %description -l pl
27 Config::IniFiles - modu³ do czytania plików configuracyjnych .ini.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36 %{!?_without_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %{_mandir}/man3/*
50 %{perl_vendorlib}/Config/IniFiles.pm
This page took 0.235249 seconds and 2 git commands to generate.