]> git.pld-linux.org Git - SPECS.git/blob - perl-Tie-Dir.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / perl-Tie-Dir.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Tie
6 %define         pnam    Dir
7 Summary:        Tie::Dir - class definition for reading directories via a tied hash
8 Summary(pl.UTF-8):      Tie::Dir - definicja klasy do czytania katalogów poprzez powiązany hasz
9 Name:           perl-Tie-Dir
10 Version:        1.02
11 Release:        12
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  8f0ebfdc20e137dc96dec86f916efbc2
16 URL:            http://search.cpan.org/dist/Tie-Dir/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module provides a method of reading directories using a hash.
24
25 %description -l pl.UTF-8
26 Ten moduł udostępnia sposób czytania katalogów przy użyciu hasza.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %{perl_vendorlib}/Tie/Dir.pm
50 %{_mandir}/man3/*
This page took 0.219112 seconds and 3 git commands to generate.