1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.8 2020/12/02 11:29:31 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 6 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
32 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
33 |
|
|
34 |
* 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 |
35 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
36 |
|
|
210 |
- initial release |
- initial release |
211 |
|
|
212 |
%description |
%description |
213 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
214 |
|
|
215 |
%prep |
%prep |
216 |
%setup |
%setup |
217 |
%patch0 -p1 |
%patch0 -p1 |
218 |
%patch1 -p1 |
%patch1 -p1 |
219 |
|
%patch2 -p1 |
220 |
|
|
221 |
%build |
%build |
222 |
perl createlinks |
perl createlinks |
232 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
233 |
|
|
234 |
%post |
%post |
235 |
systemctl enable ddclient |
#systemctl enable ddclient |
236 |
systemctl start ddclient |
#systemctl start ddclient |
237 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
238 |
systemctl restart smanager |
#systemctl restart smanager |
239 |
|
|
240 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
241 |
%defattr(-,root,root) |
%defattr(-,root,root) |