1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.11 2021/03/05 12:07:41 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 9 |
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 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
35 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
36 |
|
|
37 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
38 |
|
- Correct ExecStart in Service file [SME: 11370] |
39 |
|
|
40 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
41 |
|
- Update list of services in SM1 [SME: 11414] |
42 |
|
- Add in Wantedby in service file dropin |
43 |
|
|
44 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
45 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
46 |
|
|
47 |
* 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 |
48 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
49 |
|
|
223 |
- initial release |
- initial release |
224 |
|
|
225 |
%description |
%description |
226 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
227 |
|
|
228 |
%prep |
%prep |
229 |
%setup |
%setup |
230 |
%patch0 -p1 |
%patch0 -p1 |
231 |
%patch1 -p1 |
%patch1 -p1 |
232 |
|
%patch2 -p1 |
233 |
|
%patch3 -p1 |
234 |
|
%patch4 -p1 |
235 |
|
%patch5 -p1 |
236 |
|
|
237 |
%build |
%build |
238 |
perl createlinks |
perl createlinks |
248 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
249 |
|
|
250 |
%post |
%post |
251 |
systemctl enable ddclient |
#systemctl enable ddclient |
252 |
systemctl start ddclient |
#systemctl start ddclient |
253 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
254 |
systemctl restart smanager |
#systemctl restart smanager |
255 |
|
|
256 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
257 |
%defattr(-,root,root) |
%defattr(-,root,root) |