/[smecontribs]/rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec
ViewVC logotype

Diff of /rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.30 by brianr, Mon Feb 13 13:14:09 2023 UTC Revision 1.36 by brianr, Fri Mar 1 11:52:05 2024 UTC
# Line 1  Line 1 
1  # $Id: smeserver-ddclient.spec,v 1.29 2023/01/30 14:13:26 brianr Exp $  # $Id: smeserver-ddclient.spec,v 1.35 2023/12/18 10:50:14 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 26  %define release 29
8    
9  Summary: ddclient panel for SME Server  Summary: ddclient panel for SME Server
10  Name: %{name}  Name: %{name}
# Line 35  Patch18: smeserver-ddclient-1.3.0-bz1186 Line 35  Patch18: smeserver-ddclient-1.3.0-bz1186
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    
42  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
43  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 42  Obsoletes: sme7-ddclient Line 45  Obsoletes: sme7-ddclient
45  BuildArchitectures: noarch  BuildArchitectures: noarch
46  Requires: e-smith-release >= 10.0  Requires: e-smith-release >= 10.0
47  #Requires: smeserver-manager >= 0.1.0-24  #Requires: smeserver-manager >= 0.1.0-24
48  Requires: ddclient = 3.9.1  Requires: ddclient >= 3.11.1
49  Requires: e-smith-formmagick  Requires: e-smith-formmagick
50  AutoReqProv: no  AutoReqProv: no
51    
52  %changelog  %changelog
53    * Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.3.0-29.sme
54    - Edit Menu entry to conform to new arrangements [SME: 12493]
55    
56    * Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme
57    - Update template for deprecated commands and v3.11.1 ddclient [SME: 12427 ]
58    - Update SM2 code to show all new protocols etc
59    
60    * Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme
61    - Alter require to greater than or equal to 3.11.1 [SME: 12425]
62    
63  * 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
64  - Remove 3.10 as a requirement in spec  - Remove 3.10 as a requirement in spec
65    
# Line 318  ddclient panel and config files for SMES Line 331  ddclient panel and config files for SMES
331  %patch19 -p1  %patch19 -p1
332  %patch20 -p1  %patch20 -p1
333  %patch21 -p1  %patch21 -p1
334    %patch22 -p1
335    %patch23 -p1
336    %patch24 -p1
337    
338  %build  %build
339  perl createlinks  perl createlinks
# Line 327  rm -rf $RPM_BUILD_ROOT Line 343  rm -rf $RPM_BUILD_ROOT
343  (cd root   ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT)
344  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
345  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
  --dir /etc/ddclient  'attr(0700,ddclient,ddclient)' \  
346  > %{name}-%{version}-filelist  > %{name}-%{version}-filelist
347  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
348    
349    # --dir /etc/ddclient  'attr(0600,ddclient,ddclient)' \
350    # --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \
351    
352  %clean  %clean
353  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
354    
# Line 340  rm -rf $RPM_BUILD_ROOT Line 358  rm -rf $RPM_BUILD_ROOT
358  #/sbin/e-smith/signal-event smanager-refresh  #/sbin/e-smith/signal-event smanager-refresh
359  #systemctl restart smanager  #systemctl restart smanager
360    
361    if (systemctl list-unit-files |grep smanager) then
362      echo "Smanager restart in spec file"
363      /sbin/e-smith/signal-event smanager-refresh;
364    fi
365    true
366    
367    
368  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
369  %defattr(-,root,root)  %defattr(-,root,root)
370    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed