]> git.pld-linux.org Git - packages/perl-UNIVERSAL-moniker.git/blob - perl-UNIVERSAL-moniker.spec
- updated to 0.08
[packages/perl-UNIVERSAL-moniker.git] / perl-UNIVERSAL-moniker.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 %bcond_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
9 Summary:        UNIVERSAL::moniker - guess how class would be called in real world
10 Summary(pl):    UNIVERSAL::moniker - odgadywanie nazwy obiektu w ¶wiecie rzeczywistym
11 Name:           perl-UNIVERSAL-moniker
12 Version:        0.08
13 Release:        1
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  e59b97ccf88f9fa68c3e5c18d7059d57
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with autodeps} || %{with tests}
22 BuildRequires:  perl-Lingua-EN-Inflect  >= 1.88
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 UNIVERSAL::moniker enables classes to make a good guess at what they
29 would be called in the real world.
30
31 %description -l pl
32 UNIVERSAL::moniker pozwala klasom na odgadniêcia jak w ¶wiecie
33 rzeczywistym nazywa³by siê nale¿±ce do nich obiekty.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make}
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README
57 %{perl_vendorlib}/%{pdir}/*.pm
58 %{_mandir}/man3/*
This page took 0.051184 seconds and 4 git commands to generate.