%define name bochs-tools %define shortname bochstools %define version 1.6.4 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Source: http://www.bablokb.de/%{name}/%{shortname}-%{version}.tar.bz2 License: GPL URL: http://www.bablokb.de/%{name}/ BuildRoot: %{_tmppath}/%{name}-root Group: Emulators Summary: Manipulates Bochs disk-images %description Bochs-Tools are a collection of scripts and programs to be used together with the Bochs-emulator. The main goal was to provide a Unix-like interface to the emulator and to enable access to Bochs disk-images from outside of Bochs. The tools were developed under Linux. They might also work on other operating-systems. Feedback on this issue is appreciated. %prep %setup -n %{shortname}-%{version} %build make -C src VERSION="%{version}" %install make UID=0 DESTDIR="$RPM_BUILD_ROOT" PREFIX="%{_prefix}" BINDIR="%{_bindir}" \ MANDIR="%{_mandir}" CFLAGS="$RPM_OPT_FLAGS" bins install %clean if test "/" != "$RPM_BUILD_ROOT"; then rm -rf $RPM_BUILD_ROOT; fi %files %defattr(-,root,root) %doc ChangeLog COPYING NEWS README TODO %{_bindir}/* %{_mandir}/man1/* %changelog * Mon Apr 26 2004 Guillaume Bedot <guillaume.bedot@wanadoo.fr> 1.6.4-1mdk - First package for Mandrakelinux inspired from the one in the sources...