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