1 |
# $Id: smeserver-ddclient.spec,v 1.24 2022/01/13 14:03:14 jcrisp Exp $ |
# $Id: smeserver-ddclient.spec,v 1.38 2024/04/07 21:21:50 jpp 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 21 |
%define release 32 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
31 |
Patch15: smeserver-ddclient-1.3.0-Fix-typo-in-description-paragraph.patch |
Patch15: smeserver-ddclient-1.3.0-Fix-typo-in-description-paragraph.patch |
32 |
Patch16: smeserver-ddclient-1.3.0-bz11847-fix-unit-file.patch |
Patch16: smeserver-ddclient-1.3.0-bz11847-fix-unit-file.patch |
33 |
Patch17: smeserver-ddclient-1.3.0-Make-intial-call-to-ddclient-honour-db-entries.patch |
Patch17: smeserver-ddclient-1.3.0-Make-intial-call-to-ddclient-honour-db-entries.patch |
34 |
|
Patch18: smeserver-ddclient-1.3.0-bz11860-fix-zoneedit-endpoint.patch |
35 |
|
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 |
37 |
|
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 |
|
Patch26: smeserver-ddclient-1.3.0-bz12598-updateNameCheap.patch |
43 |
|
|
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
47 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
48 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
49 |
#Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
50 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.11.1 |
51 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
52 |
AutoReqProv: no |
AutoReqProv: no |
53 |
|
|
54 |
%changelog |
%changelog |
55 |
|
* Thu Apr 11 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-32.sme |
56 |
|
- update NameCheap [SME: 12598] |
57 |
|
|
58 |
|
* Sun Apr 07 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.3.0-31.sme |
59 |
|
- add fix for namecheap to last patch [SME: 12598] |
60 |
|
|
61 |
|
* Sun Apr 07 2024 Brian Read <brianr@koozali.org> 1.3.0-30.sme |
62 |
|
- Merge template files for Virtual and free form domains and fix incompatibility with 3.11.2 [SME: 12598] |
63 |
|
- Localist free form table [SME: 12600] |
64 |
|
|
65 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.3.0-29.sme |
66 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
67 |
|
|
68 |
|
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
69 |
|
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427] |
70 |
|
- Update SM2 code to show all new protocols etc |
71 |
|
|
72 |
|
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
73 |
|
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
74 |
|
|
75 |
|
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
76 |
|
- Remove 3.10 as a requirement in spec |
77 |
|
|
78 |
|
* Wed Jan 25 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-25.sme |
79 |
|
- Remove the ddc_ from the front of the (translateble) messages [SME: 12217] |
80 |
|
- Update Template files for changes in conf format and contents for 3.10.0 |
81 |
|
|
82 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.0-24.sme |
83 |
|
- Update locale 2022-11-11 patch |
84 |
|
|
85 |
|
* Sun Feb 20 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-23.sme |
86 |
|
- Add-DB-entries-for-success-and-failure-notification [SME: 11874] |
87 |
|
|
88 |
|
* Fri Feb 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-22.sme |
89 |
|
- Fix incorrect zoneedit endpoint [SME:11860] |
90 |
|
|
91 |
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
92 |
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
93 |
|
|
339 |
%patch15 -p1 |
%patch15 -p1 |
340 |
%patch16 -p1 |
%patch16 -p1 |
341 |
%patch17 -p1 |
%patch17 -p1 |
342 |
|
%patch18 -p1 |
343 |
|
%patch19 -p1 |
344 |
|
%patch20 -p1 |
345 |
|
%patch21 -p1 |
346 |
|
%patch22 -p1 |
347 |
|
%patch23 -p1 |
348 |
|
%patch24 -p1 |
349 |
|
%patch25 -p1 |
350 |
|
%patch26 -p1 |
351 |
|
|
352 |
%build |
%build |
353 |
perl createlinks |
perl createlinks |
357 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
358 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
359 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
|
360 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
361 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
362 |
|
|
363 |
|
# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ |
364 |
|
# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ |
365 |
|
|
366 |
%clean |
%clean |
367 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
368 |
|
|
372 |
#/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
373 |
#systemctl restart smanager |
#systemctl restart smanager |
374 |
|
|
375 |
|
if (systemctl list-unit-files |grep smanager) then |
376 |
|
echo "Smanager restart in spec file" |
377 |
|
/sbin/e-smith/signal-event smanager-refresh; |
378 |
|
fi |
379 |
|
true |
380 |
|
|
381 |
|
|
382 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
383 |
%defattr(-,root,root) |
%defattr(-,root,root) |
384 |
|
|