Last change
on this file since 2607 was 476, checked in by Bruno Cornec, 16 years ago |
moving post install from %post to a dedicated external perl script
|
File size:
814 bytes
|
Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 |
|
---|
5 | Summary: dploy.org pxelinux binary
|
---|
6 | Summary(fr): Outils pxelinux pour dploy.org
|
---|
7 |
|
---|
8 | Name: PBPKG
|
---|
9 | Version: PBVER
|
---|
10 | Release: PBTAGPBSUF
|
---|
11 | License: GPL
|
---|
12 | Group: PBGRP
|
---|
13 | Url: PBURL
|
---|
14 | Source: PBSRC
|
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
16 | BuildArch: noarch
|
---|
17 | Requires: dploy-common, tftp-server, sudo, perl, PBDEP
|
---|
18 |
|
---|
19 | %description
|
---|
20 | PBDESC
|
---|
21 |
|
---|
22 | %description -l fr
|
---|
23 | Outils pxelinux pour dploy.org
|
---|
24 |
|
---|
25 | %prep
|
---|
26 | %setup -q
|
---|
27 |
|
---|
28 | %install
|
---|
29 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
30 | export DESTDIR=$RPM_BUILD_ROOT
|
---|
31 | export PREFIX=%{_exec_prefix}
|
---|
32 | export CONFDIR=%{_sysconfdir}/PBPROJ
|
---|
33 | ./install.sh
|
---|
34 |
|
---|
35 | %clean
|
---|
36 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
37 |
|
---|
38 | %files
|
---|
39 | %defattr(-,root,root)
|
---|
40 | %doc ChangeLog
|
---|
41 | #%doc INSTALL COPYING README AUTHORS NEWS
|
---|
42 | %{_bindir}/*
|
---|
43 |
|
---|
44 | %post
|
---|
45 |
|
---|
46 | %changelog
|
---|
47 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.