From 1651aa12b4923894ac7a4e09f747fed1bc882a5d Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 3 Jan 2021 10:55:47 +0100 Subject: [PATCH] Remove redhat spec file Fedora uses this one here: https://src.fedoraproject.org/rpms/osmpbf/blob/master/f/osmpbf.spec --- redhat/osmpbf.spec | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 redhat/osmpbf.spec diff --git a/redhat/osmpbf.spec b/redhat/osmpbf.spec deleted file mode 100644 index eed25e2..0000000 --- a/redhat/osmpbf.spec +++ /dev/null @@ -1,45 +0,0 @@ -Name: osmpbf -Version: 1.3.3 -Release: 2%{?dist} -Summary: C version of the PBF library code -License: LGPL-3+ -URL: https://github.com/scrosby/OSM-binary -Source0: OSM-binary-%{version}.tar.bz2 -BuildRequires: protobuf-devel, protobuf-lite-devel -BuildRequires: gcc, gcc-c++ - -%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. - -For more information see http://wiki.openstreetmap.org/wiki/PBF_Format - -%prep -%setup -q -n OSM-binary-%{version} - -%build -%{__make} -C src %{?jobs:-j%jobs} -%{__make} -C tools %{?jobs:-j%jobs} - -%install -%{__make} -C src DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} install -%{__make} -C tools DESTDIR=%{buildroot} PREFIX=%{_prefix} install -install -m 644 tools/osmpbf-outline.1 $RPM_BUILD_ROOT%{_mandir}/man1/ - -%files -%defattr(-, root, root, -) -%doc COPYING.osmpbf README ReleaseNotes.txt -%dir %{_includedir}/osmpbf -%{_includedir}/osmpbf/*.h -%{_bindir}/osmpbf-outline -%{_mandir}/man1/osmpbf-outline.1* -%{_libdir}/libosmpbf.a - -%changelog -* Wed Mar 19 2014 - 1.3.3-2 -- Bump version -- Updated spec file to use normal make - -* Mon Sep 23 2013 - 1.3.1-1 -- Initial release