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

Annotation of /rpms/smeserver-mailman/contribs9/smeserver-mailman.spec

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


Revision 1.4 - (hide annotations) (download)
Fri Aug 21 17:26:10 2015 UTC (9 years, 3 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-mailman-1_5_0-3_el6_sme
Changes since 1.3: +3 -9 lines
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-3.sme
- Initial release to contribs9

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

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