]> git.pld-linux.org Git - packages/ezmlm-idx.git/blob - ezmlm-idx.spec
- massive attack: adding Source-md5
[packages/ezmlm-idx.git] / ezmlm-idx.spec
1 %define ezmlm_ver       0.53
2 %define idx_ver         0.40
3 Summary:        ezmlm - high-speed mailing list manager for qmail
4 Summary(pl):    ezmlm - szybki zarz±dca list dyskysyjnych dla qmaila
5 Name:           ezmlm-idx
6 Version:        %{ezmlm_ver}_%{idx_ver}
7 Release:        2       
8 Epoch:          1
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/
20 BuildRequires:  groff
21 Obsoletes:      ezmlm
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Qmail mailing list manager + indexing, (remote) moderation, digest,
26 make patches, multi-language, MIME, global-interface, easy-to-use.
27
28 %description -l pl
29 Qmailowy zarz±dca list dyskusyjnych + indeksowanie, (zdalne)
30 moderowanie, obs³uga wielu jêzyków, MIME, globalny-interfejs, prosta
31 obs³uga.
32
33 %prep
34 %setup -q -n ezmlm-%{ezmlm_ver} -a1
35 %patch0 -p1
36 %patch1
37
38 mv -f ezmlm-idx-%{idx_ver}/* .
39 cat idx.patch | sed 's/conf-bin`/conf-bin2`/g' > idx2.patch
40 patch -s < 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
44
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
48
49 %build
50 %{__make}
51 %{__make} man
52 tar zxf %{SOURCE2}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin
57 echo "$RPM_BUILD_ROOT%{_mandir}" > conf-man
58
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}
62
63 install ezmlmrc $RPM_BUILD_ROOT%{_sysconfdir}/ezmlm
64
65 %{__make} setup
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72
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
76
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/*
This page took 0.135062 seconds and 3 git commands to generate.