1 |
# $Id: smeserver-ddclient.spec,v 1.6 2020/07/01 13:41:35 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.20 2021/09/08 04:47:38 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 4 |
%define release 17 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
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 |
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 |
|
Patch10: smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch |
27 |
|
Patch11: smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch |
28 |
|
Patch12: smeserver-ddclient-1.3.0-locale-2021-09-08.patch |
29 |
|
Patch13: smeserver-ddclient-1.3.0-Set-urlcheckip-default-back-to-dyndns.patch |
30 |
|
|
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
33 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
36 |
Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
37 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.9.1 |
38 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
39 |
AutoReqProv: no |
AutoReqProv: no |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
43 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
44 |
|
|
45 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
46 |
|
- Update locale 2021-09-08.patch |
47 |
|
|
48 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
49 |
|
- Fix events in ddclient SM2 library [SME:11667] |
50 |
|
|
51 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
52 |
|
- Fix events in ddclient web script [SME:11667] |
53 |
|
- Add service link in domain-create |
54 |
|
|
55 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
56 |
|
- Update locale 2021-08-23.patch |
57 |
|
|
58 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
59 |
|
- Update locale 2021-08-21.patch |
60 |
|
|
61 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
62 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
63 |
|
|
64 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
65 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
66 |
|
|
67 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
68 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
69 |
|
|
70 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
71 |
|
- Correct ExecStart in Service file [SME: 11370] |
72 |
|
|
73 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
74 |
|
- Update list of services in SM1 [SME: 11414] |
75 |
|
- Add in Wantedby in service file dropin |
76 |
|
|
77 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
78 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
79 |
|
|
80 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
81 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
82 |
|
|
83 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
84 |
- fix [SME:10942] |
- fix [SME:10942] |
85 |
|
|
256 |
- initial release |
- initial release |
257 |
|
|
258 |
%description |
%description |
259 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
260 |
|
|
261 |
%prep |
%prep |
262 |
%setup |
%setup |
263 |
%patch0 -p1 |
%patch0 -p1 |
264 |
%patch1 -p1 |
%patch1 -p1 |
265 |
|
%patch2 -p1 |
266 |
|
%patch3 -p1 |
267 |
|
%patch4 -p1 |
268 |
|
%patch5 -p1 |
269 |
|
%patch6 -p1 |
270 |
|
%patch7 -p1 |
271 |
|
%patch8 -p1 |
272 |
|
%patch9 -p1 |
273 |
|
%patch10 -p1 |
274 |
|
%patch11 -p1 |
275 |
|
%patch12 -p1 |
276 |
|
%patch13 -p1 |
277 |
|
|
278 |
%build |
%build |
279 |
perl createlinks |
perl createlinks |
289 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
290 |
|
|
291 |
%post |
%post |
292 |
systemctl enable ddclient |
#systemctl enable ddclient |
293 |
systemctl start ddclient |
#systemctl start ddclient |
294 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
295 |
systemctl restart smanager |
#systemctl restart smanager |
296 |
|
|
297 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
298 |
%defattr(-,root,root) |
%defattr(-,root,root) |