Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:Slowroll:Emulators
caprice32-4.6.0-2.47.src
caprice32.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File caprice32.spec of Package caprice32-4.6.0-2.47.src
# # spec file for package caprice32 # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: caprice32 Version: 4.6.0 Release: 2.47 Summary: Amstrad CPC Emulator License: GPL-2.0-only Group: System/Emulators/Other # http://www.caprice32.cybercube.com is dead # http://caprice32.sourceforge.net is dead URL: https://github.com/ColinPitrat/caprice32 Source: %{name}-%{version}.tar.gz # pkg-config needs libpng16 Patch1: 0001-Use-libpng16-in-pkg-config-call.patch # prevents aliasing errors Patch2: 0002-Fix-membank_config-type.patch # find a good home for cap32.cfg Patch3: 0003-Add-usr-share-caprice32-as-patch-to-search-for-cap32.patch BuildRequires: freetype2-devel BuildRequires: libSDL2-devel BuildRequires: libpng16-devel BuildRequires: xorg-x11-Mesa-devel BuildRequires: zlib-devel %if 0%{?suse_version} <= 1500 BuildRequires: gcc10-c++ %else BuildRequires: gcc-c++ %endif %description Caprice32 is a software emulator of the Amstrad CPC 8bit home computer series. The emulator faithfully imitates the CPC464, CPC664, and CPC6128 models. By recreating the operations of all hardware components at a low level, the emulator achieves a high degree of compatibility with original CPC software. These programs or games can be run unmodified at real-time or higher speeds, depending on the emulator host environment. %prep %setup -q -n %{name}-latest %patch1 -p1 %patch2 -p1 %patch3 -p1 %build # build section %if 0%{?suse_version} <= 1500 export CXX=g++-10 %else export CXX=g++ %endif APP_PATH=%{_datadir}/%{name} VERSION=%{version} RELEASE=1 CFLAGS="%{optflags}" make %{?_smp_mflags} %install # install section install -D -m 755 cap32 %{buildroot}%{_bindir}/cap32 install -d -m 755 %{buildroot}%{_datadir}/%{name} cp -a rom %{buildroot}%{_datadir}/%{name} install -m 644 cap32.cfg %{buildroot}%{_datadir}/%{name} install -d -m 755 %{buildroot}%{_datadir}/%{name}/resources install -m 644 resources/*.ttf %{buildroot}%{_datadir}/%{name}/resources install -m 644 resources/*.bmp %{buildroot}%{_datadir}/%{name}/resources install -m 644 resources/*.map %{buildroot}%{_datadir}/%{name}/resources %files %doc README.md %license COPYING.txt %license "licenses/Bitstream Vera License.txt" %license "licenses/wGui License.txt" %{_bindir}/cap32 %{_datadir}/caprice32 %changelog * Sat Jan 22 2022 Carsten Ziepke <kieltux@gmail.com> - Fix building for openSUSE Leap 15.3, using gcc10-c++ - Run spec-cleaner * Mon Jan 3 2022 Klaus Kämpf <kkaempf@suse.com> - add use-libpng16-in-pkg-config.patch - Update to 4.6.0 - Support CAP32_DELAY in autorun commands - Support German keyboard (physical layout only) - Better freedesktop integration - Better logic for finding configuration file - Dynamic loading of CAPS (IPF) library - Nix packaging support - Update to 4.5.0 - Auto-commands (passing commands to execute as command line parameters) - Support weak sectors - Support empty tracks - Improved keymap handling - Loading of IPF files from zip - Many bug fixes - Update to 4.4.0 - Support for IPF files - Windows versions - Mostly working Plus range support (6128+, 464+, GX4000) - More transparent support of zip files - autopause (pause when loosing focus) - autocmd (pass commands to execute on the command line) - Virtual keyboard - Screenshots - Many bug fixes and minor features - Update to 4.3.0 - GUI with: * Settings (no save option yet) * Load/save dsk and snapshots * Memory tool (to examine and modify memory) - Joystick support - Support for packaging (to ease creating packets for distributions) - Easier build - switched to github for source - dropped caprice32.dif, caprice32-overflow.patch * Sat Nov 26 2016 aloisio@gmx.com - Fixed build - Refreshed caprice32.dif - Spec cleanup * Thu Sep 10 2009 uli@suse.de - fixed overflows detected by rpmlint
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor