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