]> git.pld-linux.org Git - packages/perl-common-sense.git/blob - perl-common-sense.spec
- added missing %dir in %files section
[packages/perl-common-sense.git] / perl-common-sense.spec
1 # $Revision:
2 #
3 # Conditional build:
4 %bcond_without  tests           # do not perform "make test"
5 #
6 %include        /usr/lib/rpm/macros.perl
7 %define pdir    common
8 %define pnam    sense
9 Summary:        common::sense - save a tree AND a kitten, use common::sense!
10 Summary(pl.UTF-8):      common::sense - dostarcza zdroworozsądkowe ustawienia domyślne
11 Name:           perl-common-sense
12 Version:        2.01
13 Release:        2
14 License:        unknown
15 Group:          Development/Languages/Perl
16 Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  61446704bf14d1b70c2be0ec479e2188
18 URL:            http://search.cpan.org/dist/Devel-FindRef/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module implements some sane defaults for Perl programs, as
25 defined by two typical (or not so typical - use your common sense)
26 specimens of Perl coders.
27
28 %description -l pl.UTF-8
29 Moduł ten implementuje pewne zdroworozsądkowe ustawienia domyślne dla
30 programów perlowych.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make} \
39         CC="%{__cc}" \
40         OPTIMIZE="%{rpmcflags}"
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} pure_install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %dir %{perl_vendorlib}/common
56 %{perl_vendorlib}/common/sense.pm
57 %{_mandir}/man3/common::sense.3pm*
This page took 0.069646 seconds and 4 git commands to generate.