1 |
trevorbatley |
1.3 |
# $Id: smeserver-thinclient.spec,v 1.2 2016/04/03 11:04:13 trevorbatley Exp $ |
2 |
unnilennium |
1.1 |
# Authority: nocvs |
3 |
|
|
# Name: Trevor Batley |
4 |
|
|
|
5 |
|
|
Summary: Allow pxeboot of Thin Client workstations over network |
6 |
|
|
%define name smeserver-thinclient |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 2.0 |
9 |
trevorbatley |
1.2 |
%define release 6 |
10 |
unnilennium |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Network |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArch: noarch |
17 |
|
|
Requires: e-smith-base |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
AutoReq: yes |
20 |
trevorbatley |
1.3 |
Patch1: smeserver-thinclient-2.0-tftpdconf.patch |
21 |
|
|
|
22 |
unnilennium |
1.1 |
%description |
23 |
|
|
Allows for diskless workstation boot of Thin Clients over network. |
24 |
|
|
PXE capable NIC and BIOS required on target machine |
25 |
|
|
tftp server reqired. Can be on sme server - requires smeserver-tftpd or elsewhere in network |
26 |
|
|
Assumes sme server is acting as dhcp server |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
trevorbatley |
1.2 |
* Sun Apr 4 2016 Trevor Batley <trevorbatley@usres.sourceforge.net> 2.0-6 |
30 |
|
|
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
31 |
|
|
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
32 |
|
|
|
33 |
unnilennium |
1.1 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
34 |
|
|
- Clean up spec so package can be built by koji/plague |
35 |
|
|
|
36 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
37 |
|
|
- Update to new release naming. No functional changes. |
38 |
|
|
- Make Packager generic |
39 |
|
|
|
40 |
|
|
* Mon Jun 12 2006 Trevor Batley <trevor@batley.id.au> - 2.0-5 |
41 |
|
|
- Cater for missing tftpd parameter in configuration database |
42 |
|
|
- Set dhcpd Bootp parameter in configuration database |
43 |
|
|
|
44 |
|
|
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
45 |
|
|
- Got rid of superfluous 3 level version number and reverted to 2 levels |
46 |
|
|
|
47 |
|
|
* Sun Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
48 |
|
|
- Tidied up some of the references to pxe parameters in panel |
49 |
|
|
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
50 |
|
|
|
51 |
|
|
* Sun Mar 26 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-2 |
52 |
|
|
- Change update to tftp key in config database to tftpd to align with tftpd package from Daniel Warnet |
53 |
|
|
|
54 |
|
|
* Sat Feb 11 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-1 |
55 |
|
|
- Amend to work with smeserver v7rc2 +> |
56 |
|
|
+ rename pxeclients database thinclient |
57 |
|
|
+ panel - remove hardcoded thinclient & hosts database paths |
58 |
|
|
+ panel - remove references to dhcpd{DenyBootp} database property |
59 |
|
|
+ templates - remove /etc/dhcpd.conf/25DenyBootp fragment |
60 |
|
|
+ events - use services2update for conf-thinclient |
61 |
|
|
+ actions - remove conf-thinclient script |
62 |
|
|
+ spec - remove all coding in %pre tag |
63 |
|
|
+ createlinks - only do panel (remove all other c**p) |
64 |
|
|
|
65 |
|
|
* Thu Nov 11 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-5 |
66 |
|
|
- Fix error when changing distribution and NOT regenerating /etc/dhcpd.config |
67 |
|
|
- Added option to allow changing the default filename to be executed (per distribution) |
68 |
|
|
|
69 |
|
|
* Sat Apr 17 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-4 |
70 |
|
|
- Fix error when adding new Workstation and 'Default Distribution' set as 'None' |
71 |
|
|
|
72 |
|
|
* Wed Apr 14 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-3 |
73 |
|
|
- Fix stupid error with use of Self for tftp server (template for /etc/dhcpd.conf/48NextServer) |
74 |
|
|
|
75 |
|
|
* Wed Apr 14 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-2 |
76 |
|
|
- Multiple validation changes |
77 |
|
|
- Add log file capture and display for rpm & signal-event handling |
78 |
|
|
- Display error messages on Workstation & Distribution panels |
79 |
|
|
- Added tick/cross and coloured Operation Status report |
80 |
|
|
|
81 |
|
|
* Wed Apr 01 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
82 |
|
|
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
83 |
|
|
|
84 |
|
|
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
85 |
|
|
- Removed postun action of navigation-conf-hidden and replaced with correct action of navigation-conf |
86 |
|
|
|
87 |
|
|
* Fri Mar 19 2004 Trevor Batley <trevor@batley.id.au> |
88 |
|
|
- Formatting changes to sub-panels within thinclient server-manager panel and addition of cancel button to workstation settings |
89 |
|
|
|
90 |
|
|
* Thu Mar 18 2004 Trevor Batley <trevor@batley.id.au> |
91 |
|
|
- Removed post action of navigation-conf-hidden and replaced with correct action of navigation-conf |
92 |
|
|
|
93 |
|
|
* Thu Mar 18 2004 Trevor Batley <trevor@batley.id.au> |
94 |
|
|
- Removed tftp components from this rpm and put them in smeserver-tftpd |
95 |
|
|
- added requirement to use smeserver-tftpd and removed requirement for generic tftp |
96 |
|
|
|
97 |
|
|
* Mon Mar 15 2004 Trevor Batley <trevor@batley.id.au> |
98 |
|
|
- Fixed bug in mac address checking |
99 |
|
|
- included call to navigation-conf-hidden in post install event |
100 |
|
|
|
101 |
|
|
* Fri Mar 12 2004 Trevor Batley <trevor@batley.id.au> |
102 |
|
|
- Revamped rpm build spec file and associated pre & post scripts etc. |
103 |
|
|
|
104 |
|
|
* Sat Mar 6 2004 Trevor Batley <trevor@batley.id.au> |
105 |
|
|
- Updated thinclient server-manager panel using suggestions from Darrell May & Gordon Rowell |
106 |
|
|
|
107 |
|
|
* Wed Feb 4 2004 Trevor Batley <trevor@batley.id.au> |
108 |
|
|
- Initial working (sort of) pxeboot server-manager panel |
109 |
|
|
|
110 |
|
|
* Wed Feb 4 2004 Trevor Batley <trevor@batley.id.au> |
111 |
|
|
- Add initial pxeboot server-manager panel |
112 |
|
|
|
113 |
|
|
* Tue Feb 3 2004 Trevor Batley <trevor@batley.id.au> |
114 |
|
|
- Fix problem with quoting around default tftpboot directory |
115 |
|
|
|
116 |
|
|
* Sat Jan 31 2004 Trevor Batley <trevor@batley.id.au> |
117 |
|
|
- Fix template problem with |
118 |
|
|
|
119 |
|
|
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
120 |
|
|
- Initial release |
121 |
|
|
|
122 |
|
|
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
123 |
|
|
- Initial release |
124 |
|
|
|
125 |
|
|
|
126 |
|
|
%prep |
127 |
|
|
%setup -q -n %{name}-%{version} |
128 |
trevorbatley |
1.3 |
%patch1 -p1 |
129 |
unnilennium |
1.1 |
|
130 |
|
|
%build |
131 |
|
|
perl createlinks |
132 |
|
|
|
133 |
|
|
%install |
134 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
135 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
136 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
137 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
138 |
|
|
|
139 |
|
|
%clean |
140 |
|
|
rm -rf $RPM_BUILD_ROOT |
141 |
|
|
|
142 |
|
|
%files -f %{name}-%{version}-filelist |
143 |
|
|
|
144 |
|
|
%defattr(-,root,root) |
145 |
|
|
|
146 |
|
|
%pre |
147 |
|
|
|
148 |
|
|
%preun |
149 |
|
|
|
150 |
|
|
%post |
151 |
|
|
|
152 |
|
|
%postun |