/[smecontribs]/rpms/smeserver-pxe/contribs10/smeserver-pxe.spec
ViewVC logotype

Annotation of /rpms/smeserver-pxe/contribs10/smeserver-pxe.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Sat May 28 04:52:26 2022 UTC (2 years, 5 months ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-pxe-0_1-3_el7_sme
Changes since 1.2: +6 -1 lines
remove extra = sign in nextserver parameter

1 trevorb 1.1 # $Id: smeserver-pxe.spec,v 1.0 2022/04/28 18:45:26 brianr Exp $
2     # Authority: nocvs
3     # Name: Trevor Batley
4    
5     Summary: Allow pxeboot of client machines over network
6     %define name smeserver-pxe
7     Name: %{name}
8     %define version 0.1
9 trevorb 1.3 %define release 3
10 trevorb 1.1 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 trevorb 1.2 Patch1: smeserver-pxe-0.1-update_default_arch.patch
21 trevorb 1.3 Patch2: smeserver-pxe-0.1-nextserver.patch
22 trevorb 1.1
23     %description
24     Global settings for dhcp to allow clients to network boot.
25     Assumes sme server is acting as dhcp server.
26    
27     %changelog
28 trevorb 1.3 * Sat May 28 2022 Trevor Batley <trevor@batley.id.au> 0.1-3.sme
29     - Remove incorrect = sign from nextserver parameter and enclsing "'s
30    
31 trevorb 1.2 * Mon May 09 2022 Trevor Batley <trevor@batley.id.au> 0.1-2.sme
32     - Set default architecture executables to Centos 7 defaults [SME 11969]
33    
34     * Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 0.1-1.sme
35     - Initial release [SME 10821]
36 trevorb 1.1 - Split of PXE Global parameters out of smeserver-thinclient
37     - Allow for different architectures (including UEFI booting)
38    
39     %prep
40 trevorb 1.2
41 trevorb 1.1 %setup -q -n %{name}-%{version}
42 trevorb 1.2 %patch1 -p1
43 trevorb 1.3 %patch2 -p1
44 trevorb 1.1
45     %build
46    
47     %install
48     /bin/rm -rf $RPM_BUILD_ROOT
49     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
50     /bin/rm -f %{name}-%{version}-filelist
51     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
52    
53     %clean
54     rm -rf $RPM_BUILD_ROOT
55    
56     %files -f %{name}-%{version}-filelist
57    
58     %defattr(-,root,root)
59    
60     %pre
61    
62     %preun
63    
64     %post
65    
66     %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed