3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: TextStructured perl module
7 Summary(pl.UTF-8): Moduł Perla TextStructured
8 Name: perl-TextStructured
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Text/TextStructured-%{version}.tar.gz
15 # Source0-md5: dd7937a44d09b0206f942e6dc4b57e20
16 Patch0: %{name}-paths.patch
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 TextStructured perl module.
25 %description -l pl.UTF-8
26 Moduł Perla TextStructured.
29 %setup -q -n TextStructured-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Text/Structured.pm
52 %{perl_vendorlib}/Text/StructuredBase.pm