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 Source1: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/%{name}-%{idx_ver}.tar.gz
13 Source2: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ezman.html.tar.gz
14 Patch0: %{name}-opt.patch
15 Patch1: ezmlm-glibc.patch
16 URL: http://www.ezmlm.org/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Qmail mailing list manager + indexing, (remote) moderation, digest,
23 make patches, multi-language, MIME, global-interface, easy-to-use.
26 Qmailowy zarz±dca list dyskusyjnych + indeksowanie, (zdalne)
27 moderowanie, obs³uga wielu jêzyków, MIME, globalny-interfejs, prosta
31 %setup -q -n ezmlm-%{ezmlm_ver} -a1
35 mv -f ezmlm-idx-%{idx_ver}/* .
36 cat idx.patch | sed 's/conf-bin`/conf-bin2`/g' > idx2.patch
38 echo "%{_bindir}" > conf-bin2
39 cat Makefile | sed 's/auto_bin `head -1 conf-bin`/auto_bin `head -1 conf-bin2`/g' > Makefile.pld
40 mv -f Makefile.pld Makefile
42 mv -f ezmlmrc.pl ezmlmrc.pl.org
43 echo "%{idx_ver} - This must be on 1 and start in pos 1" > ezmlmrc.pl
44 cat ezmlmrc.pl.org >> ezmlmrc.pl
52 rm -rf $RPM_BUILD_ROOT
53 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
54 echo "$RPM_BUILD_ROOT%{_mandir}" > conf-man
56 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm
57 install -d $RPM_BUILD_ROOT%{_bindir}
58 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
60 install ezmlmrc $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
70 %doc BLURB CHANGES CHANGES.idx FAQ.idx README README.idx
71 %doc SYSDEPS TARGETS UPGRADE.idx DOWNGRADE.idx ezmlmrc
72 %doc ezmlmrc.*[a-zA-Z] ezman
74 %attr(755,root,root) %dir %{_sysconfdir}/ezmlm
75 %attr(755,root,root) %{_bindir}/ezmlm-*
76 %attr(644,root,root) %{_mandir}/man[15]/*
77 %attr(644,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/ezmlm/*