1 |
# $Id: smeserver-ddclient.spec,v 1.6 2020/07/01 13:41:35 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.12 2021/03/12 16:06:59 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 4 |
%define release 10 |
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 |
|
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
29 |
Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
30 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.9.1 |
31 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
32 |
AutoReqProv: no |
AutoReqProv: no |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
36 |
|
- Replace default checkip.dyndns.org with bot.whatiusmyipaddress.com [SME: 11656 ] |
37 |
|
|
38 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
39 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
40 |
|
|
41 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
42 |
|
- Correct ExecStart in Service file [SME: 11370] |
43 |
|
|
44 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
45 |
|
- Update list of services in SM1 [SME: 11414] |
46 |
|
- Add in Wantedby in service file dropin |
47 |
|
|
48 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
49 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
50 |
|
|
51 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
52 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
53 |
|
|
54 |
* 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 |
55 |
- fix [SME:10942] |
- fix [SME:10942] |
56 |
|
|
227 |
- initial release |
- initial release |
228 |
|
|
229 |
%description |
%description |
230 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
231 |
|
|
232 |
%prep |
%prep |
233 |
%setup |
%setup |
234 |
%patch0 -p1 |
%patch0 -p1 |
235 |
%patch1 -p1 |
%patch1 -p1 |
236 |
|
%patch2 -p1 |
237 |
|
%patch3 -p1 |
238 |
|
%patch4 -p1 |
239 |
|
%patch5 -p1 |
240 |
|
%patch6 -p1 |
241 |
|
|
242 |
%build |
%build |
243 |
perl createlinks |
perl createlinks |
253 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
254 |
|
|
255 |
%post |
%post |
256 |
systemctl enable ddclient |
#systemctl enable ddclient |
257 |
systemctl start ddclient |
#systemctl start ddclient |
258 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
259 |
systemctl restart smanager |
#systemctl restart smanager |
260 |
|
|
261 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
262 |
%defattr(-,root,root) |
%defattr(-,root,root) |