Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:libraries:c_c++
libjsonparser
libjsonparser.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libjsonparser.spec of Package libjsonparser
# # spec file for package libjsonparser # # Copyright (c) 2020 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/ # %define sover 1_1 Name: libjsonparser Version: 1.1.0 Release: 0 Summary: JSON parser written in ANSI C License: BSD-2-Clause Group: Development/Libraries/C and C++ URL: https://github.com/udp/json-parser Source: https://github.com/udp/json-parser/archive/v%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/udp/json-parser/pull/45 Patch0: 0001-improve-pkgconfig-module-close-37.patch BuildRequires: automake BuildRequires: gcc BuildRequires: pkgconfig %description JSON parser written in ANSI C that never recurses. In C++ mode, it offers a number of decorators like a default constructor, begin()/end(), and implicit conversions. %package -n libjsonparser%{sover} Summary: JSON parser written in ANSI C Group: System/Libraries %description -n libjsonparser%{sover} JSON parser written in ANSI C that never recurses. In C++ mode, it offers a number of decorators like a default constructor, begin()/end(), and implicit conversions. %package devel Summary: Development files for libjsonparser Requires: libjsonparser%{sover} = %{version} %description devel Files needed to develop applications with libjsonparser. This openSUSE build does not support the source line/column number tracking, and setting -DJSON_TRACK_SOURCE in libjsonparser-using projects will cause a silent ABI break. %prep %autosetup -n json-parser-%{version} %build autoreconf -vfi %configure %make_build %install make install-shared DESTDIR=%{buildroot} %post -n libjsonparser%{sover} -p /sbin/ldconfig %postun -n libjsonparser%{sover} -p /sbin/ldconfig %files -n libjsonparser%{sover} %license LICENSE %doc README.md AUTHORS %{_libdir}/libjsonparser.so.1.1 %{_libdir}/libjsonparser.so.1.1.0 %files devel %{_libdir}/lib*.so %{_includedir}/json-parser/ %{_datadir}/pkgconfig/json-parser.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor