Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37728932
en ru br
ALT Linux repos
S:1.8.0-alt1
5.0: 0.6.2-alt1

Group :: System/Libraries
RPM: libjson-glib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _name json-glib
%def_disable gtk_doc
%def_disable static

Name: lib%_name
Version: 0.6.2
Release: alt1

Summary: Library for JavaScript Object Notation format
Group: System/Libraries
License: LGPLv2+
Url: http://live.gnome.org/JsonGlib

Source: http://folks.o-hand.com/~ebassi/sources/%_name-%version.tar.gz

%define glib_ver 2.15
%{?_enable_static:BuildPreReq: glibc-devel-static}
BuildRequires: glib2-devel >= %glib_ver gtk-doc

%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/C
Requires: %name = %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 \
   %{subst_enable static} \
   %{?_enable_gtk_doc:--enable-gtk-doc}

%make_build

%install
%make DESTDIR=%buildroot install

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc README NEWS
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%_datadir/gtk-doc/html/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin