Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games:tools
mapcrafter
mapcrafter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mapcrafter.spec of Package mapcrafter
# # spec file for package mapcrafter # # 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: mapcrafter Version: 2.3.1~git20181113 Release: 0 Summary: High performance Minecraft map renderer written in C++ License: GPL-3.0 Url: https://github.com/mapcrafter Source: %{name}-%{version}.tar.xz Source1: https://s3.amazonaws.com/Minecraft.Download/versions/1.12/1.12.jar BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libturbojpeg) #Boost Dependencies BuildRequires: libboost_iostreams-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_system-devel BuildRequires: libboost_test-devel #Python Dependencies BuildRequires: config(python) BuildRequires: python-Pillow BuildRequires: pkgconfig(ImageMagick) %description Mapcrafter is a high performance Minecraft map renderer written in C++. It renders Minecraft worlds to a bunch of images which are viewable in any webbrowser using Leaflet.js. %package devel Summary: Development files for %{name} Group: Development/Libraries/C++ %description devel Development files for high performance Minecraft map renderer %{name}. %prep %setup -q %build %cmake .. %make_jobs %install %cmake_install #move lib to right location %ifarch x86_64 mkdir %{buildroot}%{_libdir} mv %{buildroot}%{_prefix}/lib/lib%{name}core.so %{buildroot}%{_libdir}/lib%{name}core.so rmdir %{buildroot}%{_prefix}/lib %endif python %{buildroot}%{_bindir}/mapcrafter_textures.py -f %{SOURCE1} %{buildroot}%{_datadir}/%{name}/textures %fdupes %{buildroot} %check %ctest %files devel %{_includedir}/%{name}core %files %defattr(-,root,root) %doc README.md VERSION MCVERSION %license COPYING %attr(755,root,root) %{_bindir}/%{name}* %{_libdir}/lib%{name}core.so %{_datadir}/%{name} %config(noreplace) %{_sysconfdir}/%{name} %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