1 |
brianr |
1.1 |
%define name smeserver-domains |
2 |
|
|
%define version 1.4 |
3 |
brianr |
1.3 |
%define release 3 |
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 |
brianr |
1.3 |
Patch1:smeserver-domains-1.4-Add-Update-event-to-createlinks.patch |
15 |
brianr |
1.2 |
|
16 |
brianr |
1.1 |
Packager: Stephen Noble <stephen@dungog.net> |
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
|
|
Requires: e-smith-release >= 8 |
21 |
|
|
AutoReqProv: no |
22 |
|
|
|
23 |
|
|
%description |
24 |
|
|
SMEserver rpm for more advanced domain controls |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
brianr |
1.3 |
* Thu Mar 25 2021 Brian Read <brianr@bjsystems.co.uk> 1.4-3.sme |
28 |
|
|
- Add Update event to createlinks [SME: 10950] |
29 |
|
|
|
30 |
|
|
* Thu Mar 25 2021 BogusDateBot |
31 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
32 |
|
|
by assuming the date is correct and changing the weekday. |
33 |
|
|
|
34 |
brianr |
1.2 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-2.sme |
35 |
|
|
- Update for Server-Manager2 panels[SME:10950 ] |
36 |
|
|
|
37 |
brianr |
1.1 |
* Thu Apr 28 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0-1.4-1.sme |
38 |
|
|
- First import to smecontribs |
39 |
|
|
|
40 |
|
|
* Tue Oct 31 2006 Stephen Noble <support@dungog.net> |
41 |
|
|
- warning added to setup remote MailServer before delegating to them |
42 |
|
|
- [1.2-2] |
43 |
|
|
|
44 |
|
|
* Sun Aug 20 2006 Stephen Noble <stephen@dungog.net> |
45 |
|
|
- initial release |
46 |
|
|
- [1.2-1] |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
%prep |
50 |
|
|
%setup |
51 |
brianr |
1.2 |
%patch0 -p1 |
52 |
brianr |
1.3 |
%patch1 -p1 |
53 |
brianr |
1.1 |
|
54 |
|
|
%build |
55 |
|
|
perl createlinks |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
%install |
59 |
|
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
61 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
62 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
63 |
|
|
|
64 |
|
|
%clean |
65 |
|
|
cd .. |
66 |
|
|
rm -rf %{name}-%{version} |
67 |
|
|
|
68 |
|
|
%pre |
69 |
|
|
%preun |
70 |
|
|
%post |
71 |
|
|
#new installs |
72 |
|
|
if [ $1 = 1 ] ; then |
73 |
|
|
/bin/touch /home/e-smith/db/dungog |
74 |
|
|
fi |
75 |
|
|
|
76 |
|
|
|
77 |
|
|
%postun |
78 |
|
|
#uninstalls |
79 |
|
|
|
80 |
|
|
#&upgrades |
81 |
|
|
|
82 |
|
|
|
83 |
|
|
%files -f %{name}-%{version}-filelist |
84 |
|
|
%defattr(-,root,root) |