1 Summary: GPG-Ezmlm encrypted mailing list
2 Summary(pl.UTF-8): GPG-Ezmlm - szyfrowana lista dyskusyjna
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
17 # requires actually just ezmlm.
20 Requires: perl-Digest-MD5
21 Requires: perl-File-Sync
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
44 sed -i -e '1s,^.*bin/perl,#!%{__perl},' *.pl
45 sed -i -e 's,/usr/local/bin/gpg,%{_bindir}/gpg,' *.p[lm] config
48 %{__perl} Makefile.PL \
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/*.pl
62 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
63 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/gpg-ezmlm/.packlist
66 rm -rf $RPM_BUILD_ROOT
70 %banner -e %{name} <<EOF
71 Read the bundled README how to use this package with ezmlm.
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*