File beebem.spec of Package beebem
#
# spec file for package spec (Version 2.0)
#
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: beebem
License: COPYRIGHT
Group: unsorted
Autoreqprov: on
Version: 0.0.13
Release: 0
Summary: BBC Micro and Master 128 Emulator
Source: %name-%version.tar.gz
Patch: cast.patch
Patch1: %name-0.0.13-keys.patch
Patch2: %name-0.0.13_menu_crash.patch
Patch3: %name-rpmlint.patch
BuildRequires: SDL-devel gtk2-devel gcc-c++ fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
BBC Micro and Master 128 emulator.
%prep
%setup
%patch
%patch1 -p1
%patch2 -p1
%patch3
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-econet
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT pkgdatadir=$RPM_BUILD_ROOT/usr/share/beebem
chmod 644 $RPM_BUILD_ROOT/usr/share/beebem/phroms/phromsus.txt
%fdupes $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS doc/[^M]*
/usr/bin/beebem
/usr/share/beebem
%changelog
* Thu Nov 13 2008 - uli@suse.de
- added fixes from homepage
- fixed rpmlint complaints