Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
dosbox
dosbox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dosbox.spec of Package dosbox
# # spec file for package dosbox # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: dosbox BuildRequires: Mesa-devel BuildRequires: SDL_sound-devel BuildRequires: alsa-devel BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libpng-devel BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(sdl) %if 0%suse_version > 1020 BuildRequires: SDL_net-devel %else BuildRequires: SDL_net %endif Url: http://dosbox.sourceforge.net/ Version: 0.74 Release: 0 Summary: DOS Emulator Well-Suited for Playing Games License: GPL-2.0+ Group: System/Emulators/PC Source: http://switch.dl.sourceforge.net/sourceforge/dosbox/dosbox-%{version}.tar.gz Source1: dosbox.desktop Source2: dosbox.png Patch: dosbox-0.71-manpage.diff Patch1: gcc46.patch # from Fedora # fix a crash in the joy-button mapping init when compiled with gcc-4.8 Patch2: dosbox-0.74-init-crash.patch # from Fedora # fix format-security Patch3: dosbox-0.74-formatsecurity.patch # from Fedora # We apply these two mainly so that patch5 applies cleanly, they're # bugfixes that don't really apply to us (OS X and clang compilation) # but they're safe and one allegedly gives a small speed improvement Patch4: 0001-update-64bit-recompiler-core-to-handle-OSX-memory-ad.patch Patch5: 0001-Workaround-clang-confusing-itself-compile-error-resu.patch # from Fedora # fix crash in many things when built with GCC 5 # http://sourceforge.net/p/dosbox/bugs/413/ # backport of http://sourceforge.net/p/dosbox/code-0/3951/ Patch6: 0001-Apply-patch-by-gulikoza-to-add-support-for-absolute-.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description dosbox is a DOS emulator that, thanks to its good graphics and sound emulation, is exceptionally well-suited for playing games. dosbox features a built-in DOS operating system and transparent access to the Linux file system and is therefore very easy to use. %prep %autosetup -p1 %build autoreconf -f -i CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags} -fno-strict-aliasing" \ %configure make %{?_smp_mflags} %check make check %install make DESTDIR=%{buildroot} install # we copy the docu ourself rm -rf %{buildroot}%{_datadir}/doc/dosbox install -d -m 755 %{buildroot}%{_datadir}/pixmaps install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/dosbox.png desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README THANKS %{_bindir}/dosbox %{_mandir}/man?/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %changelog
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