From 35e9e5e5df464681fb006442652d78991cf89ad18907529df8f6cc71a1621494 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 10 Jul 2009 02:41:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-glib?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + json-glib-0.6.2.tar.bz2 | 3 ++ json-glib.changes | 9 ++++ json-glib.spec | 117 ++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 153 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 json-glib-0.6.2.tar.bz2 create mode 100644 json-glib.changes create mode 100644 json-glib.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/json-glib-0.6.2.tar.bz2 b/json-glib-0.6.2.tar.bz2 new file mode 100644 index 0000000..170835d --- /dev/null +++ b/json-glib-0.6.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2994fc6786a753c035a9fc22e36b41e6b7955cf238b9b9e2f3c48f1bb0c1f14e +size 320796 diff --git a/json-glib.changes b/json-glib.changes new file mode 100644 index 0000000..9d182a0 --- /dev/null +++ b/json-glib.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Tue May 19 18:12:15 CEST 2009 - dominique-obs@leuenberger.net + +- Specfile cleanups. + +------------------------------------------------------------------- +Wed Mar 25 11:08:15 CET 2009 - dominique@leuenberger.net + +- Initial package of 0.6.2 for openSUSE diff --git a/json-glib.spec b/json-glib.spec new file mode 100644 index 0000000..5f53763 --- /dev/null +++ b/json-glib.spec @@ -0,0 +1,117 @@ +# +# spec file for package json-glib (Version 0.6.2) +# +# Copyright (c) 2009 SUSE LINUX Products 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/ +# + + +Summary: Library for JavaScript Object Notation format + +Name: json-glib +Version: 0.6.2 +Release: 2 +Source: %{name}-%{version}.tar.bz2 +License: LGPL v2.1 or later +Group: Development/Libraries/C and C++ +Url: http://live.gnome.org/JsonGlib +BuildRequires: glib2-devel +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 +License: LGPL v2.1 or later +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 +License: LGPL v2.1 or later +Summary: Library for JavaScript Object Notation format - Development Files +Group: Development/Libraries/C and C++ +Requires: libjson-glib-1_0-0 = %{version} +Requires: glib2-devel + +%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) +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/%{name}-1.0 +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/%{name} + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4