File osmium-tool.spec of Package osmium-tool

#
# spec file for package osmium-tool
#
# Copyright (c) 2021 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/
#


Name:           osmium-tool
Version:        1.13.2
Release:        0
Summary:        Osmium Command Line Tool
License:        GPL-3.0-or-later
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group:          Applications/GIS
URL:            https://github.com/osmcode/osmium-tool
Source:         %{name}-%{version}.tar.gz
Patch0:         sigstksz.diff
BuildRequires:  cmake
BuildRequires:  libboost_program_options-devel
BuildRequires:  libbz2-devel
BuildRequires:  libexpat-devel
BuildRequires:  liblz4-devel
BuildRequires:  libosmium-devel
BuildRequires:  protozero-devel
BuildRequires:  zlib-devel

%description
A multipurpose command line tool for working with OpenStreetMap data based on the Osmium library.

%prep
%autosetup -p1

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%defattr(0644,root,root,0755)
%license LICENSE.txt
%attr(0755,root,root) %{_bindir}/osmium

%changelog
openSUSE Build Service is sponsored by