openmsx/openmsx.spec

81 lines
2.2 KiB
RPMSpec

Name: openmsx
Version: 0.10.1
Release: 1mamba
Summary: An emulator for the MSX home computer system
Group: Applications/Emulators
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://openmsx.sourceforge.net/
Source: http://downloads.sourceforge.net/project/openmsx/openmsx/%{version}/openmsx-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libao-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglew-devel
BuildRequires: libogg-devel
BuildRequires: libpng-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtcl-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
openMSX is an emulator for the MSX home computer system. Its goal is to emulate all aspects of the MSX with 100% accuracy: perfection in emulation.
## remove the following two blocks if there's no devel files
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d -m0755 %{buildroot}%{_bindir}
ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/openmsx
/opt/openMSX/bin/openmsx
%dir /opt/openMSX
%dir /opt/openMSX/doc
/opt/openMSX/doc/*
%dir /opt/openMSX/share
/opt/openMSX/share/*
%changelog
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic update by autodist
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-1mamba
- update to 0.10.0
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- package created by silvan using the webbuild interface