/[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.5 - (hide annotations) (download)
Sun Jul 3 04:08:35 2022 UTC (2 years, 5 months ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-pxe-0_1-4_el7_sme, HEAD
Changes since 1.4: +2 -0 lines
add 12087-smeserver-pxe-update patch file

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.4 %define release 4
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.5 Patch3: smeserver-pxe-0.1-12087-smeserver-pxe-update.patch
23 trevorb 1.1
24     %description
25     Global settings for dhcp to allow clients to network boot.
26     Assumes sme server is acting as dhcp server.
27    
28     %changelog
29 trevorb 1.4 * Sat Jul 2 2022 Trevor Batley ,trevor@batley.id.au> 0.1-4.sme
30     - add event smeserver-pxe-update to trigger dhcpd restart via creatlinks [12087]
31    
32 trevorb 1.3 * Sat May 28 2022 Trevor Batley <trevor@batley.id.au> 0.1-3.sme
33     - Remove incorrect = sign from nextserver parameter and enclsing "'s
34    
35 trevorb 1.2 * Mon May 09 2022 Trevor Batley <trevor@batley.id.au> 0.1-2.sme
36     - Set default architecture executables to Centos 7 defaults [SME 11969]
37    
38     * Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 0.1-1.sme
39     - Initial release [SME 10821]
40 trevorb 1.1 - Split of PXE Global parameters out of smeserver-thinclient
41     - Allow for different architectures (including UEFI booting)
42    
43     %prep
44 trevorb 1.2
45 trevorb 1.1 %setup -q -n %{name}-%{version}
46 trevorb 1.2 %patch1 -p1
47 trevorb 1.3 %patch2 -p1
48 trevorb 1.5 %patch3 -p1
49 trevorb 1.1
50     %build
51 trevorb 1.4 perl createlinks
52 trevorb 1.1
53     %install
54     /bin/rm -rf $RPM_BUILD_ROOT
55     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
56     /bin/rm -f %{name}-%{version}-filelist
57     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
58    
59     %clean
60     rm -rf $RPM_BUILD_ROOT
61    
62     %files -f %{name}-%{version}-filelist
63    
64     %defattr(-,root,root)
65    
66     %pre
67    
68     %preun
69    
70     %post
71    
72     %postun

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