]> git.pld-linux.org Git - packages/perl-IO-String.git/blob - perl-IO-String.spec
8e79c84fd3073a130de18f710904d1b00c0e4345
[packages/perl-IO-String.git] / perl-IO-String.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    IO
3 %define pnam    String
4 Summary:        IO::String perl module
5 Summary(pl):    Modu³ perla IO::String
6 Name:           perl-IO-String
7 Version:        1.03
8 Release:        2
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  8e82f109313d055a9345dc722f700a8c
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 IO::String module emulates the IO::File interface for in-core strings.
20
21 %description -l pl
22 Modu³ perla IO::String, emuluj±cy interfejs IO::File dla ci±gów
23 znaków.
24
25 %prep
26 %setup -q -n %{pdir}-%{pnam}-%{version}
27
28 %build
29 %{__perl} Makefile.PL \
30         INSTALLDIRS=vendor
31 %{__make}
32 %{__make} test
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc Changes README
45 %{perl_vendorlib}/IO/String.pm
46 %{_mandir}/man3/*
This page took 0.281296 seconds and 2 git commands to generate.