]> git.pld-linux.org Git - packages/perl-Directory-Scratch-Structured.git/blob - perl-Directory-Scratch-Structured.spec
- updated to 0.04
[packages/perl-Directory-Scratch-Structured.git] / perl-Directory-Scratch-Structured.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Directory
7 %define pnam    Scratch-Structured
8 Summary:        Directory::Scratch::Structured - creates temporary files and directories from a structured description
9 Summary(pl.UTF-8):      Directory::Scratch::Structured - tworzenie plików i katalogów tymczasowych z opisu strukturalnego
10 Name:           perl-Directory-Scratch-Structured
11 Version:        0.04
12 Release:        1
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Directory/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  ef6155cc8a9723e0e9614508aa1c592d
17 URL:            http://search.cpan.org/dist/Directory-Scratch-Structured/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Data-TreeDumper
22 BuildRequires:  perl-Directory-Scratch
23 BuildRequires:  perl-Readonly
24 BuildRequires:  perl-Sub-Exporter
25 BuildRequires:  perl-Sub-Install
26 BuildRequires:  perl-Test-Block
27 BuildRequires:  perl-Test-Dependencies
28 BuildRequires:  perl-Test-Distribution
29 BuildRequires:  perl-Test-Exception
30 BuildRequires:  perl-Test-NoWarnings
31 BuildRequires:  perl-Test-Perl-Critic
32 BuildRequires:  perl-Test-Pod
33 BuildRequires:  perl-Test-Pod-Coverage
34 BuildRequires:  perl-Test-Spelling
35 BuildRequires:  perl-Test-Strict
36 BuildRequires:  perl-Test-Warn
37 %endif
38 BuildArch:      noarch
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 This module adds a create_structured_tree subroutine to the
43 Directory::Scratch.
44
45 %description -l pl.UTF-8
46 Ten moduł dodaje procedurę create_structured_tree do
47 Directory::Scratch.
48
49 %prep
50 %setup -q -n %{pdir}-%{pnam}-%{version}
51
52 %build
53 %{__perl} Build.PL \
54         destdir=$RPM_BUILD_ROOT \
55         installdirs=vendor
56 ./Build
57
58 %{?with_tests:./Build test}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 ./Build install
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc Changes README
71 %{perl_vendorlib}/Directory/Scratch/*.pm
72 %{_mandir}/man3/*
This page took 0.033268 seconds and 4 git commands to generate.