Commit 6203afd1 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add json-glib

parent 2d18dc86
......@@ -40,7 +40,7 @@ PACKAGES = \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup \
dconf gvfs desktop-file-utils \
dconf gvfs desktop-file-utils json-glib \
$(NULL)
ALL_SPECS =$(PACKAGES:%=$(SPECS)/%.spec)
......
......@@ -26,7 +26,7 @@ Requires: dconf libsoup
Requires: gsettings-desktop-schemas
Requires: gvfs
Requires: desktop-file-utils
Requires: json-glib
%description
Meta package for Gnome SDK dependencies
......
......@@ -22,10 +22,12 @@ BuildRequires: gobject-introspection
BuildRequires: libsoup
BuildRequires: gvfs
BuildRequires: desktop-file-utils
BuildRequires: json-glib
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
Requires: desktop-file-utils
Requires: json-glib-devel
Requires: gvfs-devel
Requires: librsvg2-devel
Requires: hicolor-icon-theme
......
Name: json-glib
Version: 1.0.2
Release: 1%{?dist}
Summary: Library for JavaScript Object Notation format
Group: System Environment/Libraries
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/JsonGlib
#VCS: git:git://git.gnome.org/json-glib
Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
%description
%{name} is a library providing serialization and deserialization support
for the JavaScript Object Notation (JSON) format.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}
%build
%configure --enable-static=no
make %{?_smp_mflags} V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang json-glib-1.0
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f json-glib-1.0.lang
%doc COPYING NEWS
%{_libdir}/lib%{name}*.so.*
%{_libdir}/girepository-1.0/Json-1.0.typelib
%files devel
%{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%{_includedir}/%{name}-1.0/
%{_datadir}/gtk-doc/
%{_datadir}/gir-1.0/Json-1.0.gir
%{_bindir}/json-glib-format
%{_bindir}/json-glib-validate
%changelog
* Tue Nov 25 2014 Alexander Larsson <alexl@redhat.com> - 1.0.2-1
- Initial version, based on F21
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment