--- rpms/smeserver-thinclient/contribs10/smeserver-thinclient.spec 2020/10/29 18:45:26 1.2 +++ rpms/smeserver-thinclient/contribs10/smeserver-thinclient.spec 2022/07/01 01:34:41 1.9 @@ -1,12 +1,12 @@ -# $Id: smeserver-thinclient.spec,v 1.1 2020/10/29 18:35:40 brianr Exp $ +# $Id: smeserver-thinclient.spec,v 1.8 2022/07/01 01:23:05 trevorb Exp $ # Authority: nocvs # Name: Trevor Batley -Summary: Allow pxeboot of Thin Client workstations over network +Summary: Manage pxeboot of Thin Client workstations over network %define name smeserver-thinclient Name: %{name} -%define version 2.1 -%define release 4 +%define version 2.2 +%define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -14,19 +14,62 @@ Group: Network Source: %{name}-%{version}.tar.xz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch -Requires: e-smith-base +Requires: e-smith-base, smeserver-pxe BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReq: yes -Patch1: smeserver-thinclient-2.1-tftpdconf.patch -Patch2: smeserver-thinclient-2.1-archive.patch %description -Allows for diskless workstation boot of Thin Clients over network. +Manage diskless workstation/device booting over network. PXE capable NIC and BIOS required on target machine -tftp server reqired. Can be on sme server - requires smeserver-tftpd or elsewhere in network -Assumes sme server is acting as dhcp server +Basic PXE booting is enabled via smeserver-pxe. This contrib manages what the pxe clients use. +A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network +Requires sme server to be acting as the dhcp server + +%prep +%setup -q -n %{name}-%{version} + +%build +perl createlinks + +%install +/bin/rm -rf $RPM_BUILD_ROOT +(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist + +%defattr(-,root,root) + +%pre + +%preun + +%post + +%postun %changelog +* Fri Jul 1 2022 Trevor Batley 2.2-3.sme +- consolidate patches etc. and replace tarball +- trigger update event on all save of workstation [SME 12085] +- move templates2expand and services2adjust into createlinks [SME 12086] +- move changelog in spec to end + +* Tue May 10 2022 Trevor Batley 2.2-2.sme +- added missing migrate/00openRW fragment for thinslient DB [SME 11967] + +* Thu Apr 28 2022 Trevor Batley 2.2-1.sme +- added /etc/dhcpd.thinclient include file for pxe clients +- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] +- add options for different architectures [SME: 10821] +- change back to using / updating tftp [SME: 11939] +- fixed some dodgy db parameter processing +- rollup patches (archive.patch, tftpd.conf) + * Thu Oct 29 2020 Brian Read 2.1-4.sme - Initial import to SME10 tree [SME: 11073] @@ -34,7 +77,7 @@ Assumes sme server is acting as dhcp ser - Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] - Always set tftproot as /tftpboot as default [9441] -* Sun Apr 4 2016 Trevor Batley 2.1-2 +* Mon Apr 4 2016 Trevor Batley 2.1-2 - Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] - Also remove the services2adjust restart of tftpd, which was trying to do the same @@ -55,7 +98,7 @@ Assumes sme server is acting as dhcp ser * Tue Apr 4 2006 Trevor Batley - 2.0-4 - Got rid of superfluous 3 level version number and reverted to 2 levels -* Sun Apr 1 2006 Trevor Batley - 2.0.0-3 +* Sat Apr 1 2006 Trevor Batley - 2.0.0-3 - Tidied up some of the references to pxe parameters in panel - Changed panel to look for the tftpd{directory} parameter for populating tftproot @@ -89,7 +132,7 @@ Assumes sme server is acting as dhcp ser - Display error messages on Workstation & Distribution panels - Added tick/cross and coloured Operation Status report -* Wed Apr 01 2004 Trevor Batley - 1.2.0-1 +* Thu Apr 1 2004 Trevor Batley - 1.2.0-1 - Add functionality into panel to add/remove distributions via rpm (file on local workstation) * Wed Mar 24 2004 Trevor Batley @@ -133,32 +176,3 @@ Assumes sme server is acting as dhcp ser * Sat Jan 24 2004 Trevor Batley - Initial release - -%prep -%setup -q -n %{name}-%{version} -%patch1 -p1 -%patch2 -p1 - -%build -perl createlinks - -%install -/bin/rm -rf $RPM_BUILD_ROOT -(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) -/bin/rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f %{name}-%{version}-filelist - -%defattr(-,root,root) - -%pre - -%preun - -%post - -%postun