## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 15; 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 %bcond autoreconf 1 Name: readosm Version: 1.1.0a %global so_version 1 Release: %autorelease Summary: Library to extract valid data from within an Open Street Map input file # The entire source is (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) (the # “MPL-tri-license”), except for certain build-system files that do not affect # the license of the binary RPMs: # • FSFULLR: aclocal.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, # m4/lt~obsolete.m4 # • FSFULLR AND GPL-2.0-or-later WITH Libtool-exception: m4/libtool.m4 # • GPL-2.0-or-later: compile, config.guess, config.sub, depcomp, ltmain.sh, # missing, test-driver # • FSFUL (or possibly (FSFUL AND (MPL-1.1 OR GPL-2.0-or-later OR # LGPL-2.1-or-later)), considering it is generated from configure.ac): # configure # • X11: install-sh License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later Source: https://www.gaia-gis.it/gaia-sins/readosm-sources/readosm-%{version}.tar.gz URL: https://www.gaia-gis.it/fossil/readosm %if %{with autoreconf} BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %endif BuildRequires: make BuildRequires: gcc BuildRequires: expat-devel BuildRequires: zlib-devel %description ReadOSM is a simple library intended for extracting the contents from Open Street Map files: both input formats (.osm XML based and .osm.pbf based on Google's Protocol Buffer serialization) are indifferently supported. %package devel Summary: Development libraries and headers for ReadOSM Requires: readosm%{?_isa} = %{version}-%{release} %description devel The readosm-devel package contains libraries and header files for developing applications that use ReadOSM. %prep %autosetup %conf %if %{with autoreconf} autoreconf --force --install --verbose %endif %configure --disable-static %build %make_build %install %make_install # Delete undesired libtool archives find '%{buildroot}' -type f -name '*.la' -print -delete %check %make_build check %files %license COPYING %doc AUTHORS %{_libdir}/libreadosm.so.%{so_version}{,.*} %files devel %{_libdir}/pkgconfig/readosm.pc %{_libdir}/libreadosm.so %{_includedir}/readosm.h %changelog ## START: Generated by rpmautospec * Sat Nov 02 2024 Benjamin A. Beasley - 1.1.0a-15 - Invoke autoreconf and configure in %%conf rather than in %%build * Fri Jul 19 2024 Fedora Release Engineering - 1.1.0a-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.1.0a-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.0a-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0a-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 18 2023 Benjamin A. Beasley - 1.1.0a-9 - Use new (rpm 4.17.1+) bcond style * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0a-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Benjamin A. Beasley - 1.1.0a-6 - Update License to SPDX * Mon Nov 28 2022 Benjamin A. Beasley - 1.1.0a-5 - Write a file glob a little more nicely * Sat Jul 23 2022 Fedora Release Engineering - 1.1.0a-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0a-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 23 2021 Benjamin A. Beasley - 1.1.0a-2 - Allow autoreconf * Wed Dec 22 2021 Benjamin A. Beasley - 1.1.0a-1 - Update to 1.1.0a * Wed Dec 22 2021 Benjamin A. Beasley - 1.1.0-15 - Modernize the spec file * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Sep 25 2017 Volker Fröhlich - 1.1.0-1 - New upstream release * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0e-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.0e-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0.0e-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0e-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 25 2015 Volker Fröhlich - 1.0.0e-1 - New upstream release * Thu Jun 18 2015 Fedora Release Engineering - 1.0.0c-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Dec 11 2014 Volker Fröhlich - 1.0.0c-1 - New upstream release supporting aarch64 * Sun Aug 17 2014 Fedora Release Engineering - 1.0.0b-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.0.0b-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.0.0b-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0b-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Dec 2 2012 Volker Fröhlich - 1.0.0b-1 - New upstream release * Sun Aug 12 2012 Volker Fröhlich - 1.0.0a-2 - Disable coverage profiling * Sun Aug 12 2012 Volker Fröhlich - 1.0.0a-1 - Inital package for Fedora ## END: Generated by rpmautospec