1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.15 2021/08/05 12:50:51 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 12 |
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 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
34 |
AutoReqProv: no |
AutoReqProv: no |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
38 |
|
- Update locale 2021-08-21.patch |
39 |
|
|
40 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
41 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
42 |
|
|
43 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
44 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
45 |
|
|
46 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
47 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
48 |
|
|
49 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
50 |
|
- Correct ExecStart in Service file [SME: 11370] |
51 |
|
|
52 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
53 |
|
- Update list of services in SM1 [SME: 11414] |
54 |
|
- Add in Wantedby in service file dropin |
55 |
|
|
56 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
57 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
58 |
|
|
59 |
* 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 |
60 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
61 |
|
|
235 |
- initial release |
- initial release |
236 |
|
|
237 |
%description |
%description |
238 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
239 |
|
|
240 |
%prep |
%prep |
241 |
%setup |
%setup |
242 |
%patch0 -p1 |
%patch0 -p1 |
243 |
%patch1 -p1 |
%patch1 -p1 |
244 |
|
%patch2 -p1 |
245 |
|
%patch3 -p1 |
246 |
|
%patch4 -p1 |
247 |
|
%patch5 -p1 |
248 |
|
%patch6 -p1 |
249 |
|
%patch7 -p1 |
250 |
|
%patch8 -p1 |
251 |
|
|
252 |
%build |
%build |
253 |
perl createlinks |
perl createlinks |
263 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
264 |
|
|
265 |
%post |
%post |
266 |
systemctl enable ddclient |
#systemctl enable ddclient |
267 |
systemctl start ddclient |
#systemctl start ddclient |
268 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
269 |
systemctl restart smanager |
#systemctl restart smanager |
270 |
|
|
271 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
272 |
%defattr(-,root,root) |
%defattr(-,root,root) |