]> git.pld-linux.org Git - SPECS.git/blob - gpg-ezmlm.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / gpg-ezmlm.spec
1 Summary:        GPG-Ezmlm encrypted mailing list
2 Summary(pl.UTF-8):      GPG-Ezmlm - szyfrowana lista dyskusyjna
3 Name:           gpg-ezmlm
4 Version:        0.3.2
5 Release:        0.8
6 Epoch:          0
7 License:        BSD
8 Group:          Applications/Mail
9 Source0:        http://www.synacklabs.net/projects/crypt-ml/%{name}-%{version}.tar.gz
10 # Source0-md5:  4541a06a407a74dd1110c62a8fdef484
11 Patch0:         %{name}-fixes.patch
12 URL:            http://www.synacklabs.net/projects/crypt-ml/
13 BuildRequires:  rpmbuild(macros) >= 1.194
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  sed >= 4.0
16 Requires:       gnupg
17 # requires actually just ezmlm.
18 Requires:       ezmlm-idx
19 Requires:       qmail
20 Requires:       perl-Digest-MD5
21 Requires:       perl-File-Sync
22 Requires:       perl-base
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 GPG-Ezmlm is an encrypted mailing list. PGP or GPG encrypted mails
28 sent to the list are re-encrypted with subscriber keys, allowing for
29 encrypted mail communications without requiring that all users know
30 all other users' keys. Key exchange during list subscription is
31 supported. It requires an existing Ezmlm installation to function.
32
33 %description -l pl.UTF-8
34 GPG-Ezmlm to szyfrowana lista dyskusyjna. Listy zaszyfrowane PGP lub
35 GPG wysłane na listę są ponownie szyfrowane kluczami subskrybentów, co
36 pozwala na szyfrowaną komunikację bez potrzeby posiadania przez
37 wszystkich kluczy pozostałych użytkowników. Wymiana kluczy podczas
38 zapisywania na listę jest obsługiwana. Pakiet wymaga do działania
39 istniejącej instalacji Ezmlma.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 sed -i -e '1s,^.*bin/perl,#!%{__perl},' *.pl
45 sed -i -e 's,/usr/local/bin/gpg,%{_bindir}/gpg,' *.p[lm] config
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 # duplicate
59 rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/*.pl
60
61 # regular nuking
62 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
63 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/gpg-ezmlm/.packlist
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 if [ $1 = 1 ]; then
70         %banner -e %{name} <<EOF
71 Read the bundled README how to use this package with ezmlm.
72 EOF
73 fi
74
75 %files
76 %defattr(644,root,root,755)
77 %doc LICENSE README TODO Changes
78 %attr(755,root,root) %{_bindir}/gpg-ezmlm-convert.pl
79 %attr(755,root,root) %{_bindir}/gpg-ezmlm-manage.pl
80 %attr(755,root,root) %{_bindir}/gpg-ezmlm-send.pl
81 %{perl_vendorlib}/GpgEzmlm.pm
82 %{_mandir}/man3/GpgEzmlm.3pm*
This page took 0.763548 seconds and 3 git commands to generate.