--- rpms/smeserver-thinclient/contribs10/smeserver-thinclient.spec 2022/05/09 21:41:27 1.4 +++ rpms/smeserver-thinclient/contribs10/smeserver-thinclient.spec 2022/06/30 04:45:51 1.5 @@ -1,12 +1,12 @@ -# $Id: smeserver-thinclient.spec,v 1.3 2022/04/30 02:49:07 trevorb Exp $ +# $Id: smeserver-thinclient.spec,v 1.4 2022/05/09 21:41:27 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.2 -%define release 2 +%define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -18,6 +18,7 @@ Requires: e-smith-base, smeserver-pxe BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReq: yes Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch +Patch2: smeserver-thinclient-2.2-12085-workstation_trigger_update.patch %description Manage diskless workstation/device booting over network. @@ -26,9 +27,43 @@ Basic PXE booting is enabled via smeserv 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} +%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 + %changelog +* Thu June 30 2020 Trevor Batley 2.2-3.sme +- 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] +- 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 @@ -144,31 +179,3 @@ Requires sme server to be acting as the * Sat Jan 24 2004 Trevor Batley - Initial release - -%prep -%setup -q -n %{name}-%{version} -%patch1 -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