1 |
brianr |
1.1 |
%define name smeserver-domains |
2 |
|
|
%define version 1.4 |
3 |
brianr |
1.2 |
%define release 2 |
4 |
brianr |
1.1 |
Summary: SMEserver rpm for domain pseudonyms |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release} |
8 |
|
|
License: GNU GPL version 2 |
9 |
|
|
URL: http://www.contribs.org |
10 |
|
|
Distribution: SME Server |
11 |
|
|
Group: SMEServer/addon |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
brianr |
1.2 |
Patch0:smeserver-domains-1.4-Update-Panels-for-Server-Manager2.patch |
14 |
|
|
|
15 |
brianr |
1.1 |
Packager: Stephen Noble <stephen@dungog.net> |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
BuildRequires: e-smith-devtools |
19 |
|
|
Requires: e-smith-release >= 8 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
SMEserver rpm for more advanced domain controls |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
brianr |
1.2 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-2.sme |
27 |
|
|
- Update for Server-Manager2 panels[SME:10950 ] |
28 |
|
|
|
29 |
brianr |
1.1 |
* Thu Apr 28 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0-1.4-1.sme |
30 |
|
|
- First import to smecontribs |
31 |
|
|
|
32 |
|
|
* Tue Oct 31 2006 Stephen Noble <support@dungog.net> |
33 |
|
|
- warning added to setup remote MailServer before delegating to them |
34 |
|
|
- [1.2-2] |
35 |
|
|
|
36 |
|
|
* Sun Aug 20 2006 Stephen Noble <stephen@dungog.net> |
37 |
|
|
- initial release |
38 |
|
|
- [1.2-1] |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup |
43 |
brianr |
1.2 |
%patch0 -p1 |
44 |
brianr |
1.1 |
|
45 |
|
|
%build |
46 |
|
|
perl createlinks |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
%install |
50 |
|
|
rm -rf $RPM_BUILD_ROOT |
51 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
53 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
cd .. |
57 |
|
|
rm -rf %{name}-%{version} |
58 |
|
|
|
59 |
|
|
%pre |
60 |
|
|
%preun |
61 |
|
|
%post |
62 |
|
|
#new installs |
63 |
|
|
if [ $1 = 1 ] ; then |
64 |
|
|
/bin/touch /home/e-smith/db/dungog |
65 |
|
|
fi |
66 |
brianr |
1.2 |
systemctl restart smanager |
67 |
brianr |
1.1 |
|
68 |
|
|
|
69 |
|
|
%postun |
70 |
|
|
#uninstalls |
71 |
|
|
|
72 |
|
|
#&upgrades |
73 |
|
|
|
74 |
|
|
|
75 |
|
|
%files -f %{name}-%{version}-filelist |
76 |
|
|
%defattr(-,root,root) |