3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
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
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
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
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*