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 2 |
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-2.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] |
104 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22 |
105 |
- Apply 21 May 2008 locale patch |
- Apply 21 May 2008 locale patch |
106 |
- Fixed version number in previous changelog entry |
- Fixed version number in previous changelog entry |
107 |
|
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme |
108 |
|
- Initial release to contribs9 |
109 |
|
|
110 |
|
|
111 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21 |
112 |
- Apply 5 May 2008 locale patch |
- Apply 5 May 2008 locale patch |
120 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18 |
121 |
- Added 23 April 2008 locale patch |
- Added 23 April 2008 locale patch |
122 |
- Fixed changelog |
- Fixed changelog |
123 |
|
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme |
124 |
|
- Initial release to contribs9 |
125 |
|
|
126 |
|
|
127 |
* Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17 |
* Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17 |
128 |
- Fix path for the archives [SME: 4252] |
- Fix path for the archives [SME: 4252] |
284 |
%prep |
%prep |
285 |
%setup |
%setup |
286 |
|
|
287 |
/bin/rm -r root/opt/mailman |
#/bin/rm -r root/opt/mailman |
288 |
|
|
289 |
%build |
%build |
290 |
perl createlinks |
perl createlinks |
325 |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
326 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
327 |
|
|
328 |
|
# SME8 build to avoid error |
329 |
|
#/usr/lib/rpm/brp-python-bytecompile |
330 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
331 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
332 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
333 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
334 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
335 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
336 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
337 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
338 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
339 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
340 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
341 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
342 |
|
|
343 |
# fixe for unwanted listed compiled python files |
# fixe for unwanted listed compiled python files |
344 |
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
345 |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |