1 |
# $Id: smeserver-ddclient.spec,v 1.5 2020/07/01 05:41:03 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.10 2021/03/05 11:43:10 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 3 |
%define release 8 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
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 |
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 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
27 |
Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
28 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.9.1 |
29 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
34 |
|
- Correct ExecStart in Service file [SME: 11370] |
35 |
|
|
36 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
37 |
|
- Update list of services in SM1 [SME: 11414] |
38 |
|
- Add in Wantedby in service file dropin |
39 |
|
|
40 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
41 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
42 |
|
|
43 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
44 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
45 |
|
|
46 |
|
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
47 |
|
- fix [SME:10942] |
48 |
|
|
49 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
50 |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
51 |
|
|
219 |
- initial release |
- initial release |
220 |
|
|
221 |
%description |
%description |
222 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
223 |
|
|
224 |
%prep |
%prep |
225 |
%setup |
%setup |
226 |
%patch0 -p1 |
%patch0 -p1 |
227 |
|
%patch1 -p1 |
228 |
|
%patch2 -p1 |
229 |
|
%patch3 -p1 |
230 |
|
%patch4 -p1 |
231 |
|
|
232 |
%build |
%build |
233 |
perl createlinks |
perl createlinks |
243 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
244 |
|
|
245 |
%post |
%post |
246 |
systemctl enable ddclient |
#systemctl enable ddclient |
247 |
systemctl start ddclient |
#systemctl start ddclient |
248 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
249 |
systemctl restart smanager |
#systemctl restart smanager |
250 |
|
|
251 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
252 |
%defattr(-,root,root) |
%defattr(-,root,root) |