## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: osmpbf Version: 1.5.1 Release: %autorelease Summary: C library to read and write OpenStreetMap PBF files License: LGPL-3.0-or-later URL: https://github.com/openstreetmap/OSM-binary Source0: https://github.com/openstreetmap/OSM-binary/archive/v%{version}/OSM-binary-%{version}.tar.gz BuildRequires: cmake make gcc-c++ BuildRequires: protobuf-devel protobuf-compiler BuildRequires: zlib-devel zlib-static %description Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage. %package tools Summary: Tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description tools This package contains tools that use %{name}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p 1 -n OSM-binary-%{version} %build %cmake %cmake_build %install %cmake_install rm %{buildroot}/%{_libdir}/libosmpbf.a %files %doc README.md CHANGELOG.md %license LICENSE %{_libdir}/libosmpbf.so.1 %{_libdir}/libosmpbf.so.1.* %files tools %{_bindir}/* %{_mandir}/man1/* %files devel %{_includedir}/osmpbf %{_libdir}/libosmpbf.so %changelog ## START: Generated by rpmautospec * Mon Jul 22 2024 Tom Hughes - 1.5.1-4 - Require zlib to build * Thu Jul 18 2024 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Mar 13 2024 Tom Hughes - 1.5.1-1 - Update to 1.5.1 upstream release * Thu Jan 25 2024 Fedora Release Engineering - 1.5.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.5.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.5.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.5.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.5.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 05 2022 Jiri Vanek - 1.5.0-11 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 1.5.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 06 2021 Adrian Reber - 1.5.0-9 - Rebuilt for protobuf 3.19.0 * Tue Oct 26 2021 Adrian Reber - 1.5.0-8 - Rebuilt for protobuf 3.18.1 * Mon Oct 18 2021 Tom Hughes - 1.5.0-7 - Drop java support * Thu Jul 22 2021 Fedora Release Engineering - 1.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Tom Hughes - 1.5.0-5 - Drop dependency on javadoc plugin * Tue May 18 2021 Tom Hughes - 1.5.0-4 - Require junit * Tue Jan 26 2021 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 16:40:23 CET 2021 Adrian Reber - 1.5.0-2 - Rebuilt for protobuf 3.14 * Wed Jan 6 2021 Tom Hughes - 1.5.0-1 - Update to 1.5.0 upstream release * Sun Oct 25 2020 Tom Hughes - 1.4.0-1 - Update to 1.4.0 upstream release * Thu Sep 24 2020 Adrian Reber - 1.3.3-23.20150712git17fd0cc - Rebuilt for protobuf 3.13 * Tue Jul 28 2020 Fedora Release Engineering - 1.3.3-22.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 11 2020 Jiri Vanek - 1.3.3-21.20150712git17fd0cc - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Sun Jun 21 2020 Adrian Reber - 1.3.3-20.20150712git17fd0cc - Rebuilt for protobuf 3.12 * Sun Jun 14 2020 Adrian Reber - 1.3.3-19.20150712git17fd0cc - Rebuilt for protobuf 3.12 * Wed Jan 29 2020 Fedora Release Engineering - 1.3.3-18.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.3.3-17.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.3.3-16.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.3.3-15.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Feb 18 2018 Tom Hughes - 1.3.3-14.20150712git17fd0cc - Require gcc-c++ * Thu Feb 08 2018 Fedora Release Engineering - 1.3.3-13.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 30 2018 Tom Hughes - 1.3.3-12.20150712git17fd0cc - Drop ldconfig scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.3.3-11.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3.3-10.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.3-9.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.3.3-8.20150712git17fd0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Aug 16 2015 Eduardo Mayorga Téllez - 1.3.3-7.20150712git17fd0cc - Package the Java library * Wed Jul 22 2015 Tom Hughes - 1.3.3-6.20150712git17fd0cc - Don't link to protobuf so user can choose protobuf-lite instead - Drop protobuf-devel require for the same reason * Sun Jul 12 2015 Tom Hughes - 1.3.3-5.20150712git17fd0cc - Update to new upstream snapshot, dropping merged patch - Require protobuf-devel in devel package * Tue Jun 23 2015 Tom Hughes - 1.3.3-4.20150608git3730430 - Add text of GPLv3 * Tue Jun 23 2015 Tom Hughes - 1.3.3-3.20150608git3730430 - Fix base package require in devel package * Tue Jun 16 2015 Tom Hughes - 1.3.3-2.20150608git3730430 - Install shared library with execute permission - Link shared library against protobuf - Correct soname * Mon Jun 8 2015 Tom Hughes - 1.3.3-1.20150608git3730430 - Initial build ## END: Generated by rpmautospec