1 |
# $Id: smeserver-thinclient.spec,v 1.3 2020/10/29 18:45:26 trevorb 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.2 |
%define version 2.2 |
9 |
%define release 1 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
25 |
A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network |
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 |
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 |
* Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 2.2-1.sme |
66 |
- added /etc/dhcpd.thinclient include file for pxe clients |
- added /etc/dhcpd.thinclient include file for pxe clients |
67 |
- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] |
- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] |
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} |
|
|
|
|
|
%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 |
|