]> git.pld-linux.org Git - packages/perl-UNIVERSAL-moniker.git/blame - perl-UNIVERSAL-moniker.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-UNIVERSAL-moniker.git] / perl-UNIVERSAL-moniker.spec
CommitLineData
7b0cf5c5 1#
2# Conditional build:
98d192c6 3%bcond_without tests # do not perform "make test"
389e44aa 4%bcond_without autodeps # don't BR packages needed only for resolving deps
7b0cf5c5 5#
f1e10109 6%define pdir UNIVERSAL
7%define pnam moniker
e1c073ed 8Summary: UNIVERSAL::moniker - guess how class would be called in real world
aa35de75 9Summary(pl.UTF-8): UNIVERSAL::moniker - odgadywanie nazwy obiektu w świecie rzeczywistym
e18c88f0 10Name: perl-UNIVERSAL-moniker
2ff2ac6b 11Version: 0.08
be69e7cf 12Release: 2
d638aa68 13# same as perl
98d192c6 14License: GPL v1+ or Artistic
7b0cf5c5 15Group: Development/Languages/Perl
0c00e0c0 16Source0: http://www.cpan.org/modules/by-module/UNIVERSAL/%{pdir}-%{pnam}-%{version}.tar.gz
2ff2ac6b 17# Source0-md5: e59b97ccf88f9fa68c3e5c18d7059d57
0c00e0c0 18URL: http://search.cpan.org/dist/UNIVERSAL-moniker/
d8ef9cb3 19BuildRequires: perl-devel >= 1:5.8.0
7b0cf5c5 20BuildRequires: rpm-perlprov >= 4.1-13
5bdb1c27 21%if %{with autodeps} || %{with tests}
7b0cf5c5 22BuildRequires: perl-Lingua-EN-Inflect >= 1.88
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28UNIVERSAL::moniker enables classes to make a good guess at what they
29would be called in the real world.
30
f43c4328
JR
31%description -l pl.UTF-8
32UNIVERSAL::moniker pozwala klasom na odgadnięcia jak w świecie
33rzeczywistym nazywałby się należące do nich obiekty.
d638aa68 34
7b0cf5c5 35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41%{__make}
98d192c6 42
389e44aa 43%{?with_tests:%{__make} test}
7b0cf5c5 44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc README
0c00e0c0 57%{perl_vendorlib}/UNIVERSAL/*.pm
7b0cf5c5 58%{_mandir}/man3/*
This page took 0.118668 seconds and 4 git commands to generate.