]> git.pld-linux.org Git - packages/perl-IO-String.git/blob - perl-IO-String.spec
0bcf66f1eeaf21bb85887e3d562ffac846a231ea
[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.04
8 Release:        1
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:  06252e259f0474133fe3136e9c3ce103
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}/%{pdir}/%{pnam}.pm
46 %{_mandir}/man3/*
This page took 0.024107 seconds and 3 git commands to generate.