1 |
# $Id: smeserver-thinclient.spec,v 1.3 2022/04/30 02:49:07 trevorb Exp $ |
# $Id: smeserver-thinclient.spec,v 1.6 2022/06/30 04:55:01 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 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReq: yes |
AutoReq: yes |
20 |
Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch |
Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch |
21 |
|
Patch2: smeserver-thinclient-2.2-12085-workstation_trigger_update.patch |
22 |
|
|
23 |
%description |
%description |
24 |
Manage diskless workstation/device booting over network. |
Manage diskless workstation/device booting over network. |
27 |
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 |
28 |
Requires sme server to be acting as the dhcp server |
Requires sme server to be acting as the dhcp server |
29 |
|
|
30 |
|
%prep |
31 |
|
%setup -q -n %{name}-%{version} |
32 |
|
%patch1 -p1 |
33 |
|
%patch2 -p1 |
34 |
|
|
35 |
|
%build |
36 |
|
perl createlinks |
37 |
|
|
38 |
|
%install |
39 |
|
/bin/rm -rf $RPM_BUILD_ROOT |
40 |
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
41 |
|
/bin/rm -f %{name}-%{version}-filelist |
42 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
43 |
|
|
44 |
|
%clean |
45 |
|
rm -rf $RPM_BUILD_ROOT |
46 |
|
|
47 |
|
%files -f %{name}-%{version}-filelist |
48 |
|
|
49 |
|
%defattr(-,root,root) |
50 |
|
|
51 |
|
%pre |
52 |
|
|
53 |
|
%preun |
54 |
|
|
55 |
|
%post |
56 |
|
|
57 |
|
%postun |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Thu Jun 30 2022 Trevor Batley <trevor@batley.id.au> 2.2-3.sme |
61 |
|
- trigger update event on all save of workstation [SME 12085] |
62 |
|
- move templates2expand and services2adjust into createlinks [SME 12086] |
63 |
|
- move changelog in spec to end |
64 |
|
|
65 |
* 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 |
66 |
* added missing migrate/00openRW fragment for thinslient DB [SME 11967] |
- added missing migrate/00openRW fragment for thinslient DB [SME 11967] |
67 |
|
|
68 |
* 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 |
69 |
- added /etc/dhcpd.thinclient include file for pxe clients |
- added /etc/dhcpd.thinclient include file for pxe clients |
179 |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
180 |
- Initial release |
- Initial release |
181 |
|
|
|
|
|
|
%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 |
|