]> git.pld-linux.org Git - packages/perl-common-sense.git/blame - perl-common-sense.spec
- updated to 3.75
[packages/perl-common-sense.git] / perl-common-sense.spec
CommitLineData
e2eb9b9e 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
e2eb9b9e 5%define pdir common
6%define pnam sense
7Summary: common::sense - save a tree AND a kitten, use common::sense!
c559a2f8 8Summary(pl.UTF-8): common::sense - zdroworozsądkowe ustawienia domyślne dla programów w Perlu
e2eb9b9e 9Name: perl-common-sense
28374402
JB
10Version: 3.75
11Release: 1
c559a2f8
JB
12# same as perl
13License: GPL v1+ or Artistic
e2eb9b9e 14Group: Development/Languages/Perl
c559a2f8 15Source0: http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pdir}-%{pnam}-%{version}.tar.gz
28374402 16# Source0-md5: 0929c6b03455ca988a9b4219aca15292
569fc577 17Patch0: install.patch
28374402 18URL: https://metacpan.org/release/common-sense
e2eb9b9e 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
28374402 21BuildRequires: rpmbuild(macros) >= 1.745
569fc577 22BuildArch: noarch
e2eb9b9e 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module implements some sane defaults for Perl programs, as
27defined by two typical (or not so typical - use your common sense)
28specimens of Perl coders.
29
30%description -l pl.UTF-8
31Moduł ten implementuje pewne zdroworozsądkowe ustawienia domyślne dla
32programów perlowych.
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
569fc577 36%patch0 -p1
e2eb9b9e 37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
c559a2f8 41%{__make}
e2eb9b9e 42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} pure_install \
49 DESTDIR=$RPM_BUILD_ROOT
50
569fc577 51%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/common/sense.pod
d1410f78 52
e2eb9b9e 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
c559a2f8 58%doc Changes LICENSE README
569fc577
JR
59%dir %{perl_vendorlib}/common
60%{perl_vendorlib}/common/sense.pm
e2eb9b9e 61%{_mandir}/man3/common::sense.3pm*
This page took 0.083187 seconds and 4 git commands to generate.