blob: a2b97741509c103d17e151db6e86e8e42fb91ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
%define version 0.8.0
%define name drakpxelinux
%define release 1mdk
Summary: PXE default file configurator
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
License: GPL
URL: http://people.mandrakesoft.com/~aginies/drakpxe2.jpg
Group: System/Configuration/Other
Packager: Antoine Ginies <aginies@mandrakesoft.com>
Requires: perl-Gtk2, perl-MDK-Common, pxe, drakxtools, tftp-server, xinetd
BuildRoot: %{_tmppath}/%{name}-buildroot
Buildarch: noarch
%description
Quick configuration of PXE menu parameters.
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT install
#menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): command="/usr/bin/%{name}" section="Configuration/Other" \
icon="configuration_section.xpm" needs="x11" title="Drakpxelinux" \
longtitle="Mandrake Pxelinux configurator"
EOF
#install lang
%{find_lang} %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{update_menus}
%postun
%{clean_menus}
%files -f %{name}.lang
%defattr(-,root,root)
%doc default TODO COPYING
%{_bindir}/%{name}
#%{_datadir}/%{name}*
%{_menudir}/%{name}*
%changelog
* Fri Aug 6 2004 Antoine Ginies <aginies@mandrakesoft.com> 0.8.0-1mdk
- fix button display
- add help.txt support
- fix wizard
- add label
- enable tftp server
- save old config
* Thu Aug 5 2004 guibo <guibo@node80.guibland.com> 0.7.0-1mdk
- fix display pb
- add entry in menu
- correct requires
* Thu Jul 29 2004 Antoine Ginies <aginies@mandrakesoft.com> 0.6.0-1mdk
- fix edit dialog box
- now support embedded mode (mcc)
* Wed Jul 28 2004 mdkc <mdkc@dhcp114.mandrakesoft.com> 0.5.0-2mdk
- fix cancel button (initrd/kernel choice)
* Thu Jul 22 2004 Antoine Ginies <aginies@mandrakesoft.com> 0.5.0-1mdk
- first release
|