1 |
vip-ire |
1.1 |
%define name smeserver-domains |
2 |
|
|
%define version 1.4 |
3 |
|
|
%define release 1 |
4 |
|
|
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 |
|
|
Packager: Stephen Noble <stephen@dungog.net> |
14 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
15 |
|
|
BuildArchitectures: noarch |
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
Requires: e-smith-release >= 8 |
18 |
|
|
AutoReqProv: no |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
SMEserver rpm for more advanced domain controls |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
|
|
* Thu Apr 28 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0-1.4-1.sme |
25 |
|
|
- First import to smecontribs |
26 |
|
|
|
27 |
|
|
* Tue Oct 31 2006 Stephen Noble <support@dungog.net> |
28 |
|
|
- warning added to setup remote MailServer before delegating to them |
29 |
|
|
- [1.2-2] |
30 |
|
|
|
31 |
|
|
* Sun Aug 20 2006 Stephen Noble <stephen@dungog.net> |
32 |
|
|
- initial release |
33 |
|
|
- [1.2-1] |
34 |
|
|
|
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%setup |
38 |
|
|
|
39 |
|
|
%build |
40 |
|
|
perl createlinks |
41 |
|
|
|
42 |
|
|
|
43 |
|
|
%install |
44 |
|
|
rm -rf $RPM_BUILD_ROOT |
45 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
46 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
47 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
48 |
|
|
|
49 |
|
|
%clean |
50 |
|
|
cd .. |
51 |
|
|
rm -rf %{name}-%{version} |
52 |
|
|
|
53 |
|
|
%pre |
54 |
|
|
%preun |
55 |
|
|
%post |
56 |
|
|
#new installs |
57 |
|
|
if [ $1 = 1 ] ; then |
58 |
|
|
/bin/touch /home/e-smith/db/dungog |
59 |
|
|
fi |
60 |
|
|
|
61 |
|
|
|
62 |
|
|
%postun |
63 |
|
|
#uninstalls |
64 |
|
|
|
65 |
|
|
#&upgrades |
66 |
|
|
|
67 |
|
|
|
68 |
|
|
%files -f %{name}-%{version}-filelist |
69 |
|
|
%defattr(-,root,root) |