1 |
# $Id: smeserver-ddclient.spec,v 1.22 2021/12/03 15:30:57 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.23 2021/12/20 08:53:16 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 19 |
%define release 20 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
23 |
Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch |
Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch |
24 |
Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch |
Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch |
25 |
Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch |
Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch |
26 |
Patch10:smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch |
Patch10: smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch |
27 |
Patch11:smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch |
Patch11: smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch |
28 |
Patch12:smeserver-ddclient-1.3.0-locale-2021-09-08.patch |
Patch12: smeserver-ddclient-1.3.0-locale-2021-09-08.patch |
29 |
Patch13:smeserver-ddclient-1.3.0-Set-urlcheckip-default-back-to-dyndns.patch |
Patch13: smeserver-ddclient-1.3.0-Set-urlcheckip-default-back-to-dyndns.patch |
30 |
Patch14:smeserver-ddclient-1.3.0-Add-class-to-div-in-main-module.patch |
Patch14: smeserver-ddclient-1.3.0-Add-class-to-div-in-main-module.patch |
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 |
33 |
|
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
42 |
AutoReqProv: no |
AutoReqProv: no |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
46 |
|
- Fix unit file, add config entries [SME: 11847] |
47 |
|
|
48 |
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
49 |
- Fix-typo-in-description-paragraph [SME: 11812] |
- Fix-typo-in-description-paragraph [SME: 11812] |
50 |
|
|
288 |
%patch13 -p1 |
%patch13 -p1 |
289 |
%patch14 -p1 |
%patch14 -p1 |
290 |
%patch15 -p1 |
%patch15 -p1 |
291 |
|
%patch16 -p1 |
292 |
|
|
293 |
%build |
%build |
294 |
perl createlinks |
perl createlinks |
297 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
298 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
299 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
300 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
301 |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
302 |
|
> %{name}-%{version}-filelist |
303 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
304 |
|
|
305 |
%clean |
%clean |
313 |
|
|
314 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
315 |
%defattr(-,root,root) |
%defattr(-,root,root) |
316 |
|
|