]> git.pld-linux.org Git - packages/perl-Config-IniFiles.git/blob - perl-Config-IniFiles.spec
- version 2.30, added tests, cleaning
[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.30
12 Release:        1
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  rpm-perlprov >= 3.0.3-16
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Config::IniFiles - A module for reading .ini-style configuration
23 files.
24
25 %description -l pl
26 Config::IniFiles - modu³ do czytania plików configuracyjnych .ini.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 perl Makefile.PL
33 %{__make}
34 %{!?_without_tests:%{__make} test}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %{_mandir}/man3/*
48 %{perl_sitelib}/Config/IniFiles.pm
This page took 0.213794 seconds and 4 git commands to generate.