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