diff --git a/README.md b/README.md index dbecd1e..80b9888 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # openmsx +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. diff --git a/openmsx.spec b/openmsx.spec new file mode 100644 index 0000000..dbf7d88 --- /dev/null +++ b/openmsx.spec @@ -0,0 +1,77 @@ +Name: openmsx +Version: 0.10.0 +Release: 1mamba +Summary: An emulator for the MSX home computer system +Group: Applications/Emulators +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 +* Sat Feb 22 2014 Silvan Calarco 0.10.0-1mamba +- update to 0.10.0 + +* Wed Feb 20 2013 Silvan Calarco 0.9.1-1mamba +- package created by silvan using the webbuild interface