]> git.pld-linux.org Git - packages/perl-IO-String.git/blob - perl-IO-String.spec
48e0ae5c51145a9c4063f69cb5aaa2aa8d1ac844
[packages/perl-IO-String.git] / perl-IO-String.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        IO-String perl module
3 Summary(pl):    Modu³ perla IO-String
4 Name:           perl-IO-String
5 Version:        1.01
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/IO/IO-String-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 %requires_eq    perl
14 Requires:       %{perl_sitearch}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 IO-String module provide the IO::File interface for in-core strings.
19
20 %description -l pl
21 Modu³ perla IO-String.
22
23 %prep
24 %setup -q -n IO-String-%{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/IO/String
36   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
37   mv .packlist.new .packlist
38 )
39
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
41         Changes README
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc {Changes,README}.gz
49
50 %{perl_sitelib}/IO/String.pm
51 %{perl_sitearch}/auto/IO/String
52
53 %{_mandir}/man3/*
This page took 0.172401 seconds and 2 git commands to generate.