LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fMSX.spec of Package fMSX (Project home:wolfi323:branches:Emulators)

#
# 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:         fMSX
License:      COPYRIGHT
Group:        System/Emulators/Other
Url:          http://fms.komkon.org/fMSX/
Autoreqprov:  on
Version:      5.4
Release:      0
Summary:      MSX Emulator
Source:       %{name}54.zip
Source1:      ROMs.tar.gz
Patch:        %{name}40.patch
Patch1:       %{name}40-roms.patch
BuildRequires: xorg-x11-devel unzip
BuildRequires: pulseaudio-devel
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Mainline fMSX for Unix.

%prep
%setup -c -a 1
%patch
%patch1

%build
cd fMSX/Unix
make %{?jobs:-j%jobs}

%install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -m 755 fMSX/Unix/fmsx $RPM_BUILD_ROOT/usr/bin
install -d -m 755 $RPM_BUILD_ROOT/usr/share/fMSX
install -m 644 ROMs/* $RPM_BUILD_ROOT/usr/share/fMSX
install -m 644 fMSX/Unix/CARTS.SHA $RPM_BUILD_ROOT/usr/share/fMSX

%files
%defattr(-,root,root)
%doc fMSX/fMSX.html
/usr/bin/*
/usr/share/fMSX

%changelog
* Mon Nov 17 2008 - uli@suse.de
- fixed rpmlint complaints