2009-07-10 04:41:06 +02:00
|
|
|
#
|
2010-09-25 15:29:32 +02:00
|
|
|
# spec file for package json-glib (Version 0.12.0)
|
2009-07-10 04:41:06 +02:00
|
|
|
#
|
2010-01-18 14:04:32 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-07-10 04:41:06 +02:00
|
|
|
# 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
|
2010-09-25 15:29:32 +02:00
|
|
|
Version: 0.12.0
|
|
|
|
Release: 1
|
2009-07-31 19:56:01 +02:00
|
|
|
Summary: Library for JavaScript Object Notation format
|
2009-12-30 00:22:41 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-10 04:41:06 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://live.gnome.org/JsonGlib
|
2009-07-31 19:56:01 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-07-10 04:41:06 +02:00
|
|
|
BuildRequires: glib2-devel
|
2009-12-30 00:22:41 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2009-07-10 04:41:06 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
JSON is a lightweight data-interchange format.It is easy for humans to
|
|
|
|
read and write. It is easy 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 libjson-glib-1_0-0
|
2009-12-30 00:22:41 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-10 04:41:06 +02:00
|
|
|
Summary: Library for JavaScript Object Notation format
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libjson-glib-1_0-0
|
|
|
|
JSON is a lightweight data-interchange format.It is easy for humans to
|
|
|
|
read and write. It is easy 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 devel
|
2009-12-30 00:22:41 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-10 04:41:06 +02:00
|
|
|
Summary: Library for JavaScript Object Notation format - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libjson-glib-1_0-0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
JSON is a lightweight data-interchange format.It is easy for humans to
|
|
|
|
read and write. It is easy 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.
|
|
|
|
|
|
|
|
This package contains development files needed to develop with the
|
|
|
|
json-glib library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
%__rm %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%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)
|
2009-07-31 19:56:01 +02:00
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
2009-07-10 04:41:06 +02:00
|
|
|
%{_libdir}/*.so.*
|
2010-09-24 00:14:59 +02:00
|
|
|
%{_libdir}/girepository-1.0/Json-1.0.typelib
|
2009-07-10 04:41:06 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/%{name}-1.0
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2010-09-24 00:14:59 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2009-07-10 04:41:06 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
|
|
%changelog
|