1 |
# $Id: smeserver-ddclient.spec,v 1.3 2020/06/12 07:57:22 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.4 2020/06/28 09:11:42 brianr Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-ddclient |
%define name smeserver-ddclient |
6 |
%define version 1.3.0 |
%define version 1.3.0 |
7 |
%define release 1 |
%define release 3 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
13 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
#Patch0: smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
|
#Patch1: Namecheap_translation.patch |
|
|
#Patch2: smeserver-ddclient-1.2.1.bz8975.spdns.de.patch |
|
|
#Patch3: smeserver-ddclient-1.2.1.bz8961.customDNS.patch |
|
|
#Patch4: smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
|
|
#Patch5: smeserver-ddclient-1.2.1-locale-2015-09-12.patch |
|
|
#Patch6: smeserver-ddclient-1.2.1-locale-2016-03-09.patch |
|
|
#Patch7: smeserver-ddclient-1.2.1-locale-2017-12-02.patch |
|
|
#Patch8: smeserver-ddclient-1.2.1-bz10593-spdns-spdyn.patch |
|
|
#Patch9: smeserver-ddclient-1.2.1-bz9450-new-ip-detection.patch |
|
|
#Patch10: smeserver-ddclient-1.2.1-locale-2019-12-07.patch |
|
|
#Patch11: smeserver-ddclient-1.2.1-allow-ampersand-in-username-needed-for-noip.patch |
|
|
#Patch12: smeserver-ddclient-1.2.1-add-server-manager2-panels.patch |
|
|
#Patch13: smeserver-ddclient-1.2.1-Update-for-Apache-Mod-Proxy-based-server2.patch |
|
17 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
23 |
Requires: smeserver-manager >= 0.1.0-24 |
Requires: smeserver-manager >= 0.1.0-24 |
24 |
Requires: ddclient >= 3.8.1 |
Requires: ddclient >= 3.9.1 |
25 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
30 |
|
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
31 |
|
|
32 |
|
* Mon Jun 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-2.sme |
33 |
|
- Sort out startup with systemd [SME:10942] |
34 |
|
|
35 |
* Sun Jun 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-1.sme |
* Sun Jun 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-1.sme |
36 |
- Roll up all patches for SME10 [SME:10942] |
- Roll up all patches for SME10 [SME:10942] |
37 |
|
|
203 |
|
|
204 |
%prep |
%prep |
205 |
%setup |
%setup |
206 |
#%patch0 -p1 |
%patch0 -p1 |
|
#%patch1 -p1 |
|
|
#%patch2 -p1 |
|
|
#%patch3 -p1 |
|
|
#%patch4 -p1 |
|
|
#%patch5 -p1 |
|
|
#%patch6 -p1 |
|
|
#%patch7 -p1 |
|
|
#%patch8 -p1 |
|
|
#%patch9 -p1 |
|
|
#%patch10 -p1 |
|
|
#%patch11 -p1 |
|
|
#%patch12 -p1 |
|
|
#%patch13 -p1 |
|
207 |
|
|
208 |
%build |
%build |
209 |
perl createlinks |
perl createlinks |
219 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
220 |
|
|
221 |
%post |
%post |
222 |
|
systemctl enable ddclient |
223 |
|
systemctl start ddclient |
224 |
/sbin/e-smith/signal-event smanager-refresh |
/sbin/e-smith/signal-event smanager-refresh |
225 |
systemctl restart smanager |
systemctl restart smanager |
226 |
|
|