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