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