1 |
# $Id: smeserver-thinclient.spec,v 1.3 2022/04/30 02:49:07 trevorb Exp $ |
# $Id: smeserver-thinclient.spec,v 1.7 2022/07/01 01:06:51 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 2 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
17 |
Requires: e-smith-base, smeserver-pxe |
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.2-migrate_DB_open_RW.patch |
|
20 |
|
|
21 |
%description |
%description |
22 |
Manage diskless workstation/device booting over network. |
Manage diskless workstation/device booting over network. |
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 Ju1 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 |
* 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] |
- 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 |
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 |
|
|
|
|
|
%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 |
|