3 %bcond_without tests # do not perform "make test"
6 %define pnam Scratch-Structured
7 Summary: Directory::Scratch::Structured - creates temporary files and directories from a structured description
8 Summary(pl.UTF-8): Directory::Scratch::Structured - tworzenie plików i katalogów tymczasowych z opisu strukturalnego
9 Name: perl-Directory-Scratch-Structured
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Directory/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: ef6155cc8a9723e0e9614508aa1c592d
16 URL: http://search.cpan.org/dist/Directory-Scratch-Structured/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Data-TreeDumper
21 BuildRequires: perl-Directory-Scratch
22 BuildRequires: perl-Readonly
23 BuildRequires: perl-Sub-Exporter
24 BuildRequires: perl-Sub-Install
25 BuildRequires: perl-Test-Block
26 BuildRequires: perl-Test-Exception
27 BuildRequires: perl-Test-NoWarnings
28 BuildRequires: perl-Test-Strict
29 BuildRequires: perl-Test-Warn
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 This module adds a create_structured_tree subroutine to the
38 %description -l pl.UTF-8
39 Ten moduł dodaje procedurę create_structured_tree do
43 %setup -q -n %{pdir}-%{pnam}-%{version}
47 destdir=$RPM_BUILD_ROOT \
51 %{?with_tests:./Build test}
54 rm -rf $RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %dir %{perl_vendorlib}/Directory/Scratch
65 %{perl_vendorlib}/Directory/Scratch/Structured.pm
66 %{_mandir}/man3/Directory::Scratch::Structured.3pm*