summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-07-29 15:54:44 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-07-29 15:54:44 +0000
commitce14bf47a6e3198541709f03453cec185fbb0a6a (patch)
tree1d22394c4e367f09c2791359a2279ffe21c6f845
parent20b778a77c03130ab432c64b0977f18e52d4a0a2 (diff)
downloaddrakpxelinux-ce14bf47a6e3198541709f03453cec185fbb0a6a.tar
drakpxelinux-ce14bf47a6e3198541709f03453cec185fbb0a6a.tar.gz
drakpxelinux-ce14bf47a6e3198541709f03453cec185fbb0a6a.tar.bz2
drakpxelinux-ce14bf47a6e3198541709f03453cec185fbb0a6a.tar.xz
drakpxelinux-ce14bf47a6e3198541709f03453cec185fbb0a6a.zip
some path fix, menu fix
-rw-r--r--Makefile4
-rw-r--r--drakpxelinux.spec8
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 64cd102..e7aa153 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ clean:
install: all
# $(MAKE) -C po $@
- install -d $(RPM_BUILD_ROOT)/usr/{X11R6/bin/,share/drakpxelinux/}
- install -s -m755 $(NAME).pl $(RPM_BUILD_ROOT)/usr/X11R6/bin/
+ install -d $(RPM_BUILD_ROOT)/usr/bin/,share/drakpxelinux/}
+ install -s -m755 $(NAME).pl $(RPM_BUILD_ROOT)/usr/bin/drakpxelinux
# for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
dis: clean
diff --git a/drakpxelinux.spec b/drakpxelinux.spec
index 58ac88f..c9dc259 100644
--- a/drakpxelinux.spec
+++ b/drakpxelinux.spec
@@ -30,7 +30,7 @@ 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" \
+?package(%{name}): command="/usr/bin/%{name}" section="Configuration/Other" \
icon="configuration_section.xpm" needs="x11" title="Drakpxelinux" \
longtitle="Mandrake Pxelinux configurator"
EOF
@@ -50,9 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc default TODO COPYING
-%{_prefix}/X11R6/bin/*
-%{_datadir}/%{name}
-%{_menudir}/%{name}
+%{_bindir}/%{name}
+#%{_datadir}/%{name}*
+%{_menudir}/%{name}*
%changelog
* Thu Jul 29 2004 Antoine Ginies <aginies@mandrakesoft.com> 0.6.0-1mdk