Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rabbit95
vcmi
vcmi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vcmi.spec of Package vcmi
# # spec file for package vcmi # # Copyright (c) 2024 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/ # %define boost_version 1.66.0 Name: vcmi Version: 1.6.0 Release: 1 Summary: An open-source project aiming to reimplement HMM3:WoG game engine License: GPL-2.0-only Group: Amusements/Games/Strategy/Turn Based URL: https://vcmi.eu/ Source: %{version}.tar.gz BuildRequires: cmake >= 3.16.0 BuildRequires: fdupes BuildRequires: libboost_atomic-devel >= %{boost_version} BuildRequires: libboost_chrono-devel >= %{boost_version} BuildRequires: libboost_filesystem-devel >= %{boost_version} BuildRequires: libboost_locale-devel >= %{boost_version} BuildRequires: libboost_program_options-devel >= %{boost_version} BuildRequires: libboost_thread-devel >= %{boost_version} BuildRequires: libboost_iostreams-devel >= %{boost_version} BuildRequires: libqt5-linguist-devel BuildRequires: libquadmath-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(fuzzylite) >= 6 BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(tbb) >= 2021.8.0 BuildRequires: pkgconfig(zlib) BuildRequires: gcc-c++ Recommends: innoextract Recommends: ffmpeg ExclusiveArch: x86_64 %description %{summary} %prep %setup -q -n %{version} %build %cmake \ -DCMAKE_INSTALL_LIBDIR="%{_lib}" \ -DENABLE_GITVERSION=OFF \ -DENABLE_GOLDMASTER=ON \ -DENABLE_INNOEXTRACT=OFF \ -DFORCE_BUNDLED_FL=OFF %cmake_build %install %cmake_install # we disable rpath, so we need to put libvcmi.so in library path. mv %{buildroot}%{_libdir}/%{name}/lib%{name}.so %{buildroot}%{_libdir}/ %fdupes %{buildroot}%{_datadir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license license.txt %doc ChangeLog.md docs %{_bindir}/vcmibuilder %{_bindir}/vcmiclient %{_bindir}/vcmieditor %{_bindir}/vcmilauncher %{_bindir}/vcmiserver %{_libdir}/lib%{name}.so %{_libdir}/%{name}/ %{_datadir}/%{name}/ %{_datadir}/applications/* %{_datadir}/icons/* %{_datadir}/metainfo/eu.vcmi.VCMI.metainfo.xml %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