1 |
# $Id: smeserver-ddclient.spec,v 1.32 2023/11/10 15:53:02 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.40 2024/05/08 09:19:39 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 28 |
%define release 34 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
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 |
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 |
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 |
|
Patch26: smeserver-ddclient-1.3.0-bz12598-updateNameCheap.patch |
43 |
|
Patch27: smeserver-ddclient-1.3.0-Fix-ppoe-restart-and-expand-template-for-bootstrap-and-console-save.patch |
44 |
|
Patch28: smeserver-ddclient-1.3.0-locale-2024-09-04.patch |
45 |
|
|
46 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
47 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
54 |
AutoReqProv: no |
AutoReqProv: no |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Wed Sep 04 2024 Terry Fage <terry@fage.id.au> 1.3.0-34.sme |
58 |
|
- Update locale 2024-09-04.patch |
59 |
|
|
60 |
|
* Wed May 08 2024 Brian Read <brianr@koozali.org> 1.3.0-33.sme |
61 |
|
- change command on ppoe up to use systemd [SME: 12676 ] |
62 |
|
- Add console-save and bootrap-console-save to expand template take out post-upgrade [SME: 12675 ] |
63 |
|
|
64 |
|
* Thu Apr 11 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-32.sme |
65 |
|
- update NameCheap [SME: 12598] |
66 |
|
|
67 |
|
* Sun Apr 07 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.3.0-31.sme |
68 |
|
- add fix for namecheap to last patch [SME: 12598] |
69 |
|
|
70 |
|
* Sun Apr 07 2024 Brian Read <brianr@koozali.org> 1.3.0-30.sme |
71 |
|
- Merge template files for Virtual and free form domains and fix incompatibility with 3.11.2 [SME: 12598] |
72 |
|
- Localist free form table [SME: 12600] |
73 |
|
|
74 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.3.0-29.sme |
75 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
76 |
|
|
77 |
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
78 |
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427 ] |
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427] |
79 |
- Update SM2 code to show all new protocols etc |
- Update SM2 code to show all new protocols etc |
80 |
|
|
81 |
* 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 |
82 |
- 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] |
83 |
|
|
84 |
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
85 |
- Remove 3.10 as a requirement in spec |
- Remove 3.10 as a requirement in spec |
354 |
%patch21 -p1 |
%patch21 -p1 |
355 |
%patch22 -p1 |
%patch22 -p1 |
356 |
%patch23 -p1 |
%patch23 -p1 |
357 |
|
%patch24 -p1 |
358 |
|
%patch25 -p1 |
359 |
|
%patch26 -p1 |
360 |
|
%patch27 -p1 |
361 |
|
%patch28 -p1 |
362 |
|
|
363 |
%build |
%build |
364 |
perl createlinks |
perl createlinks |
368 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
369 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
370 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
|
371 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
372 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
373 |
|
|
374 |
|
# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ |
375 |
|
# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ |
376 |
|
|
377 |
%clean |
%clean |
378 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
379 |
|
|
383 |
#/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
384 |
#systemctl restart smanager |
#systemctl restart smanager |
385 |
|
|
386 |
|
if (systemctl list-unit-files |grep smanager) then |
387 |
|
echo "Smanager restart in spec file" |
388 |
|
/sbin/e-smith/signal-event smanager-refresh; |
389 |
|
fi |
390 |
|
true |
391 |
|
|
392 |
|
|
393 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
394 |
%defattr(-,root,root) |
%defattr(-,root,root) |
395 |
|
|