1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.22 2021/12/03 15:30:57 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 5 |
%define release 19 |
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 |
|
Patch14:smeserver-ddclient-1.3.0-Add-class-to-div-in-main-module.patch |
31 |
|
Patch15:smeserver-ddclient-1.3.0-Fix-typo-in-description-paragraph.patch |
32 |
|
|
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
41 |
AutoReqProv: no |
AutoReqProv: no |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
45 |
|
- Fix-typo-in-description-paragraph [SME: 11812] |
46 |
|
|
47 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
48 |
|
- Add in class to Div id=module declaration in ep file [SME: 11794] |
49 |
|
|
50 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
51 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
52 |
|
|
53 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
54 |
|
- Update locale 2021-09-08.patch |
55 |
|
|
56 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
57 |
|
- Fix events in ddclient SM2 library [SME:11667] |
58 |
|
|
59 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
60 |
|
- Fix events in ddclient web script [SME:11667] |
61 |
|
- Add service link in domain-create |
62 |
|
|
63 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
64 |
|
- Update locale 2021-08-23.patch |
65 |
|
|
66 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
67 |
|
- Update locale 2021-08-21.patch |
68 |
|
|
69 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
70 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
71 |
|
|
72 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
73 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
74 |
|
|
75 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
76 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
77 |
|
|
78 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
79 |
|
- Correct ExecStart in Service file [SME: 11370] |
80 |
|
|
81 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
82 |
|
- Update list of services in SM1 [SME: 11414] |
83 |
|
- Add in Wantedby in service file dropin |
84 |
|
|
85 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
86 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
87 |
|
|
88 |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
89 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
90 |
|
|
264 |
- initial release |
- initial release |
265 |
|
|
266 |
%description |
%description |
267 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
268 |
|
|
269 |
%prep |
%prep |
270 |
%setup |
%setup |
271 |
%patch0 -p1 |
%patch0 -p1 |
272 |
%patch1 -p1 |
%patch1 -p1 |
273 |
|
%patch2 -p1 |
274 |
|
%patch3 -p1 |
275 |
|
%patch4 -p1 |
276 |
|
%patch5 -p1 |
277 |
|
%patch6 -p1 |
278 |
|
%patch7 -p1 |
279 |
|
%patch8 -p1 |
280 |
|
%patch9 -p1 |
281 |
|
%patch10 -p1 |
282 |
|
%patch11 -p1 |
283 |
|
%patch12 -p1 |
284 |
|
%patch13 -p1 |
285 |
|
%patch14 -p1 |
286 |
|
%patch15 -p1 |
287 |
|
|
288 |
%build |
%build |
289 |
perl createlinks |
perl createlinks |
299 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
300 |
|
|
301 |
%post |
%post |
302 |
systemctl enable ddclient |
#systemctl enable ddclient |
303 |
systemctl start ddclient |
#systemctl start ddclient |
304 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
305 |
systemctl restart smanager |
#systemctl restart smanager |
306 |
|
|
307 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
308 |
%defattr(-,root,root) |
%defattr(-,root,root) |