]> git.pld-linux.org Git - packages/perl-Config-IniFiles.git/blob - perl-Config-IniFiles.spec
cosmetics (should build now)
[packages/perl-Config-IniFiles.git] / perl-Config-IniFiles.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Config-IniFiles perl module
3 Summary(pl):    Modu³ perla Config-IniFiles
4 Name:           perl-Config-IniFiles
5 Version:        2.13
6 Release:        0
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(de):      Entwicklung/Sprachen/Perl
10 Group(pl):      Programowanie/Jêzyki/Perl
11 Source0:        Config-IniFiles-%{version}.tar.gz
12 # this is not needed, and i dont know for what i put that in spec
13 #Source1:       Config-IniFiles-%{version}.readme 
14 BuildRequires:  rpm-perlprov >= 3.0.3-16
15 %requires_eq    perl
16 Requires:       %{perl_sitearch}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20
21 %description -l pl
22
23 %prep
24 %setup -q -n Config-IniFiles-%{version}
25
26 %build
27 perl Makefile.PL
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33
34 (
35   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Config/IniFiles
36   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
37   mv -f .packlist.new .packlist
38 )
39
40
41 gzip -9nf README
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README.gz
49
50 %{perl_sitelib}/Config/IniFiles.pm
51 %{perl_sitearch}/auto/Config/IniFiles
This page took 0.066422 seconds and 4 git commands to generate.