update to 19.1 [release 19.1-1mamba;Thu Aug 31 2023]
This commit is contained in:
parent
44597df302
commit
791ab64ad2
58
openmsx.spec
58
openmsx.spec
@ -1,60 +1,59 @@
|
||||
%define gitver %(echo %version | tr . _)
|
||||
Name: openmsx
|
||||
Version: 0.11.0
|
||||
Version: 19.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
|
||||
URL: http://openmsx.org/
|
||||
Source: https://github.com/openMSX/openMSX.git/RELEASE_%{gitver}/openMSX-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libao-devel
|
||||
BuildRequires: libSDL2-devel
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libglew-devel
|
||||
BuildRequires: libglvnd-devel
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libSDL-devel
|
||||
BuildRequires: libSDL_ttf-devel
|
||||
BuildRequires: libsdl2_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
|
||||
#% debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n openMSX-%{version}
|
||||
sed -i 's@SYMLINK_FOR_BINARY:=true@SYMLINK_FOR_BINARY:=false@' build/custom.mk
|
||||
sed -i 's@INSTALL_BASE:=/opt/openMSX@INSTALL_BASE:=%{_datadir}/openmsx@' build/custom.mk
|
||||
echo 'INSTALL_DOC_DIR:=%{_docdir}/openmsx' >> build/custom.mk
|
||||
echo 'INSTALL_SHARE_DIR:=%{_datadir}/openmsx' >> build/custom.mk
|
||||
echo 'INSTALL_BINARY_DIR:=%{_bindir}' >> build/custom.mk
|
||||
|
||||
%build
|
||||
%configure
|
||||
./configure
|
||||
%make
|
||||
|
||||
# 19.1: meson build seems broken
|
||||
# %meson
|
||||
#% meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -d -m0755 %{buildroot}%{_bindir}
|
||||
ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
||||
#install -d -m0755 %{buildroot}%{_bindir}
|
||||
#ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -62,14 +61,15 @@ ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
||||
%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/*
|
||||
%dir %{_datadir}/openmsx
|
||||
%{_datadir}/openmsx/*
|
||||
%dir %{_docdir}/openmsx
|
||||
%{_docdir}/openmsx/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 19.1-1mamba
|
||||
- update to 19.1
|
||||
|
||||
* Sat Dec 06 2014 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user