]> git.pld-linux.org Git - packages/perl-Roman.git/blob - perl-Roman.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Roman.git] / perl-Roman.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pnam    Roman
6 Summary:        Perl module for conversion between Roman and Arabic numerals
7 Summary(pl.UTF-8):      Moduł Perla do konwersji między liczbami rzymskimi a arabskimi
8 Name:           perl-Roman
9 Version:        1.23
10 Release:        1
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/%{pnam}-%{version}.zip
15 # Source0-md5:  5a80a72a8ff4b1956b7f3258b24ab403
16 URL:            http://search.cpan.org/dist/Roman/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRequires:  unzip
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This package provides some functions which help conversion of numeric
25 notation between Roman and Arabic.
26
27 %description -l pl.UTF-8
28 Pakiet udostępnia kilka funkcji które pomagają w konwersji
29 numerycznych notacji pomiędzy liczbami rzymskimi a arabskimi.
30
31 %prep
32 %setup -q -n %{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorlib}/Roman.pm
54 %{_mandir}/man3/Roman.3pm*
This page took 0.083041 seconds and 4 git commands to generate.