File dgen-sdl.spec of Package dgen-sdl

#
# 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:         dgen-sdl
License:      COPYRIGHT
Group:        unsorted
#Requires:     xforms
Autoreqprov:  on
Version:      1.33
Release:      0
Summary:      Sega Mega Drive (Genesis) Emulator
Source:       http://sourceforge.net/projects/dgen/files/dgen/%version/%name-%version.tar.gz
BuildRequires: SDL-devel nasm xorg-x11-Mesa-devel gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
spec

%prep
%setup

%build
# build section
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%_mandir
make %{?jobs:-j%jobs}

%install
# install section
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/*
%doc %_mandir/man[15]/*

%changelog
* Mon Nov 17 2008 - uli@suse.de
- fixed rpmlint sequence-point complaint
openSUSE Build Service is sponsored by