1 |
# $Id: smeserver-mailalias.spec,v 1.6 2022/07/30 06:31:51 jpp Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-mailalias |
6 |
%define name smeserver-mailalias |
7 |
%define version 0.1 |
8 |
%define release 11 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-mailalias-0.1-translation.patch |
16 |
Patch1: smeserver-mailalias-0.1-locale-2018-12-14.patch |
17 |
Patch2: smeserver-mailalias-0.1.createlinks.patch |
18 |
Patch3: smeserver-mailalias-0.1-locale-2019-12-07.patch |
19 |
Patch4: smeserver-mailalias-0.1-locale-2021-08-22.patch |
20 |
Patch5: smeserver-mailalias-0.1-bz12108-untaint.patch |
21 |
Patch6: smeserver-mailalias-0.1-locale-2024-09-05.patch |
22 |
|
23 |
Url: http://smeserver.pialasse.com/ |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArch: noarch |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
Requires: smeserver-release >= 9.0 |
28 |
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
Provides: perl(esmith::FormMagick::Panel::mailalias) |
30 |
|
31 |
%description |
32 |
SME Server panel in order to manage email alias to external email without creating a user |
33 |
on the server |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
%patch0 -p1 |
38 |
%patch1 -p1 |
39 |
%patch2 -p1 |
40 |
%patch3 -p1 |
41 |
%patch4 -p1 |
42 |
mkdir -p root/etc/e-smith/events/smeserver-mailalias-update |
43 |
%patch5 -p1 |
44 |
%patch6 -p1 |
45 |
|
46 |
%build |
47 |
/usr/bin/perl createlinks |
48 |
|
49 |
%install |
50 |
/bin/rm -rf $RPM_BUILD_ROOT |
51 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
52 |
/bin/rm -f %{name}-%{version}-filelist |
53 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
54 |
|
55 |
%files -f %{name}-%{version}-filelist |
56 |
%defattr(-,root,root,-) |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%post |
62 |
|
63 |
%changelog |
64 |
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 0.1-11.sme |
65 |
- apply locale 2024-09-05.patch |
66 |
|
67 |
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-10.sme |
68 |
- add provides perl(esmith::FormMagick::Panel::mailalias) [SME: 12132] |
69 |
|
70 |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-9.sme |
71 |
- untaint correctly mailalias [SME: 12108] |
72 |
|
73 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 0.1-8.sme |
74 |
- apply locale 2021-08-22 patch |
75 |
|
76 |
* Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-7.sme |
77 |
- add dummy smeserver-mailalias-update event [SME: 11279] |
78 |
|
79 |
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-6.sme |
80 |
- Initial Import in SME 10 [SME: 11279] |
81 |
|
82 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 0.1-5.sme |
83 |
- apply locale 2019-12-07 patch |
84 |
|
85 |
* Sun Dec 16 2018 Terry Fage <tfage@yahoo.com.au> 0.1-4 |
86 |
- fix wrong path and file name in createlinks [SME: 10518] |
87 |
|
88 |
* Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-3 |
89 |
- apply locale patch 2018-12-14 |
90 |
- bump required SME release version |
91 |
|
92 |
* Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme |
93 |
- improve translation strings |
94 |
|
95 |
* Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme |
96 |
- fix wrong pm path [SME: 10518] |
97 |
|
98 |
* Mon Feb 12 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-0.3.sme |
99 |
- first import in SME contribs repo and cvs |
100 |
|
101 |
* Tue Sep 27 2011 JP PIALASSE tests@pialasse.com 0.1-0.2 |
102 |
- Formagick mailalias.pm added in archive |
103 |
- beta release |
104 |
- still need default db |
105 |
|
106 |
* Tue Sep 27 2011 JP PIALASSE tests@pialasse.com 0.1-0.1 |
107 |
- first package for smeserver-mailalias |
108 |
- panel for server-manager |
109 |
- still need to create default db |
110 |
- beta release |