1 |
# $Id: smeserver-ddclient.spec,v 1.4 2020/06/28 09:11:42 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.16 2021/08/21 20:49:16 terryfage 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 3 |
%define release 13 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
17 |
|
Patch1: smeserver-ddclient-1.3.0-Add-in-link-to-wiki.patch |
18 |
|
Patch2: smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch |
19 |
|
Patch3: smeserver-ddclient-1.3.0-Add-in-latest-dd-services-from-ddclient-391.patch |
20 |
|
Patch4: smeserver-ddclient-1.3.0-Correct-service-file-ExecStart.patch |
21 |
|
Patch5: smeserver-ddclient-1.3.0-Update-code-in-ip-up.local-for-systemd.patch |
22 |
|
Patch6: smeserver-ddclient-1.3.0-Change_default_urlcheckip.patch |
23 |
|
Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch |
24 |
|
Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch |
25 |
|
Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch |
26 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
29 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
31 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
32 |
Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
33 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.9.1 |
34 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
35 |
AutoReqProv: no |
AutoReqProv: no |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
39 |
|
- Update locale 2021-08-23.patch |
40 |
|
|
41 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
42 |
|
- Update locale 2021-08-21.patch |
43 |
|
|
44 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
45 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
46 |
|
|
47 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
48 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
49 |
|
|
50 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
51 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
52 |
|
|
53 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
54 |
|
- Correct ExecStart in Service file [SME: 11370] |
55 |
|
|
56 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
57 |
|
- Update list of services in SM1 [SME: 11414] |
58 |
|
- Add in Wantedby in service file dropin |
59 |
|
|
60 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
61 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
62 |
|
|
63 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
64 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
65 |
|
|
66 |
|
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
67 |
|
- fix [SME:10942] |
68 |
|
|
69 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
70 |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
71 |
|
|
107 |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
108 |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
109 |
|
|
110 |
* Mon Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
* Fri Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
111 |
- added spdns.de [SME: 8975] |
- added spdns.de [SME: 8975] |
112 |
- added custom fields for dns providers [SME: 8961] |
- added custom fields for dns providers [SME: 8961] |
113 |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
116 |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
117 |
- add translation missing Namecheap_translation.patch [SME: 8964] |
- add translation missing Namecheap_translation.patch [SME: 8964] |
118 |
|
|
119 |
* Mon Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
* Tue Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
120 |
- first import to sme9contribs |
- first import to sme9contribs |
121 |
|
|
122 |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
137 |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
138 |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
139 |
|
|
140 |
* Mon Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
* Thu Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
141 |
- modify the path of template ddclient.conf [SME: 8018] |
- modify the path of template ddclient.conf [SME: 8018] |
142 |
|
|
143 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
196 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
197 |
- Apply 25 Jun 2008 locale patch |
- Apply 25 Jun 2008 locale patch |
198 |
|
|
199 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
200 |
- Apply 21 May 2008 locale patch |
- Apply 21 May 2008 locale patch |
201 |
|
|
202 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
239 |
- initial release |
- initial release |
240 |
|
|
241 |
%description |
%description |
242 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
243 |
|
|
244 |
%prep |
%prep |
245 |
%setup |
%setup |
246 |
%patch0 -p1 |
%patch0 -p1 |
247 |
|
%patch1 -p1 |
248 |
|
%patch2 -p1 |
249 |
|
%patch3 -p1 |
250 |
|
%patch4 -p1 |
251 |
|
%patch5 -p1 |
252 |
|
%patch6 -p1 |
253 |
|
%patch7 -p1 |
254 |
|
%patch8 -p1 |
255 |
|
%patch9 -p1 |
256 |
|
|
257 |
%build |
%build |
258 |
perl createlinks |
perl createlinks |
268 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
269 |
|
|
270 |
%post |
%post |
271 |
systemctl enable ddclient |
#systemctl enable ddclient |
272 |
systemctl start ddclient |
#systemctl start ddclient |
273 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
274 |
systemctl restart smanager |
#systemctl restart smanager |
275 |
|
|
276 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
277 |
%defattr(-,root,root) |
%defattr(-,root,root) |