1 |
# $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 $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Trevor Batley |
# Name: Trevor Batley |
4 |
|
|
5 |
Summary: Allow pxeboot of Thin Client workstations over network |
Summary: Manage pxeboot of Thin Client workstations over network |
6 |
%define name smeserver-thinclient |
%define name smeserver-thinclient |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.1 |
%define version 2.2 |
9 |
%define release 4 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
14 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
BuildArch: noarch |
17 |
Requires: e-smith-base |
Requires: e-smith-base, smeserver-pxe |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReq: yes |
AutoReq: yes |
|
Patch1: smeserver-thinclient-2.1-tftpdconf.patch |
|
|
Patch2: smeserver-thinclient-2.1-archive.patch |
|
20 |
|
|
21 |
%description |
%description |
22 |
Allows for diskless workstation boot of Thin Clients over network. |
Manage diskless workstation/device booting over network. |
23 |
PXE capable NIC and BIOS required on target machine |
PXE capable NIC and BIOS required on target machine |
24 |
tftp server reqired. Can be on sme server - requires smeserver-tftpd or elsewhere in network |
Basic PXE booting is enabled via smeserver-pxe. This contrib manages what the pxe clients use. |
25 |
Assumes sme server is acting as dhcp server |
A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network |
26 |
|
Requires sme server to be acting as the dhcp server |
27 |
|
|
28 |
|
%prep |
29 |
|
%setup -q -n %{name}-%{version} |
30 |
|
|
31 |
|
%build |
32 |
|
perl createlinks |
33 |
|
|
34 |
|
%install |
35 |
|
/bin/rm -rf $RPM_BUILD_ROOT |
36 |
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
37 |
|
/bin/rm -f %{name}-%{version}-filelist |
38 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
39 |
|
|
40 |
|
%clean |
41 |
|
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
43 |
|
%files -f %{name}-%{version}-filelist |
44 |
|
|
45 |
|
%defattr(-,root,root) |
46 |
|
|
47 |
|
%pre |
48 |
|
|
49 |
|
%preun |
50 |
|
|
51 |
|
%post |
52 |
|
|
53 |
|
%postun |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Fri Jul 1 2022 Trevor Batley <trevor@batley.id.au> 2.2-3.sme |
57 |
|
- consolidate patches etc. and replace tarball |
58 |
|
- trigger update event on all save of workstation [SME 12085] |
59 |
|
- move templates2expand and services2adjust into createlinks [SME 12086] |
60 |
|
- move changelog in spec to end |
61 |
|
|
62 |
|
* Tue May 10 2022 Trevor Batley <trevor@batley.id.au> 2.2-2.sme |
63 |
|
- added missing migrate/00openRW fragment for thinslient DB [SME 11967] |
64 |
|
|
65 |
|
* Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 2.2-1.sme |
66 |
|
- added /etc/dhcpd.thinclient include file for pxe clients |
67 |
|
- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] |
68 |
|
- add options for different architectures [SME: 10821] |
69 |
|
- change back to using / updating tftp [SME: 11939] |
70 |
|
- fixed some dodgy db parameter processing |
71 |
|
- rollup patches (archive.patch, tftpd.conf) |
72 |
|
|
73 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
74 |
- Initial import to SME10 tree [SME: 11073] |
- Initial import to SME10 tree [SME: 11073] |
75 |
|
|
77 |
- Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] |
- Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] |
78 |
- Always set tftproot as /tftpboot as default [9441] |
- Always set tftproot as /tftpboot as default [9441] |
79 |
|
|
80 |
* Sun Apr 4 2016 Trevor Batley <trevorbatley@usres.sourceforge.net> 2.1-2 |
* Mon Apr 4 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 2.1-2 |
81 |
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
82 |
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
83 |
|
|
98 |
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
99 |
- Got rid of superfluous 3 level version number and reverted to 2 levels |
- Got rid of superfluous 3 level version number and reverted to 2 levels |
100 |
|
|
101 |
* Sun Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
* Sat Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
102 |
- Tidied up some of the references to pxe parameters in panel |
- Tidied up some of the references to pxe parameters in panel |
103 |
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
104 |
|
|
132 |
- Display error messages on Workstation & Distribution panels |
- Display error messages on Workstation & Distribution panels |
133 |
- Added tick/cross and coloured Operation Status report |
- Added tick/cross and coloured Operation Status report |
134 |
|
|
135 |
* Wed Apr 01 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
* Thu Apr 1 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
136 |
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
137 |
|
|
138 |
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
176 |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
177 |
- Initial release |
- Initial release |
178 |
|
|
|
|
|
|
%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 |
|