File solarus.spec of Package solarus

# spec file for package solarus
# 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

Name:           solarus
Version:        1.5.3
Release:        0
Summary:        Zelda-like game engine
License:        GPL-3.0+
Group:          Amusements/Games/RPG
Patch3:         appdata.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  physfs-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Help)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(SDL2_image)
BuildRequires:  pkgconfig(SDL2_ttf)
BuildRequires:  pkgconfig(libmodplug)
BuildRequires:  pkgconfig(luajit)
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  pkgconfig(vorbis)

Solarus is a Zelda-like game engine written in C++.

%package -n libsolarus1
Summary:        Zelda-like game engine
Group:          System/Libraries

%description -n libsolarus1
Solarus is a Zelda-like game engine written in C++.

%package devel
Summary:        Development files for solarus
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
Development files for solarus, including header-files.

%setup -q
%patch3 -p1

make %{?_smp_mflags}




%post   -n libsolarus1 -p /sbin/ldconfig
%postun -n libsolarus1 -p /sbin/ldconfig

%doc changelog.txt license.txt
%dir %{_datadir}/appdata/

%files -n libsolarus1

%files devel

openSUSE Build Service is sponsored by