1 |
# $Id: smeserver-mailman.spec,v 1.29 2012/03/20 15:38:52 slords Exp $ |
# $Id: smeserver-mailman.spec,v 1.11 2015/09/11 15:10:29 stephdl 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 47 |
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 |
|
Patch35: smeserver-mailman-1.3.0-locale-2013-07-14.patch |
54 |
|
Patch36: smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch |
55 |
|
Patch37: smeserver-mailman-1.3.0-locale-2016-03-09.patch |
56 |
|
|
57 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
58 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
59 |
Requires: e-smith-base |
Requires: e-smith-base |
60 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 8.0 |
61 |
Requires: mailman >= 2.1.5.1-34.rhel4.3sme01 |
Requires: mailman >= 2.1.9-20.el5.sme |
62 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
63 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
64 |
Obsoletes: e-smith-mailman |
Obsoletes: e-smith-mailman |
69 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
70 |
|
|
71 |
%changelog |
%changelog |
72 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.3.0-47.sme |
73 |
|
- apply locale 2016-03-09 patch |
74 |
|
|
75 |
|
* Fri Sep 11 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.3.0-46.sme |
76 |
|
- Mailman is now added to the backup/restore process [SME: 2411] |
77 |
|
- Added smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch |
78 |
|
|
79 |
|
* Fri Sep 20 2013 JP Pialasse <tests@pialasse.com> 1.3.0-45.sme |
80 |
|
- fix bug [SME: 7787] |
81 |
|
|
82 |
|
* Thu Sep 19 2013 JP Pialasse <tests@pialasse.com> 1.3.0-44.sme |
83 |
|
- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch |
84 |
|
- wrong path to actions folder fixed |
85 |
|
- see [SME: 7845] |
86 |
|
|
87 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-42.sme |
88 |
|
- apply locale 2013-07-14 patch |
89 |
|
|
90 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-41.sme |
91 |
|
- fix signal-event hang on mailman restart [SME ] |
92 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-40.sme |
93 |
|
- fix expanding pyc pyo [SME: 7730] |
94 |
|
|
95 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme |
96 |
|
- import to sme8 buildsys |
97 |
|
- fix bootstrap hang [SME: 6693] |
98 |
|
|
99 |
* 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 |
100 |
- apply locale 2012-03-20 patch |
- apply locale 2012-03-20 patch |
101 |
|
|
350 |
%patch30 -p1 |
%patch30 -p1 |
351 |
%patch31 -p1 |
%patch31 -p1 |
352 |
%patch32 -p1 |
%patch32 -p1 |
353 |
|
%patch33 -p1 |
354 |
|
%patch34 -p1 |
355 |
|
%patch35 -p1 |
356 |
|
%patch36 -p1 |
357 |
|
%patch37 -p1 |
358 |
|
|
359 |
|
|
360 |
/bin/rm -r root/opt/mailman |
/bin/rm -r root/opt/mailman |
361 |
|
|
398 |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
399 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
400 |
|
|
401 |
|
# SME8 build to avoid error |
402 |
|
#/usr/lib/rpm/brp-python-bytecompile |
403 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
404 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
405 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
406 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
407 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
408 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
409 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
410 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
411 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
412 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
413 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
414 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
415 |
|
|
416 |
|
# fixe for unwanted listed compiled python files |
417 |
|
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
418 |
|
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
419 |
|
#rm -rf %{name}-%{version}-filelist.tmp |
420 |
|
|
421 |
%clean |
%clean |
422 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
423 |
|
|