]> git.pld-linux.org Git - packages/perl-File-Which.git/blob - perl-File-Which.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/perl-File-Which.git] / perl-File-Which.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    File
7 %define pnam    Which
8 Summary:        File::Which Perl module - portable implementation of the `which' utility
9 Summary(pl):    Modu³ Perla File::Which - przeno¶na implementacja programu `which'
10 Name:           perl-File-Which
11 Version:        0.05
12 Release:        2
13 License:        GPL or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl-devel >= 5.6
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 File::Which Perl module was created to be able to get the paths to
23 executable programs on systems under which the `which' program wasn't
24 implemented in the shell.
25
26 %description -l pl
27 Modu³ Perla File::Which powsta³, aby umo¿liwiæ znajdywanie scie¿ki
28 zadanego programu w systemach, w których program `which' nie jest
29 dostêpny z pow³oki.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor 
37 %{__make}
38 %{!?_without_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README
52 %{_bindir}/*
53 %{perl_vendorlib}/File/*.pm
54 %{_mandir}/man[13]/*
This page took 0.326143 seconds and 3 git commands to generate.