]> git.pld-linux.org Git - packages/perl-Mail-GnuPG.git/blob - perl-Mail-GnuPG.spec
cc4b52c0c7388a9fc917a1b10d2062704d300e46
[packages/perl-Mail-GnuPG.git] / perl-Mail-GnuPG.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Mail
7 %define         pnam    GnuPG
8 Summary:        Mail::GnuPG - Process email with GPG
9 Summary(pl.UTF-8):      Mail::GnuPG - przetwarzanie poczty elektronicznej przy użyciu GPG
10 Name:           perl-Mail-GnuPG
11 Version:        0.17
12 Release:        1
13 License:        GPL v2 or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  b6c94307bcac31a4f6c7a47aa8065bd9
17 URL:            http://search.cpan.org/dist/Mail-GnuPG/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-GnuPG-Interface
22 BuildRequires:  perl-MIME-tools
23 BuildRequires:  perl-MailTools
24 BuildRequires:  perl-Test-Simple
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Use GnuPG::Interface to process or create PGP signed or encrypted
31 email.
32
33 %description -l pl.UTF-8
34 GnuPG::Interface służy do przetwarzania i tworzenia podpisanej lub
35 zaszyfrowanej PGP poczty elektronicznej.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Build.PL \
42         installdirs=vendor \
43         destdir=$RPM_BUILD_ROOT
44
45 ./Build
46
47 %{?with_tests:./Build test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 ./Build install
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/Mail/*.pm
61 %{_mandir}/man3/*
This page took 0.027157 seconds and 2 git commands to generate.