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

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

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

Revision 1.3 by brianr, Wed Mar 24 11:20:21 2021 UTC Revision 1.7 by brianr, Thu Mar 10 12:22:07 2022 UTC
# Line 1  Line 1 
1  %define name smeserver-dhcpmanager  %define name smeserver-dhcpmanager
2  %define version 2.0.4  %define version 2.0.4
3  %define release 10  %define release 13
4    
5  Summary: provide a dhcp panel in the server-manager for The SME Server  Summary: provide a dhcp panel in the server-manager for The SME Server
6  Name: %{name}  Name: %{name}
# Line 15  BuildRoot: %{_tmppath}/%{name}-buildroot Line 15  BuildRoot: %{_tmppath}/%{name}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
17  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 9.0
18    Requires: e-smith-base >= 5.8.0-93
19  Requires: net-tools  Requires: net-tools
20  Requires: nmap >= 2:6.25  Requires: nmap >= 2:6.25
21  AutoReqProv: no  AutoReqProv: no
22    
23  Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch  Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch
24  Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch  Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch
25  Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch  Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch
# Line 25  Patch3: smeserver-dhcpmanager-2.0.4-loca Line 27  Patch3: smeserver-dhcpmanager-2.0.4-loca
27  Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch  Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch
28  Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch  Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch
29  Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch  Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch
30    Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch
31    Patch8: smeserver-dhcpmanager-2.0.4-locale-2021-08-22.patch
32    Patch9: smeserver-dhcpmanager-2.0.4-Add-panels-for-SM2.patch
33    
34  %description  %description
35  Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc//  Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc//
36    
37  %changelog  %changelog
38    * Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme
39    - Add panels for SM2 [SME: 11850]
40    
41    * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme
42    - apply locale 2021-08-22 patch
43    
44    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme
45    - removing tmeplate custom, merged with core [SME: 11506]
46    - adding third DNS entry [SME: 11506]
47    
48  * Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme  * Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme
49  - Add Update event to createlinks [SME: 11029]  - Add Update event to createlinks [SME: 11029]
50    
# Line 112  Implementation of some feature arround d Line 127  Implementation of some feature arround d
127  %patch4 -p1  %patch4 -p1
128  %patch5 -p1  %patch5 -p1
129  %patch6 -p1  %patch6 -p1
130    %patch7 -p1
131    %patch8 -p1
132    %patch9 -p1
133    
134    rm -rf root/etc/e-smith/templates-custom
135    
136  %build  %build
137  perl createlinks  perl createlinks
138    
   
139  %install  %install
140  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
141  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
# Line 129  cd .. Line 148  cd ..
148  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
149    
150  %pre  %pre
151    
152  %preun  %preun
153    
154  %post  %post
155  #/etc/e-smith/events/actions/navigation-conf  if [ -f /usr/share/smanager/lib/SrvMngr.pm ]
156    then
157            rm -f /usr/share/smanager/lib/I18N/Modules/Dhcpd/en.pm
158            /usr/sbin/e-smith/signal-event smanager-refresh
159    fi
160    true
161    
162    
163  %postun  %postun
 #rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers  
164    
165  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
166  %defattr(-,root,root)  %defattr(-,root,root)


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