]>
Commit | Line | Data |
---|---|---|
33efc642 | 1 | # TODO |
33efc642 | 2 | # - version 0.43 is out |
94c8399b AM |
3 | %define ezmlm_ver 0.53 |
4 | %define idx_ver 0.40 | |
ba028fa3 | 5 | Summary: ezmlm - high-speed mailing list manager for qmail |
3f6839a3 | 6 | Summary(pl.UTF-8): ezmlm - szybki zarządca list dyskysyjnych dla qmaila |
dfbf2c65 | 7 | Name: ezmlm-idx |
94c8399b | 8 | Version: %{ezmlm_ver}_%{idx_ver} |
241019fc | 9 | Release: 2.2 |
27db1b6c | 10 | Epoch: 1 |
76e015c6 | 11 | License: DJB (base ezmlm), GPL (ezmlm-idx additions) - non distributable as a whole? |
f36ab5ea | 12 | Group: Applications/System |
94c8399b | 13 | Source0: http://cr.yp.to/software/ezmlm-%{ezmlm_ver}.tar.gz |
3fb61b1b | 14 | # Source0-md5: 108c632caaa8cdbfd3041e6c449191b2 |
94c8399b | 15 | Source1: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/%{name}-%{idx_ver}.tar.gz |
3fb61b1b | 16 | # Source1-md5: c6137114060cff19301a956e73d46fc0 |
94c8399b | 17 | Source2: http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ezman.html.tar.gz |
3fb61b1b | 18 | # Source2-md5: 3ebdd5289f302063d21be43aaeef0585 |
dfbf2c65 | 19 | Patch0: %{name}-opt.patch |
376eb4ee | 20 | Patch1: ezmlm-glibc.patch |
241019fc | 21 | Patch2: %{name}-DESTDIR.patch |
94c8399b | 22 | URL: http://www.ezmlm.org/ |
94c8399b | 23 | BuildRequires: groff |
ba028fa3 | 24 | Obsoletes: ezmlm |
ecd1c080 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
97285465 AM |
26 | |
27 | %description | |
08b751c8 | 28 | Qmail mailing list manager + indexing, (remote) moderation, digest, |
5ff1a4c8 | 29 | make patches, multi-language, MIME, global-interface, easy-to-use. |
97285465 | 30 | |
3f6839a3 JR |
31 | %description -l pl.UTF-8 |
32 | Qmailowy zarządca list dyskusyjnych + indeksowanie, (zdalne) | |
33 | moderowanie, obsługa wielu języków, MIME, globalny-interfejs, prosta | |
34 | obsługa. | |
97285465 AM |
35 | |
36 | %prep | |
76e015c6 | 37 | %setup -q -n ezmlm-%{ezmlm_ver} -a1 |
97285465 | 38 | %patch0 -p1 |
376eb4ee | 39 | %patch1 |
241019fc | 40 | %patch2 -p1 |
97285465 | 41 | |
94c8399b | 42 | mv -f ezmlm-idx-%{idx_ver}/* . |
4188c2ea | 43 | cat idx.patch | sed 's/conf-bin`/conf-bin2`/g' > idx2.patch |
44 | patch -s < idx2.patch | |
45 | echo "%{_bindir}" > conf-bin2 | |
702b67c0 | 46 | cat Makefile | sed 's/auto_bin `head -n 1 conf-bin`/auto_bin `head -n 1 conf-bin2`/g' > Makefile.pld |
4188c2ea | 47 | mv -f Makefile.pld Makefile |
97285465 | 48 | |
94c8399b AM |
49 | mv -f ezmlmrc.pl ezmlmrc.pl.org |
50 | echo "%{idx_ver} - This must be on 1 and start in pos 1" > ezmlmrc.pl | |
51 | cat ezmlmrc.pl.org >> ezmlmrc.pl | |
52 | ||
97285465 | 53 | %build |
5ff1a4c8 | 54 | %{__make} |
9d321a97 | 55 | %{__make} man |
8bdb2909 | 56 | tar zxf %{SOURCE2} |
97285465 AM |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
241019fc ER |
60 | echo "%{_bindir}" > conf-bin |
61 | echo "%{_mandir}" > conf-man | |
8bdb2909 | 62 | |
b8580fb4 | 63 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm |
97285465 | 64 | install -d $RPM_BUILD_ROOT%{_bindir} |
dfbf2c65 | 65 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5} |
97285465 | 66 | |
b8580fb4 | 67 | install ezmlmrc $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm |
97285465 | 68 | |
241019fc ER |
69 | %{__make} setup \ |
70 | DESTDIR=$RPM_BUILD_ROOT | |
8bdb2909 | 71 | |
97285465 AM |
72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | ||
dd23f57e | 78 | %doc BLURB CHANGES CHANGES.idx FAQ.idx README README.idx |
79 | %doc SYSDEPS TARGETS UPGRADE.idx DOWNGRADE.idx ezmlmrc | |
80 | %doc ezmlmrc.*[a-zA-Z] ezman | |
97285465 | 81 | |
b8580fb4 | 82 | %attr(755,root,root) %dir %{_sysconfdir}/ezmlm |
83 | %attr(755,root,root) %{_bindir}/ezmlm-* | |
44816a2f ER |
84 | %{_mandir}/man[15]/* |
85 | %config %verify(not md5 mtime size) %{_sysconfdir}/ezmlm/* |