Search
SailfishOS Open Build Service
>
Projects
>
home:r0kk3rz
:
firefox-wayland
>
json-glib
> json.glib.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File json.glib.spec of Package json-glib
# # spec file for package json-glib # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # # 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: json-glib Version: 1.4.2 Release: 0 Summary: Library for JavaScript Object Notation format License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://live.gnome.org/JsonGlib Source0: http://download.gnome.org/sources/json-glib/1.4/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: glib2-devel >= 2.46 BuildRequires: gobject-introspection-devel BuildRequires: gettext BuildRequires: meson %description JSON-GLib provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams. %package -n libjson-glib-1_0-0 Summary: Library for JavaScript Object Notation format # To make lang subpackage installable Group: Development/Libraries/C and C++ Provides: %{name} = %{version} %description -n libjson-glib-1_0-0 JSON is a lightweight data-interchange format. It is comparatively easy for humans to read and write, and for machines to parse and generate. JSON-GLib provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams. %package -n typelib-1_0-Json-1_0 Summary: Introspection bindings for libjson-glib Group: System/Libraries %description -n typelib-1_0-Json-1_0 JSON-GLib provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. This package provides the GObject Introspection bindings for JSON-GLib. %package devel Summary: Development files for libjson-glib Group: Development/Libraries/C and C++ Requires: libjson-glib-1_0-0 = %{version} Requires: typelib-1_0-Json-1_0 = %{version} %description devel JSON-GLib provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. This package contains development files needed to develop with the json-glib library. %prep %setup -q %build %meson %meson_build %install %meson_install find %{buildroot}%{_libdir} -name '*.la' -delete -print find %{buildroot}/usr/share/locale/ -name '*.mo' -delete -print %clean rm -rf %{buildroot} %post -n libjson-glib-1_0-0 -p /sbin/ldconfig %postun -n libjson-glib-1_0-0 -p /sbin/ldconfig %files -n libjson-glib-1_0-0 %defattr(-,root,root) %{_libdir}/*.so.* %files -n typelib-1_0-Json-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Json-1.0.typelib %files devel %defattr(-,root,root) # Those could potentially be split in a -tools package, but are never used by non-devs. %{_bindir}/json-glib-format %{_bindir}/json-glib-validate %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/*.gir %dir %{_datadir}/installed-tests %dir %{_libexecdir}/installed-tests %{_datadir}/installed-tests/json-glib-1.0/ %{_libexecdir}/installed-tests/json-glib-1.0/