1 |
# $Id: smeserver-ddclient.spec,v 1.30 2023/02/13 13:14:09 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.36 2024/03/01 11:52:05 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 27 |
%define release 30 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
35 |
Patch19: smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch |
Patch19: smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch |
36 |
Patch20: smeserver-ddclient-1.3.0-locale-2022-11-11.patch |
Patch20: smeserver-ddclient-1.3.0-locale-2022-11-11.patch |
37 |
Patch21: smeserver-ddclient-1.3.0-Remove-ddc-from-front-of-messages-labels-and-update-conf-template.patch |
Patch21: smeserver-ddclient-1.3.0-Remove-ddc-from-front-of-messages-labels-and-update-conf-template.patch |
38 |
|
Patch22: smeserver-ddclient-1.3.0-Update-for-3.11.1-deprecated-commands-in-template.patch |
39 |
|
Patch23: smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch |
40 |
|
Patch24: smeserver-ddclient-1.3.0-Alter-menu-category-for-new-arrangement.patch |
41 |
|
Patch25: smeserver-ddclient-1.3.0-Fix-template-declaration-file-and-localise-table-sm1.patch |
42 |
|
|
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
51 |
AutoReqProv: no |
AutoReqProv: no |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Sun Apr 07 2024 Brian Read <brianr@koozali.org> 1.3.0-30.sme |
55 |
|
- Merge template files for Virtual and free form domains and fix incompatibility with 3.11.2 [SME: 12598 ] |
56 |
|
- Localist free form table [SME: 12600 ] |
57 |
|
|
58 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.3.0-29.sme |
59 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
60 |
|
|
61 |
|
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
62 |
|
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427 ] |
63 |
|
- Update SM2 code to show all new protocols etc |
64 |
|
|
65 |
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
66 |
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
67 |
|
|
336 |
%patch19 -p1 |
%patch19 -p1 |
337 |
%patch20 -p1 |
%patch20 -p1 |
338 |
%patch21 -p1 |
%patch21 -p1 |
339 |
|
%patch22 -p1 |
340 |
|
%patch23 -p1 |
341 |
|
%patch24 -p1 |
342 |
|
%patch25 -p1 |
343 |
|
|
344 |
%build |
%build |
345 |
perl createlinks |
perl createlinks |
349 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
350 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
351 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
|
352 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
353 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
354 |
|
|
355 |
|
# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ |
356 |
|
# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ |
357 |
|
|
358 |
%clean |
%clean |
359 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
360 |
|
|
364 |
#/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
365 |
#systemctl restart smanager |
#systemctl restart smanager |
366 |
|
|
367 |
|
if (systemctl list-unit-files |grep smanager) then |
368 |
|
echo "Smanager restart in spec file" |
369 |
|
/sbin/e-smith/signal-event smanager-refresh; |
370 |
|
fi |
371 |
|
true |
372 |
|
|
373 |
|
|
374 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
375 |
%defattr(-,root,root) |
%defattr(-,root,root) |
376 |
|
|