mailman/mailman.spec

changeset 185
a629c9ffef9d
parent 56
70d79f7a1825
child 186
79d9e4114aab
equal deleted inserted replaced
3:9c36b2d81b5b 4:8251e4ba5872
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.11
35 Release: 20090106 35 Release: 20090420
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
43 Patch0: mailman.patch 43 Patch0: mailman.patch
44 44
45 # build information 45 # build information
46 Prefix: %{l_prefix} 46 Prefix: %{l_prefix}
47 BuildRoot: %{l_buildroot} 47 BuildRoot: %{l_buildroot}
48 BuildPreReq: OpenPKG, openpkg >= 20060823, python 48 BuildPreReq: OpenPKG, openpkg >= 20060823, python, make
49 PreReq: OpenPKG, openpkg >= 20060823, python, MTA 49 PreReq: OpenPKG, openpkg >= 20060823, python, MTA
50 AutoReq: no 50 AutoReq: no
51 AutoReqProv: no 51 AutoReqProv: no
52 52
53 %description 53 %description
81 --prefix=%{l_prefix}/libexec/mailman \ 81 --prefix=%{l_prefix}/libexec/mailman \
82 --exec-prefix=%{l_prefix}/libexec/mailman \ 82 --exec-prefix=%{l_prefix}/libexec/mailman \
83 --sysconfdir=%{l_prefix}/etc/mailman \ 83 --sysconfdir=%{l_prefix}/etc/mailman \
84 --with-var-prefix=%{l_prefix}/var/mailman \ 84 --with-var-prefix=%{l_prefix}/var/mailman \
85 --with-username=%{l_nusr} \ 85 --with-username=%{l_nusr} \
86 --with-groupname=%{l_mgrp} \ 86 --with-groupname=%{l_ngrp} \
87 --with-cgi-gid=%{l_ngrp} \ 87 --with-cgi-gid=%{l_ngrp} \
88 --with-mail-gid=%{l_mgrp} \ 88 --with-mail-gid=%{l_ngrp} \
89 --with-cgi-ext="" \ 89 --with-cgi-ext="" \
90 --with-urlhost="localhost" \ 90 --with-urlhost="localhost" \
91 --with-mailhost="localhost" \ 91 --with-mailhost="localhost" \
92 --without-permcheck \ 92 --without-permcheck \
93 --enable-static 93 --enable-static
94 94
95 # build package 95 # build package
96 %{l_make} %{l_mflags} 96 %{l_make} %{l_mflags -o}
97 97
98 %install 98 %install
99 # install package 99 # install package
100 rm -rf $RPM_BUILD_ROOT 100 rm -rf $RPM_BUILD_ROOT
101 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT DIRSETGID=true 101 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT DIRSETGID=true

mercurial