/[smecontribs]/rpms/smeserver-mailman/contribs8/smeserver-mailman.spec
ViewVC logotype

Contents of /rpms/smeserver-mailman/contribs8/smeserver-mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Sat Jul 13 03:19:27 2013 UTC (11 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-39_el5_sme
Changes since 1.3: +12 -4 lines
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-39.sme
- fix expanding pyc pyo [SME: 7730]

1 # $Id: smeserver-mailman.spec,v 1.3 2013/07/02 14:16:32 unnilennium Exp $
2 # Authority: gordonr
3 # Name: Gordon Rowell
4
5 Summary: Mailman configuration for SME server.
6 %define name smeserver-mailman
7 Name: %{name}
8 %define version 1.3.0
9 %define release 39
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Applications/Internet
14 Source: %{name}-%{version}.tar.gz
15 Patch0: smeserver-mailman-1.3.0-relocate.patch
16 Patch1: smeserver-mailman-1.3.0-relocate.patch2
17 Patch2: smeserver-mailman-1.3.0-mailmanmail.patch
18 Patch3: smeserver-mailman-1.3.0-smelist.patch
19 Patch4: smeserver-mailman-1.3.0-createlinks.patch2
20 Patch5: smeserver-mailman-1.3.0-postinstall.patch
21 Patch6: smeserver-mailman-1.3.0-postinstall.patch2
22 Patch7: smeserver-mailman-1.3.0-firsttime.patch
23 Patch8: smeserver-mailman-1.3.0-actionorder.patch
24 Patch9: smeserver-mailman-1.3.0-alias2mailman.patch
25 Patch10: smeserver-mailman-1.3.0-smelist.patch2
26 Patch11: smeserver-mailman-1.3.0-locale-2008-04-22.patch
27 Patch12: smeserver-mailman-1.3.0-archives.patch
28 Patch13: smeserver-mailman-1.3.0-locale-2008-04-23.patch
29 Patch14: smeserver-mailman-1.3.0-locale-2008-04-26.patch
30 Patch15: smeserver-mailman-1.3.0-add2general.patch
31 Patch16: smeserver-mailman-1.3.0-locale-2008-05-05.patch
32 Patch17: smeserver-mailman-1.3.0-locale-2008-05-21.patch
33 Patch18: smeserver-mailman-1.3.0-locale-2008-06-27.patch
34 Patch19: smeserver-mailman-1.3.0-locale-2008-07-01.patch
35 Patch20: smeserver-mailman-1.3.0-locale-2008-10-14.patch
36 Patch21: smeserver-mailman-1.3.0-locale-2008-11-05.patch
37 Patch22: smeserver-mailman-1.3.0-locale-2009-01-31.patch
38 Patch23: smeserver-mailman-1.3.0-locale-2009-03-01.patch
39 Patch24: smeserver-mailman-1.3.0-locale-2009-03-03.patch
40 Patch25: smeserver-mailman-1.3.0-locale-2009-04-27.patch
41 Patch26: smeserver-mailman-1.3.0-locale-2009-05-20.patch
42 Patch27: smeserver-mailman-1.3.0-locale-2009-08-24.patch
43 Patch28: smeserver-mailman-1.3.0-locale-2009-10-27.patch
44 Patch29: smeserver-mailman-1.3.0-locale-2010-03-02.patch
45 Patch30: smeserver-mailman-1.3.0-locale-2011-03-06.patch
46 Patch31: smeserver-mailman-1.3.0-locale-2011-04-27.patch
47 Patch32: smeserver-mailman-1.3.0-locale-2012-03-20.patch
48 Patch33: smeserver-mailman-1.3.0-BootStrap.patch
49 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
50 BuildArchitectures: noarch
51 Requires: e-smith-base
52 Requires: e-smith-release >= 7.0
53 Requires: mailman >= 2.1.5.1-34.rhel4.3sme01
54 Requires: e-smith-formmagick >= 1.4.0-12
55 BuildRequires: e-smith-devtools >= 1.13.1-03
56 Obsoletes: e-smith-mailman
57 Provides: e-smith-mailman
58 AutoReqProv: no
59
60 %description
61 Add Mailman integration to the SME server.
62
63 %changelog
64 * Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-39.sme
65 - fix expanding pyc pyo [SME: 7730]
66
67 * Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme
68 - import to sme8 buildsys
69 - fix bootstrap hang [SME: 6693]
70
71 * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3.0-37.el6
72 - apply locale 2012-03-20 patch
73
74 * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3.0-36.sme
75 - apply locale 2011-04-27 patch
76
77 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.3.0-35.sme
78 - apply locale 2011-03-06 patch
79
80 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3.0-34.sme
81 - apply locale 2010-03-02 patch
82
83 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-33.sme
84 - apply locale 2009-10-27 patch
85
86 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.3.0-32.sme
87 - apply locale 2009-08-24 patch
88
89 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.3.0-31.sme
90 - apply locale 2009-05-20 patch
91
92 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-30.sme
93 - apply locale 2009-04-27 patch
94
95 * Tue Mar 03 2009 SME Translation Server
96 - apply locale 2009-03-03 patch
97
98 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-28
99 - Apply 1 Mar 2009 locale patch [SME: 5018]
100
101 * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-27
102 - Apply 31 Jan 2009 locale patch [SME: 4951]
103
104 * Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-26
105 - Apply 5 Nov 2008 locale patch
106
107 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-25
108 - Apply 14 Oct 2008 locale patch
109
110 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-24
111 - Apply 1 July 2008 locale patch
112
113 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23
114 - Apply 27 Jun 2008 locale patch
115
116 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22
117 - Apply 21 May 2008 locale patch
118 - Fixed version number in previous changelog entry
119
120 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21
121 - Apply 5 May 2008 locale patch
122
123 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-20
124 - Add common <base> tags to e-smith-formmagick's general
125
126 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-19
127 - Added 26 April 2008 locale patch
128
129 * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18
130 - Added 23 April 2008 locale patch
131 - Fixed changelog
132
133 * Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17
134 - Fix path for the archives [SME: 4252]
135
136 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-16
137 - Added 22 April 2008 locale patch
138
139 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
140 - Clean up spec so package can be built by koji/plague
141
142 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
143 - Update to new release naming. No functional changes.
144 - Make Packager generic
145
146 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-15
147 - Allow hyphen in list names in smelist command [SME: 1307]
148
149 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-14
150 - Add /sbin/e-smith/alias2mailman to convert hand-built alias files
151 to mailman lists. Converst ~alias/.qmail-<listname> to the mailman
152 list <listname>
153 - List owner is mailman{DefaultOwner} defaulting to admin
154
155 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-13
156 - Fix various permissions to satisfy /usr/lib/mailman/check_perms
157 - Update mailman dependency to latest from CentOS
158
159 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-12
160 - Run the addlist/rmlist actions before generic_template_expand [SME: 665]
161
162 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-11
163 - Ensure that mailman record exists prior to trying to set the status
164
165 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-10
166 - Adjust path in post-install script to match CentOS structure
167
168 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-09
169 - Make further use of services2adjust and templates2expand
170
171 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-08
172 - Make use of services2adjust and templates2expand
173 - Update dependency as this is for 7.0
174
175 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-07
176 - Create qfiles heirarchy
177 - Fix up taint issue in smelist script
178
179 * Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-06
180 - TODO: Check permissions on /var/spool/mailman/qfiles. The
181 'in' directory needs to be writable by the mailman CGI script,
182 which is running as www.
183
184 * Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-05
185 - Remove postun section which depended on action scripts which
186 no longer exist
187
188 * Fri Dec 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-04
189 - Allow mail for mailman user
190 - TODO: We should have configurable allow/deny for system accounts
191
192 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03
193 - No change
194 - TODO: Rewrite templates to new API and move to templates2expand
195 - TODO: Add pre script to relocate /opt/mailman parts for upgrades
196
197 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02
198 - Require patched mailman - SME Server runs httpd as www, not apache
199 - Relocate paths from /opt/mailman to /usr/lib/mailman to match mailman pkg
200 - Changed references to accounts db to new location
201
202 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-01
203 - Package renamed to smeserver-mailman, including patches to 1.1.10-05
204 - TODO: Relocate to /usr/lib/mailman
205 - TODO: Change DB references, and rewrite to new API
206
207 * Fri Oct 14 2005 Michael Soulier <msoulier@e-smith.com>
208 - [1.1.10-05]
209 - Fixed error with creation of alias file with dot in the name.
210
211 * Wed Mar 16 2005 Michael Soulier <msoulier@e-smith.com>
212 - [1.1.10-04]
213 - Added FQDN of box as a potential virtual host.
214
215 * Mon Mar 14 2005 Michael Soulier <msoulier@e-smith.com>
216 - [1.1.10-03]
217 - Removed circular event call.
218
219 * Wed Feb 23 2005 Michael Soulier <msoulier@e-smith.com>
220 - [1.1.10-02]
221 - Forgot to set mode on smelist.
222
223 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
224 - [1.1.10-01]
225 - Added hooks into domain creation and deletion.
226
227 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
228 - [1.1.9-01]
229 - Rolling again to get past build error on sme61build.
230
231 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
232 - [1.1.8-01]
233 - Added create-system-user call to make the mailman user.
234 - Added a link to the mailman UI.
235
236 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
237 - [1.1.7-01]
238 - Updated mailman-conf to call a post-install script when first run. If this
239 is ever included in a blade, post-install should move to the blade handler.
240
241 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
242 - [1.1.6-01]
243 - Fixed badly placed lib.
244 - Added post-install script to move it out of scriptlets.
245
246 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
247 - [1.1.5-01]
248 - Added conf and restart actions.
249 - Added a simple panel.
250
251 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
252 - [1.1.4-01]
253 - Fixed perms on /opt/mailman, and bad symlink.
254
255 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
256 - [1.1.3-01]
257 - Fixed error in createlinks.
258
259 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
260 - [1.1.2-01]
261 - Rolling initial build of imported package. [msoulier]
262
263 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
264 - [1.1.1-01]
265 - Reimplementation after lost packages. Implementing for mailman 2.1.5.
266 [msoulier]
267
268 * Sun Sep 08 2002 Shad L. Lords <slords@mail.com>
269 - 1.0-5
270 - updated addlist and rmlist to better handle conflicts
271
272 * Sun Sep 01 2002 Shad L. Lords <slords@mail.com>
273 - 1.0-4
274 - updated accounts so that ezmlm can coexist with mailman
275
276 * Tue Aug 27 2002 Shad L. Lords <slords@mail.com>
277 - 1.0-3
278 - make site have a random password on install
279 - make mailman list have random password on install
280
281 * Sat Aug 24 2002 Shad L. Lords <slords@mail.com>
282 - 1.0-2
283 - changed mailman-addlist to set perms and ownership correctly.
284 - changed permissions from root,mailman to mailman,mailman
285
286 * Fri Aug 23 2002 Shad L. Lords <slords@mail.com>
287 - 1.0-1
288 - Initial release
289
290 %prep
291 %setup
292 %patch0 -p1
293 %patch1 -p1
294 %patch2 -p1
295 %patch3 -p1
296 %patch4 -p1
297 %patch5 -p1
298 %patch6 -p1
299 %patch7 -p1
300 %patch8 -p1
301 %patch9 -p1
302 %patch10 -p1
303 %patch11 -p1
304 %patch12 -p1
305 %patch13 -p1
306 %patch14 -p1
307 %patch15 -p1
308 %patch16 -p1
309 %patch17 -p1
310 %patch18 -p1
311 %patch19 -p1
312 %patch20 -p1
313 %patch21 -p1
314 %patch22 -p1
315 %patch23 -p1
316 %patch24 -p1
317 %patch25 -p1
318 %patch26 -p1
319 %patch27 -p1
320 %patch28 -p1
321 %patch29 -p1
322 %patch30 -p1
323 %patch31 -p1
324 %patch32 -p1
325 %patch33 -p1
326
327 /bin/rm -r root/opt/mailman
328
329 %build
330 perl createlinks
331 mkdir -p root/usr/lib/mailman/aliases
332
333 mkdir -p root/opt
334 ln -s /usr/lib/mailman root/opt/mailman
335 mkdir -p root/var/spool/mailman/qfiles
336 for dir in archive bounces commands in news out retry shunt virgin
337 do
338 mkdir -p root/var/spool/mailman/qfiles/$dir
339 done
340
341
342 %install
343 rm -rf $RPM_BUILD_ROOT
344 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
345 rm -f e-smith-%{version}-filelist
346 /sbin/e-smith/genfilelist \
347 --dir '/usr/lib/mailman' 'attr(02775,root,mailman)' \
348 --dir '/usr/lib/mailman/bin' 'attr(02775,root,mailman)' \
349 --dir '/var/spool/mailman' 'attr(02775,root,mailman)' \
350 --dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \
351 --file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \
352 --file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \
353 --dir '/usr/lib/mailman/Mailman' 'attr(02775,root,mailman)' \
354 --dir '/usr/lib/mailman/Mailman/MTA' 'attr(02775,root,mailman)' \
355 --file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \
356 --dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \
357 --dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \
358 --dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \
359 --dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \
360 --dir '/var/spool/mailman/qfiles/in' 'attr(02770,mailman,mailman)' \
361 --dir '/var/spool/mailman/qfiles/news' 'attr(02770,mailman,mailman)' \
362 --dir '/var/spool/mailman/qfiles/out' 'attr(02770,mailman,mailman)' \
363 --dir '/var/spool/mailman/qfiles/retry' 'attr(02770,mailman,mailman)' \
364 --dir '/var/spool/mailman/qfiles/shunt' 'attr(02770,mailman,mailman)' \
365 --dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \
366 $RPM_BUILD_ROOT > %{name}-%{version}-filelist
367
368 # SME8 build to avoid error
369 #/usr/lib/rpm/brp-python-bytecompile
370 #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc
371 #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo
372 cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp
373 cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist
374 #rm -rf %{name}-%{version}-filelist.tmp
375
376 %clean
377 rm -rf $RPM_BUILD_ROOT
378
379 %files -f %{name}-%{version}-filelist
380
381 %defattr(-,root,root)
382
383 %pre
384 /sbin/e-smith/create-system-user mailman 41 \
385 "Mailman user" /usr/lib/mailman /bin/false
386
387 %post
388
389 %preun
390
391 %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed