1 |
# $Id: smeserver-mailman.spec,v 1.1 2013/11/13 12:55:27 vip-ire Exp $ |
# $Id: smeserver-mailman.spec,v 1.3 2015/08/21 17:20:19 stephdl Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
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.4.0 |
%define version 1.5.0 |
12 |
%define release 1 |
%define release 3 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
16 |
Group: Applications/Internet |
Group: Applications/Internet |
17 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.gz |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
21 |
Requires: e-smith-release >= 8.0 |
Requires: e-smith-release >= 9.0 |
22 |
Requires: mailman >= 2.1.9-20.el5.sme |
Requires: mailman >= 2.1.9-20.el5.sme |
23 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.4.0-1.sme |
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-3.sme |
34 |
- Rebuild for SME9 |
- 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 |
|
|
39 |
* Fri Sep 20 2013 JP Pialasse <tests@pialasse.com> 1.3.0-45.sme |
* Fri Sep 20 2013 JP Pialasse <tests@pialasse.com> 1.3.0-45.sme |
40 |
- fix bug [SME: 7787] |
- fix bug [SME: 7787] |
278 |
%prep |
%prep |
279 |
%setup |
%setup |
280 |
|
|
281 |
|
#/bin/rm -r root/opt/mailman |
282 |
|
|
283 |
%build |
%build |
284 |
perl createlinks |
perl createlinks |
285 |
mkdir -p root/usr/lib/mailman/aliases |
mkdir -p root/usr/lib/mailman/aliases |
319 |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
320 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
321 |
|
|
322 |
|
# 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 |
# fixe for unwanted listed compiled python files |
# fixe for unwanted listed compiled python files |
338 |
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
339 |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |