File tgemu.spec of Package tgemu

# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# norootforbuild

Name:         tgemu
License:      GPL
Group:        unsorted
Autoreqprov:  on
Version:      0.1
Release:      0
Summary:      PC Engine Emulator
Source:       %name-%version.tar.gz
Patch:        %name.dif
BuildRequires: allegro-devel nasm zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86

%description
PC Engine emulator.

%prep
%setup -n %name
%patch

%build
make -f makefile.linux %{?jobs:-j%jobs} \
%ifarch %ix86
	ASM=1 \
%endif
%ifarch %ix86 x86_64 ia64 %arm
	RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DLSB_FIRST"
%endif

%install
install -D -m 755 pce $RPM_BUILD_ROOT/usr/bin/tgemu

%files
%defattr(-,root,root)
%doc changelog license *.txt
/usr/bin/tgemu

%changelog
* Wed Dec 17 2008 - uli@suse.de
- fixed rpmlint complaints
openSUSE Build Service is sponsored by