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 |