1 #sbs-git:slp/pkgs/l/libjson-glib json-glib 0.0.1 982a2ec62fdaecef7bf0d791b9b7be16d398d70b
4 Summary: JSON Parser for GLib
7 Group: System/Libraries
9 Source0: %{name}-%{version}.tar.gz
10 Patch0: support_surrogate_pairs_in_json_string.patch
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
13 BuildRequires: pkgconfig(gobject-2.0)
14 BuildRequires: pkgconfig(gnutls)
18 an json-glib api library implementation in C (shared libs)
23 Summary: Development components for the json-glib package
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
28 Components for the json-glib package (devel)
31 Summary: Documentation components for the json-glib package
33 Requires: %{name} = %{version}-%{release}
36 Components for the json-glib package (doc)
40 %setup -q -n %{name}-%{version}
42 %patch0 -p1 -b .support_surrogate_pairs
46 %reconfigure --disable-static
51 mkdir -p %{buildroot}/usr/share/license
52 cp COPYING %{buildroot}/usr/share/license/json-glib
56 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
62 %defattr(-,root,root,-)
64 /usr/lib/libjson-glib-1.0.so.*
65 /usr/share/license/json-glib
68 %defattr(-,root,root,-)
69 /usr/include/json-glib-1.0/json-glib/*.h
71 /usr/lib/pkgconfig/*.pc
74 %defattr(-,root,root,-)
75 %doc /usr/share/gtk-doc/html/json-glib/*