File darcnes.spec of Package darcnes

#
# 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:         darcnes
License:      COPYRIGHT
Group:        unsorted
Autoreqprov:  on
Version:      9b0401
Release:      0
Summary:      NES, Master System, GameGear, and PC Engine Emulator
Source:       dn%version.tgz
Patch:        %name.dif
BuildRequires: xaw3d-devel xorg-x11-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86

%description
Nintendo NES, Sega Master System, Sega GameGear, and NEC PC Engine emulator.

%prep
%setup -n %name
%patch

%build
make %{?jobs:-j%jobs} \
%ifarch ppc ppc64 s390 s390x
BYTE_ORDER=-DMSB_FIRST \
%endif
OPTFLAGS="$RPM_OPT_FLAGS"

%install
install -D -m 755 darcnes $RPM_BUILD_ROOT/usr/bin/darcnes

%files
%defattr(-,root,root)
/usr/bin/darcnes
openSUSE Build Service is sponsored by