Accepting request 523838 from GNOME:Factory

- Update to version 1.4.2:
  + Literally no change, just a re-released tarball. The tarball
    generated for 1.4.0 and pushed to download.gnome.org comes from
    a different commit. (forwarded request 523836 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/523838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-glib?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2017-09-13 19:57:03 +00:00 committed by Git OBS Bridge
commit 1f6324f02e
4 changed files with 64 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a
size 604336

3
json-glib-1.4.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8
size 163576

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Tue Sep 12 21:37:26 UTC 2017 - dimstar@opensuse.org
- Update to version 1.4.2:
+ Literally no change, just a re-released tarball. The tarball
generated for 1.4.0 and pushed to download.gnome.org comes from
a different commit.
-------------------------------------------------------------------
Tue Sep 12 10:00:44 UTC 2017 - dimstar@opensuse.org
- Update to version 1.4.0:
+ Update the linker flags on macOS (bgo#785053).
+ Change the build configuration options to better fit with
Meson.
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 11 15:52:44 UTC 2017 - jengelh@inai.de
- Trim descriptions a little. Update summaries.
-------------------------------------------------------------------
Tue Jul 18 10:20:33 UTC 2017 - zaitor@opensuse.org
- Update to version 1.3.2:
+ Use Meson as the only build system.
+ Bugs fixed: bgo#773504, bgo##780550, bgo#769206, bgo#766281,
bgo#758580, bgo#768788, bgo#774688.
- Conditionally apply translations-update-upstream BuildRequires
and macro for non-openSUSE only.
- Add meson BuildRequires and switch autotools macros configure,
make and makeinstall to meson, meson_build and meson_install
following upstream switch to Meson build system.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 19 06:59:19 UTC 2017 - zaitor@opensuse.org Sun Mar 19 06:59:19 UTC 2017 - zaitor@opensuse.org

View File

@ -18,23 +18,22 @@
Name: json-glib Name: json-glib
Version: 1.2.8 Version: 1.4.2
Release: 0 Release: 0
Summary: Library for JavaScript Object Notation format Summary: Library for JavaScript Object Notation format
License: LGPL-2.1+ License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://live.gnome.org/JsonGlib Url: http://live.gnome.org/JsonGlib
Source0: http://download.gnome.org/sources/json-glib/1.2/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/json-glib/1.4/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: glib2-devel >= 2.46 BuildRequires: glib2-devel >= 2.46
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: meson
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif
%description %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 JSON-GLib provides a parser and a generator GObject classes and various
wrappers for the complex data types employed by JSON, such as arrays wrappers for the complex data types employed by JSON, such as arrays
and objects. and objects.
@ -48,12 +47,12 @@ JSON data streams.
Summary: Library for JavaScript Object Notation format Summary: Library for JavaScript Object Notation format
# To make lang subpackage installable # To make lang subpackage installable
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: %{name} = %{version}
Recommends: %{name}-lang Recommends: %{name}-lang
Provides: %{name} = %{version}
%description -n libjson-glib-1_0-0 %description -n libjson-glib-1_0-0
JSON is a lightweight data-interchange format.It is easy for humans to JSON is a lightweight data-interchange format. It is comparatively
read and write. It is easy for machines to parse and generate. 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 JSON-GLib provides a parser and a generator GObject classes and various
wrappers for the complex data types employed by JSON, such as arrays wrappers for the complex data types employed by JSON, such as arrays
@ -65,70 +64,58 @@ GObject classes for direct serialization into, and deserialization from,
JSON data streams. JSON data streams.
%package -n typelib-1_0-Json-1_0 %package -n typelib-1_0-Json-1_0
Summary: Library for JavaScript Object Notation format -- Introspection bindings Summary: Introspection bindings for libjson-glib
Group: System/Libraries Group: System/Libraries
%description -n typelib-1_0-Json-1_0 %description -n typelib-1_0-Json-1_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 JSON-GLib provides a parser and a generator GObject classes and various
wrappers for the complex data types employed by JSON, such as arrays wrappers for the complex data types employed by JSON, such as arrays
and objects. 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 provides the GObject Introspection bindings for JSON-GLib. This package provides the GObject Introspection bindings for JSON-GLib.
%package devel %package devel
Summary: Library for JavaScript Object Notation format - Development Files Summary: Development files for libjson-glib
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libjson-glib-1_0-0 = %{version} Requires: libjson-glib-1_0-0 = %{version}
Requires: typelib-1_0-Json-1_0 = %{version} Requires: typelib-1_0-Json-1_0 = %{version}
%description 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 JSON-GLib provides a parser and a generator GObject classes and various
wrappers for the complex data types employed by JSON, such as arrays wrappers for the complex data types employed by JSON, such as arrays
and objects. 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 This package contains development files needed to develop with the
json-glib library. json-glib library.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%if !0%{?is_opensuse}
translation-update-upstream translation-update-upstream
%endif
%build %build
%configure # These 2 options should work, but currently install fase fails.
make %{?_smp_mflags} # FIXME -Denable-man=true \
# FIXME -Denable-gtk-doc=true \
%meson \
%{nil}
%meson_build
%install %install
%make_install %meson_install
find %{buildroot}%{_libdir} -name '*.la' -delete -print find %{buildroot}%{_libdir} -name '*.la' -delete -print
%find_lang %{name}-1.0 %find_lang %{name}-1.0
%clean
rm -rf %{buildroot}
%post -n libjson-glib-1_0-0 -p /sbin/ldconfig %post -n libjson-glib-1_0-0 -p /sbin/ldconfig
%postun -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 %files -n libjson-glib-1_0-0
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog COPYING NEWS %doc COPYING
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n typelib-1_0-Json-1_0 %files -n typelib-1_0-Json-1_0
@ -137,6 +124,7 @@ rm -rf %{buildroot}
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS README.md
# Those could potentially be split in a -tools package, but are never used by non-devs. # Those could potentially be split in a -tools package, but are never used by non-devs.
%{_bindir}/json-glib-format %{_bindir}/json-glib-format
%{_bindir}/json-glib-validate %{_bindir}/json-glib-validate
@ -144,9 +132,10 @@ rm -rf %{buildroot}
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir %{_datadir}/gir-1.0/*.gir
%dir %{_datadir}/gtk-doc %dir %{_datadir}/installed-tests
%dir %{_datadir}/gtk-doc/html %dir %{_libexecdir}/installed-tests
%{_datadir}/gtk-doc/html/%{name} %{_datadir}/installed-tests/json-glib-1.0/
%{_libexecdir}/installed-tests/json-glib-1.0/
%files lang -f %{name}-1.0.lang %files lang -f %{name}-1.0.lang