Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 27d2401496191a50ddb5b5f9e769cb08 > files > 1

bochs-tools-1.6.4-1mdk.src.rpm

%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...