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