3 %bcond_without tests # do not perform "make test"
6 %define pnam TextStructured
7 Summary: TextStructured perl module
8 Summary(pl.UTF-8): Moduł Perla TextStructured
9 Name: perl-TextStructured
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Text/TextStructured-%{version}.tar.gz
16 # Source0-md5: dd7937a44d09b0206f942e6dc4b57e20
17 Patch0: %{name}-paths.patch
18 URL: http://search.cpan.org/dist/TextStructured/
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 TextStructured perl module.
27 %description -l pl.UTF-8
28 Moduł Perla TextStructured.
31 %setup -q -n TextStructured-%{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}/Text/Structured.pm
54 %{perl_vendorlib}/Text/StructuredBase.pm