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