]> git.pld-linux.org Git - packages/perl-Convert-PEM.git/blob - perl-Convert-PEM.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Convert-PEM.git] / perl-Convert-PEM.spec
1 %define         pdir    Convert
2 %define         pnam    PEM
3 Summary:        Convert::PEM Perl module - access to ASN.1-encoded PEM files
4 Summary(pl.UTF-8):      Moduł Perla Convert::PEM - dostęp do plików PEM kodowanych ASN.1
5 Name:           perl-Convert-PEM
6 Version:        0.08
7 Release:        1
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  a55c927457035806228e62b403551f13
13 URL:            http://search.cpan.org/dist/Convert-PEM/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  perl-Class-ErrorHandler
16 BuildRequires:  perl-Convert-ASN1 >= 0.10
17 BuildRequires:  perl-Crypt-DES_EDE3
18 BuildRequires:  perl-Digest-MD5
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 Requires:       perl-Class-ErrorHandler
21 Requires:       perl-Convert-ASN1 >= 0.10
22 Requires:       perl-Crypt-DES_EDE3
23 Requires:       perl-Digest-MD5
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Convert::PEM reads and writes PEM files containing ASN.1-encoded
29 objects. The files can optionally be encrypted using a symmetric
30 cipher algorithm, such as 3DES.
31
32 %description -l pl.UTF-8
33 Moduł Convert::PEM służy do odczytu i zapisu plików PEM zawierających
34 obiekty zakodowane zgodnie z ASN.1. Pliki mogą być opcjonalne
35 zaszyfrowane algorytmem symetrycznym, takim jak na przykład 3DES.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
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 Changes README
57 %{perl_vendorlib}/Convert/PEM.pm
58 %{perl_vendorlib}/Convert/PEM
59 %{_mandir}/man3/*
This page took 0.024213 seconds and 3 git commands to generate.