1 |
# $Id: smeserver-ddclient.spec,v 1.1 2020/05/08 08:56:28 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.2.1 |
%define version 1.3.0 |
7 |
%define release 16 |
%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 |
|
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 |
20 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
23 |
Requires: ddclient >= 3.8.1 |
Requires: smeserver-manager >= 0.1.0-24 |
24 |
|
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 |
36 |
|
- Roll up all patches for SME10 [SME:10942] |
37 |
|
|
38 |
|
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-17.sme |
39 |
|
- Update-for-Apache-Mod-Proxy-based-server2 [SME:10942 ] |
40 |
|
|
41 |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
42 |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
43 |
|
|
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 |
|
207 |
|
|
208 |
%build |
%build |
209 |
perl createlinks |
perl createlinks |
218 |
%clean |
%clean |
219 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
220 |
|
|
221 |
|
%post |
222 |
|
systemctl enable ddclient |
223 |
|
systemctl start ddclient |
224 |
|
/sbin/e-smith/signal-event smanager-refresh |
225 |
|
systemctl restart smanager |
226 |
|
|
227 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
228 |
%defattr(-,root,root) |
%defattr(-,root,root) |