1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.19 2021/08/31 13:49:07 jcrisp 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 16 |
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 |
|
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
42 |
|
- Update locale 2021-09-08.patch |
43 |
|
|
44 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
45 |
|
- Fix events in ddclient SM2 library [SME:11667] |
46 |
|
|
47 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
48 |
|
- Fix events in ddclient web script [SME:11667] |
49 |
|
- Add service link in domain-create |
50 |
|
|
51 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
52 |
|
- Update locale 2021-08-23.patch |
53 |
|
|
54 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
55 |
|
- Update locale 2021-08-21.patch |
56 |
|
|
57 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
58 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
59 |
|
|
60 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
61 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
62 |
|
|
63 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
64 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
65 |
|
|
66 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
67 |
|
- Correct ExecStart in Service file [SME: 11370] |
68 |
|
|
69 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
70 |
|
- Update list of services in SM1 [SME: 11414] |
71 |
|
- Add in Wantedby in service file dropin |
72 |
|
|
73 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
74 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
75 |
|
|
76 |
* 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 |
77 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
78 |
|
|
252 |
- initial release |
- initial release |
253 |
|
|
254 |
%description |
%description |
255 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
256 |
|
|
257 |
%prep |
%prep |
258 |
%setup |
%setup |
259 |
%patch0 -p1 |
%patch0 -p1 |
260 |
%patch1 -p1 |
%patch1 -p1 |
261 |
|
%patch2 -p1 |
262 |
|
%patch3 -p1 |
263 |
|
%patch4 -p1 |
264 |
|
%patch5 -p1 |
265 |
|
%patch6 -p1 |
266 |
|
%patch7 -p1 |
267 |
|
%patch8 -p1 |
268 |
|
%patch9 -p1 |
269 |
|
%patch10 -p1 |
270 |
|
%patch11 -p1 |
271 |
|
%patch12 -p1 |
272 |
|
|
273 |
%build |
%build |
274 |
perl createlinks |
perl createlinks |
284 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
285 |
|
|
286 |
%post |
%post |
287 |
systemctl enable ddclient |
#systemctl enable ddclient |
288 |
systemctl start ddclient |
#systemctl start ddclient |
289 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
290 |
systemctl restart smanager |
#systemctl restart smanager |
291 |
|
|
292 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
293 |
%defattr(-,root,root) |
%defattr(-,root,root) |