mailman/mailman.spec

changeset 371
3d7d8c68b2fc
parent 188
78de2aaa27e2
child 392
886f36c75532
equal deleted inserted replaced
6:4307d303044e 7:6ccf26d56930
29 Packager: OpenPKG Foundation e.V. 29 Packager: OpenPKG Foundation e.V.
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: EVAL 31 Class: EVAL
32 Group: Mail 32 Group: Mail
33 License: GPL 33 License: GPL
34 Version: 2.1.11 34 Version: 2.1.14
35 Release: 20090420 35 Release: 20110915
36 36
37 # list of sources 37 # list of sources
38 Source0: http://switch.dl.sourceforge.net/mailman/mailman-%{version}.tgz 38 Source0: http://switch.dl.sourceforge.net/mailman/mailman-%{version}.tgz
39 Source1: manpages.tar.gz 39 Source1: manpages.tar.gz
40 Source2: mailman-sendmail.m4 40 Source2: mailman-sendmail.m4
68 68
69 %prep 69 %prep
70 %setup -q 70 %setup -q
71 %setup -q -D -T -a 1 71 %setup -q -D -T -a 1
72 %patch -p0 72 %patch -p0
73 %{l_shtool} subst \
74 -e 's;\(OWNERS_CAN_DELETE_THEIR_OWN_LISTS\) = No.*;\1 = Yes;' \
75 Mailman/Defaults.py*
73 76
74 %build 77 %build
75 # configure package 78 # configure package
76 CC="%{l_cc}" \ 79 CC="%{l_cc}" \
77 CFLAGS="%{l_cflags -O}" \ 80 CFLAGS="%{l_cflags -O}" \
154 %{l_shtool} install -c -m 755 %{l_value -s -a} \ 157 %{l_shtool} install -c -m 755 %{l_value -s -a} \
155 %{SOURCE rc.mailman} ${RPM_BUILD_ROOT}%{l_prefix}/etc/rc.d/ 158 %{SOURCE rc.mailman} ${RPM_BUILD_ROOT}%{l_prefix}/etc/rc.d/
156 159
157 # avoid root permissions on log file creation 160 # avoid root permissions on log file creation
158 touch ${RPM_BUILD_ROOT}%{l_prefix}/var/mailman/logs/error 161 touch ${RPM_BUILD_ROOT}%{l_prefix}/var/mailman/logs/error
162 touch ${RPM_BUILD_ROOT}%{l_prefix}/var/mailman/logs/fromusenet
159 163
160 # determine installation files 164 # determine installation files
161 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 165 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
162 %{l_files_std} \ 166 %{l_files_std} \
163 '%dir %attr(2700,%{l_nusr},%{l_mgrp}) %{l_prefix}/libexec/mailman/mail/mailman-sendmail' \ 167 '%dir %attr(2700,%{l_nusr},%{l_mgrp}) %{l_prefix}/libexec/mailman/mail/mailman-sendmail' \

mercurial