3 %bcond_without tests # do not perform "make test"
7 Summary: String::Scanf - emulates the sscanf() of the C stdio library
8 Summary(pl.UTF-8): String::Scanf - emulacja funkcji sscanf() pochodzącej z biblioteki C stdio
9 Name: perl-String-Scanf
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 6fe49bcefcf7dcc58ad9fea207277552
17 URL: http://search.cpan.org/dist/String-Scanf/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 String::Scanf supports scanning strings for data using formats similar
25 to the libc/stdio sscanf().
27 %description -l pl.UTF-8
28 Moduł String::Scanf pozwala na skanowanie łańcuchów poprzez łańcuchy
29 formatujące podobne do tych używanych w funkcji sscanf() libc/stdio.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/String/Scanf.pm