Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:malkavi
vcmi
vcmi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vcmi.spec of Package vcmi
# # spec file for package vcmi # # 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 # 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/ # %define boost_version 1.48.0 Name: vcmi Version: 0.99 Release: 1%{?dist} Summary: VCMI is an open-source project aiming to reimplement HMM3:WoG game engine License: GPL-2.0 Group: Amusements/Games/Strategy/Turn Based # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: # svn export -r HEAD https://svn.code.sf.net/p/vcmi/code/tags/0.95 vcmi-0.9.5-1 # tar -cJf vcmi-0.9.5-1.tar.xz vcmi-0.9.5-1 Source: vcmi-%{version}.tar.gz # Non-void fix #Patch0: parche Patch1: 0001-Fix-building-with-Boost-1.58.patch Patch2: vcmi-0.99-boost_compatibility.patch URL: http://forum.vcmi.eu/portal.php BuildRequires: cmake >= 2.8.12 BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc-c++ >= 4.8 %if 0%{?suse_version} <= 1325 BuildRequires: boost-devel >= %{boost_version} %else BuildRequires: libboost_date_time-devel >= %{boost_version} BuildRequires: libboost_filesystem-devel >= %{boost_version} BuildRequires: libboost_locale-devel >= %{boost_version} BuildRequires: libboost_program_options-devel >= %{boost_version} BuildRequires: libboost_system-devel >= %{boost_version} BuildRequires: libboost_thread-devel >= %{boost_version} %endif BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(fuzzylite) = 5.1 BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(zlib) Recommends: innoextract Recommends: ffmpeg %description VCMI is an open-source project aiming to reimplement HMM3:WoG game engine, giving it new and extended possibilities. %prep %setup -q -n %{name}-%{version} ##%patch0 -p1 # Factory (Boost 1.66) ##%patch1 -p1 %patch2 -p1 dos2unix \ AUTHORS \ ChangeLog \ license.txt \ README.md %build %cmake \ -DCMAKE_INSTALL_LIBDIR="%{_lib}" \ -DENABLE_TEST=OFF make %install %cmake_install mv %{buildroot}%{_libdir}/%{name}/lib%{name}.so %{buildroot}%{_libdir}/ %fdupes %{buildroot}%{_datadir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS ChangeLog license.txt README.md %{_bindir}/vcmiclient %{_bindir}/vcmiserver %{_bindir}/vcmibuilder %{_bindir}/vcmilauncher %{_libdir}/lib%{name}.so %{_libdir}/%{name}/ %{_datadir}/%{name}/ %{_datadir}/applications/* %{_datadir}/icons/* %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