]> git.pld-linux.org Git - packages/perl-UNIVERSAL-moniker.git/blame - perl-UNIVERSAL-moniker.spec
- initial release
[packages/perl-UNIVERSAL-moniker.git] / perl-UNIVERSAL-moniker.spec
CommitLineData
7b0cf5c5 1#
2# Conditional build:
3# _with_tests - perform "make test"
4# _without_autodeps - don't BR packages needed only for resolving deps
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir UNIVERSAL
8%define pnam moniker
9Summary: Guess how class would be called in real world
10Name: perl-%{pdir}-%{pnam}
11Version: 0.03
12Release: 1
13License: Same as Perl itself
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 281ec7f40432bb100f36ebe38632ec66
17BuildRequires: perl-devel >= 5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19%if 0%{!?_without_autodeps:1}%{?_with_tests:1}
20BuildRequires: perl-Lingua-EN-Inflect >= 1.88
21%endif
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26UNIVERSAL::moniker enables classes to make a good guess at what they
27would be called in the real world.
28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35%{__make}
36%{?_with_tests:%{__make} test}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc README
50%{perl_vendorlib}/%{pdir}/*.pm
51%{_mandir}/man3/*
This page took 0.045321 seconds and 4 git commands to generate.