3 Summary: ezmlm - high-speed mailing list manager for qmail
4 Summary(pl): ezmlm - szybki zarz±dca list dyskysyjnych dla qmaila
6 Version: %{ezmlm_ver}_%{idx_ver}
9 License: DJB (base ezmlm), GPL (ezmlm-idx additions) - non distributable as a whole?
10 Group: Applications/System
11 Source0: http://cr.yp.to/software/ezmlm-%{ezmlm_ver}.tar.gz
12 # Source0-md5: 108c632caaa8cdbfd3041e6c449191b2
13 Source1: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/%{name}-%{idx_ver}.tar.gz
14 # Source1-md5: c6137114060cff19301a956e73d46fc0
15 Source2: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ezman.html.tar.gz
16 # Source2-md5: 3ebdd5289f302063d21be43aaeef0585
17 Patch0: %{name}-opt.patch
18 Patch1: ezmlm-glibc.patch
19 URL: http://www.ezmlm.org/
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Qmail mailing list manager + indexing, (remote) moderation, digest,
26 make patches, multi-language, MIME, global-interface, easy-to-use.
29 Qmailowy zarz±dca list dyskusyjnych + indeksowanie, (zdalne)
30 moderowanie, obs³uga wielu jêzyków, MIME, globalny-interfejs, prosta
34 %setup -q -n ezmlm-%{ezmlm_ver} -a1
38 mv -f ezmlm-idx-%{idx_ver}/* .
39 cat idx.patch | sed 's/conf-bin`/conf-bin2`/g' > idx2.patch
41 echo "%{_bindir}" > conf-bin2
42 cat Makefile | sed 's/auto_bin `head -1 conf-bin`/auto_bin `head -1 conf-bin2`/g' > Makefile.pld
43 mv -f Makefile.pld Makefile
45 mv -f ezmlmrc.pl ezmlmrc.pl.org
46 echo "%{idx_ver} - This must be on 1 and start in pos 1" > ezmlmrc.pl
47 cat ezmlmrc.pl.org >> ezmlmrc.pl
55 rm -rf $RPM_BUILD_ROOT
56 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
57 echo "$RPM_BUILD_ROOT%{_mandir}" > conf-man
59 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm
60 install -d $RPM_BUILD_ROOT%{_bindir}
61 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
63 install ezmlmrc $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %doc BLURB CHANGES CHANGES.idx FAQ.idx README README.idx
74 %doc SYSDEPS TARGETS UPGRADE.idx DOWNGRADE.idx ezmlmrc
75 %doc ezmlmrc.*[a-zA-Z] ezman
77 %attr(755,root,root) %dir %{_sysconfdir}/ezmlm
78 %attr(755,root,root) %{_bindir}/ezmlm-*
79 %attr(644,root,root) %{_mandir}/man[15]/*
80 %attr(644,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/ezmlm/*