]> git.pld-linux.org Git - packages/perl-Convert-UU.git/blob - perl-Convert-UU.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Convert-UU.git] / perl-Convert-UU.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Convert
6 %define         pnam    UU
7 Summary:        Convert::UU - Perl module for uuencode and uudecode
8 Summary(pl.UTF-8):      Convert::UU - moduł Perla zastępujący uuencode i uudecode
9 Name:           perl-Convert-UU
10 Version:        0.5201
11 Release:        1
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  f60f49d15770503efa5ed0c81296ef2f
16 URL:            http://search.cpan.org/dist/Convert-UU/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Convert::UU is a Perl module for uuencode and uudecode.
24
25 %description -l pl.UTF-8
26 Convert::UU jest modułem Perla zastępującym uuencode i uudecode.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc ChangeLog
50 %attr(755,root,root) %{_bindir}/*
51 %{perl_vendorlib}/Convert/UU.pm
52 %{_mandir}/man[13]/*
This page took 0.113926 seconds and 4 git commands to generate.