1 |
# $Id: smeserver-mailman.spec,v 1.2 2013/07/02 02:52:37 unnilennium Exp $ |
# $Id: smeserver-mailman.spec,v 1.7 2013/07/14 22:55:16 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 38 |
%define release 43 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
55 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
56 |
Requires: e-smith-base |
Requires: e-smith-base |
66 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
67 |
|
|
68 |
%changelog |
%changelog |
69 |
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-37.sme |
* Wed Sep 18 2013 JP Pialasse <tests@pialasse.com> 1.3.0-43.sme |
70 |
|
- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch |
71 |
|
- see [SME: 7845] |
72 |
|
|
73 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-42.sme |
74 |
|
- apply locale 2013-07-14 patch |
75 |
|
|
76 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-41.sme |
77 |
|
- fix signal-event hang on mailman restart [SME ] |
78 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-40.sme |
79 |
|
- fix expanding pyc pyo [SME: 7730] |
80 |
|
|
81 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme |
82 |
- import to sme8 buildsys |
- import to sme8 buildsys |
83 |
- fix bootstrap hang [SME: 6693] |
- fix bootstrap hang [SME: 6693] |
84 |
|
|
337 |
%patch31 -p1 |
%patch31 -p1 |
338 |
%patch32 -p1 |
%patch32 -p1 |
339 |
%patch33 -p1 |
%patch33 -p1 |
340 |
|
%patch34 -p1 |
341 |
|
%patch35 -p1 |
342 |
|
|
343 |
/bin/rm -r root/opt/mailman |
/bin/rm -r root/opt/mailman |
344 |
|
|
382 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
383 |
|
|
384 |
# SME8 build to avoid error |
# SME8 build to avoid error |
385 |
/usr/lib/rpm/brp-python-bytecompile |
#/usr/lib/rpm/brp-python-bytecompile |
386 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
387 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
388 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
389 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
390 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
391 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
392 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
393 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
394 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
395 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
396 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
397 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
398 |
|
|
399 |
|
# fixe for unwanted listed compiled python files |
400 |
|
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
401 |
|
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
402 |
|
#rm -rf %{name}-%{version}-filelist.tmp |
403 |
|
|
404 |
%clean |
%clean |
405 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |