SHA256
1
0
forked from pool/retroarch

- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=10
This commit is contained in:
Ismail Dönmez 2018-10-29 08:57:56 +00:00 committed by Git OBS Bridge
parent 9fedeb1027
commit 5fee4f17f6
2 changed files with 41 additions and 37 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 29 08:57:44 UTC 2018 - Ismail Dönmez <idonmez@suse.com>
- Cleanup with spec-cleaner
-------------------------------------------------------------------
Sun Oct 28 17:59:34 UTC 2018 - sean@suspend.net

View File

@ -1,7 +1,7 @@
#
# spec file for package retroarch
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,55 +20,55 @@ Name: retroarch
Version: 1.7.5
Release: 0
Summary: Emulator frontend
License: GPL-3.0
Url: http://www.retroarch.com
License: GPL-3.0-only
Group: System/Emulators/Other
URL: http://www.retroarch.com
# From https://github.com/libretro/RetroArch/releases
Source0: https://github.com/libretro/RetroArch/releases/download/v%{version}/RetroArch-%{version}.tar.xz
Source9: %{name}.desktop
BuildRequires: gcc-c++
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: p7zip
BuildRequires: pkgconfig
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2)
BuildRequires: python3-devel
BuildRequires: systemd-devel
BuildRequires: unzip
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(SDL2_gfx)
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_net)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(zlib)
BuildRequires: python3-devel
BuildRequires: systemd-devel
BuildRequires: unzip p7zip
%if ( 0%{?suse_version} || 0%{?leap_version} )
BuildRequires: update-desktop-files
BuildRequires: vulkan-devel
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
BuildRequires: update-desktop-files
BuildRequires: vulkan-devel
%endif
%description
@ -80,7 +80,7 @@ have, such as real-time rewinding and game-aware shading.
%setup -q -n RetroArch-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
./configure --prefix=%{_prefix} \
--enable-materialui \
@ -121,7 +121,7 @@ export CXXFLAGS="$CFLAGS"
%endif
--enable-7zip \
--enable-mmap
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
@ -135,7 +135,6 @@ install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/%{name}.cfg
%{_bindir}/%{name}
%{_bindir}/%{name}-cg2glsl
@ -149,6 +148,6 @@ install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/
%{_datadir}/pixmaps/%{name}.svg
%{_mandir}/man?/%{name}.?*
%{_mandir}/man?/%{name}-cg2glsl.?*
%{_prefix}/share/doc/%{name}
%{_datadir}/doc/%{name}
%changelog