blob: 58ac88fbc75ed86af0b8c9e51e28a81e938c6cfa (
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
|
%define version 0.6.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-GTK, perl-MDK-Common, pxe, drakxtools
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/X11R6/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
%{_prefix}/X11R6/bin/*
%{_datadir}/%{name}
%{_menudir}/%{name}
%changelog
* 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
|