]> git.pld-linux.org Git - packages/perl-IO-stringy.git/blob - perl-IO-stringy.spec
- up to 2.111
[packages/perl-IO-stringy.git] / perl-IO-stringy.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    IO
7 %define         pnam    stringy
8 Summary:        IO-stringy - I/O on in-core objects like strings and arrays
9 Summary(pl.UTF-8):      IO-stringy - operacje I/O na obiektach takich jak łańcuchy i tablice
10 Name:           perl-IO-stringy
11 Version:        2.111
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  e91acf0a800b190d13585a47de775bdd
18 URL:            http://search.cpan.org/dist/IO-stringy/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This toolkit primarily provides modules for performing both
26 traditional and object-oriented I/O on things other than normal
27 filehandles; in particular, IO::Scalar, IO::ScalarArray, and
28 IO::Lines.
29
30 %description -l pl.UTF-8
31 Ten zestaw narzędzi dostarcza głównie modułów do wykonywania zarówno
32 tradycyjnych jak i obiektowo zorientowanych operacji wejścia/wyjścia
33 na rzeczach innych niż normalne uchwyty plików, w szczególności:
34 IO::Scalar, IO::ScalarArray i IO::Lines.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc COPYING README
58 %{perl_vendorlib}/IO/AtomicFile.pm
59 %{perl_vendorlib}/IO/InnerFile.pm
60 %{perl_vendorlib}/IO/Lines.pm
61 %{perl_vendorlib}/IO/Scalar.pm
62 %{perl_vendorlib}/IO/ScalarArray.pm
63 %{perl_vendorlib}/IO/Stringy.pm
64 %{perl_vendorlib}/IO/Wrap.pm
65 %{perl_vendorlib}/IO/WrapTie.pm
66 %{_mandir}/man3/IO::AtomicFile.3pm*
67 %{_mandir}/man3/IO::InnerFile.3pm*
68 %{_mandir}/man3/IO::Lines.3pm*
69 %{_mandir}/man3/IO::Scalar.3pm*
70 %{_mandir}/man3/IO::ScalarArray.3pm*
71 %{_mandir}/man3/IO::Stringy.3pm*
72 %{_mandir}/man3/IO::Wrap.3pm*
73 %{_mandir}/man3/IO::WrapTie.3pm*
This page took 0.121049 seconds and 3 git commands to generate.