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