Search
SailfishOS Open Build Service
>
Projects
>
home:MartinK
:
sailfish
:
geo
>
libreadosm
> libreadosm.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libreadosm.spec of Package libreadosm
# # spec file for package readosm # # Copyright (c) 2012 SUSE LINUX Products 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: libreadosm %define soversion 1 Version: 1.0.0b Release: 0 License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ Summary: Library to extract valid data from within an Open Street Map input file Url: https://www.gaia-gis.it/fossil/readosm/index Group: Development/Libraries/C and C++ Source: readosm-%{version}.tar.gz BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: expat-devel BuildRequires: zlib-devel %description ReadOSM is an open source library to extract valid data from within an Open Street Map input file. Such OSM files come in two different formats: * files identified by the .osm suffix simply are plain XML files. * files identified by the .osm.pbf suffix does containt the same identical data, but adopting the Google's Protocol Buffer serialization format and thus requiring much less storage space. The ReadOSM design goals are: * to be simple and lightweight * to be stable, robust and efficient * to be easily and universally portable * making the whole parsing process of both .osm or .osm.pbf files completely transparent from the application own perspective. ReadOSM is structurally simple and quite light-weight (typically about 20K of object code, stripped). %package -n %{name}%{soversion} Summary: Library to extract valid data from within an Open Street Map input file Group: Development/Libraries/C and C++ %description -n %{name}%{soversion} ReadOSM is an open source library to extract valid data from within an Open Street Map input file. Such OSM files come in two different formats: * files identified by the .osm suffix simply are plain XML files. * files identified by the .osm.pbf suffix does containt the same identical data, but adopting the Google's Protocol Buffer serialization format and thus requiring much less storage space. The ReadOSM design goals are: * to be simple and lightweight * to be stable, robust and efficient * to be easily and universally portable * making the whole parsing process of both .osm or .osm.pbf files completely transparent from the application own perspective. ReadOSM is structurally simple and quite light-weight (typically about 20K of object code, stripped). %package -n libreadosm-devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ BuildRequires: pkgconfig Requires: %{name}%{soversion} = %{version} Requires: zlib-devel %description devel This package contains all necessary include files and libraries needed to compile and develop applications that use libreadosm. %prep %setup -q -n readosm-%{version} %build %configure make %{?_smp_flags} %install %makeinstall %post -n %{name}%{soversion} -p /sbin/ldconfig %postun -n %{name}%{soversion} -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n %{name}%{soversion} %defattr(-,root,root,-) %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/lib*.a %exclude %{_libdir}/lib*.la %{_libdir}/pkgconfig/readosm.pc %changelog