1 |
# $Id: smeserver-mailman.spec,v 1.29 2012/03/20 15:38:52 slords Exp $ |
# $Id: smeserver-mailman.spec,v 1.5 2013/07/13 03:50:20 unnilennium Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
5 |
|
# avoid brp bytecompile |
6 |
|
%define __os_install_post %{nil} |
7 |
|
|
8 |
Summary: Mailman configuration for SME server. |
Summary: Mailman configuration for SME server. |
9 |
%define name smeserver-mailman |
%define name smeserver-mailman |
10 |
Name: %{name} |
Name: %{name} |
11 |
%define version 1.3.0 |
%define version 1.3.0 |
12 |
%define release 37 |
%define release 41 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
48 |
Patch30: smeserver-mailman-1.3.0-locale-2011-03-06.patch |
Patch30: smeserver-mailman-1.3.0-locale-2011-03-06.patch |
49 |
Patch31: smeserver-mailman-1.3.0-locale-2011-04-27.patch |
Patch31: smeserver-mailman-1.3.0-locale-2011-04-27.patch |
50 |
Patch32: smeserver-mailman-1.3.0-locale-2012-03-20.patch |
Patch32: smeserver-mailman-1.3.0-locale-2012-03-20.patch |
51 |
|
Patch33: smeserver-mailman-1.3.0-BootStrap.patch |
52 |
|
Patch34: smeserver-mailman-1.3.0-restarthang.patch |
53 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
54 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
55 |
Requires: e-smith-base |
Requires: e-smith-base |
65 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
66 |
|
|
67 |
%changelog |
%changelog |
68 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-41.sme |
69 |
|
- fix signal-event hang on mailman restart [SME ] |
70 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-40.sme |
71 |
|
- fix expanding pyc pyo [SME: 7730] |
72 |
|
|
73 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme |
74 |
|
- import to sme8 buildsys |
75 |
|
- fix bootstrap hang [SME: 6693] |
76 |
|
|
77 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3.0-37.el6 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3.0-37.el6 |
78 |
- apply locale 2012-03-20 patch |
- apply locale 2012-03-20 patch |
79 |
|
|
328 |
%patch30 -p1 |
%patch30 -p1 |
329 |
%patch31 -p1 |
%patch31 -p1 |
330 |
%patch32 -p1 |
%patch32 -p1 |
331 |
|
%patch33 -p1 |
332 |
|
%patch34 -p1 |
333 |
|
|
334 |
/bin/rm -r root/opt/mailman |
/bin/rm -r root/opt/mailman |
335 |
|
|
372 |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
373 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
374 |
|
|
375 |
|
# SME8 build to avoid error |
376 |
|
#/usr/lib/rpm/brp-python-bytecompile |
377 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
378 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
379 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
380 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
381 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
382 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
383 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
384 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
385 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
386 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
387 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
388 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
389 |
|
|
390 |
|
# fixe for unwanted listed compiled python files |
391 |
|
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
392 |
|
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
393 |
|
#rm -rf %{name}-%{version}-filelist.tmp |
394 |
|
|
395 |
%clean |
%clean |
396 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
397 |
|
|