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
|
Name: openmsx
|
||||||
Version: 0.11.0
|
Version: 19.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An emulator for the MSX home computer system
|
Summary: An emulator for the MSX home computer system
|
||||||
Group: Applications/Emulators
|
Group: Applications/Emulators
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://openmsx.sourceforge.net/
|
URL: http://openmsx.org/
|
||||||
Source: http://downloads.sourceforge.net/project/openmsx/openmsx/%{version}/openmsx-%{version}.tar.gz
|
Source: https://github.com/openMSX/openMSX.git/RELEASE_%{gitver}/openMSX-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libao-devel
|
BuildRequires: libSDL2-devel
|
||||||
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libGL-devel
|
|
||||||
BuildRequires: libglew-devel
|
BuildRequires: libglew-devel
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libsdl2_ttf-devel
|
||||||
BuildRequires: libSDL_ttf-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtcl-devel
|
BuildRequires: libtcl-devel
|
||||||
BuildRequires: libtheora-devel
|
BuildRequires: libtheora-devel
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
BuildRequires: libxml2-devel
|
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
#% debug_package
|
||||||
%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
|
%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
|
%build
|
||||||
%configure
|
./configure
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
# 19.1: meson build seems broken
|
||||||
|
# %meson
|
||||||
|
#% meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
install -d -m0755 %{buildroot}%{_bindir}
|
#install -d -m0755 %{buildroot}%{_bindir}
|
||||||
ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
#ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -62,14 +61,15 @@ ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/openmsx
|
%{_bindir}/openmsx
|
||||||
/opt/openMSX/bin/openmsx
|
%dir %{_datadir}/openmsx
|
||||||
%dir /opt/openMSX
|
%{_datadir}/openmsx/*
|
||||||
%dir /opt/openMSX/doc
|
%dir %{_docdir}/openmsx
|
||||||
/opt/openMSX/doc/*
|
%{_docdir}/openmsx/*
|
||||||
%dir /opt/openMSX/share
|
|
||||||
/opt/openMSX/share/*
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Dec 06 2014 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user