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