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