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