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