mirror of
https://abf.rosa.ru/djam/json-glib.git
synced 2025-02-23 10:12:50 +00:00
New version 1.4.2
Swicth to meson build system
This commit is contained in:
parent
7253d30c68
commit
42961b1b3f
2 changed files with 16 additions and 13 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
json-glib-1.2.2.tar.xz: f7a25ab5eaba4ae2027276784223fbf55ef0619f
|
json-glib-1.4.2.tar.xz: 660a72e0269feb15e89d6c17d86e594b7af6fecb
|
||||||
|
|
|
@ -6,13 +6,15 @@
|
||||||
|
|
||||||
Summary: Library for JavaScript Object Notation format
|
Summary: Library for JavaScript Object Notation format
|
||||||
Name: json-glib
|
Name: json-glib
|
||||||
Version: 1.2.2
|
Version: 1.4.2
|
||||||
Release: 3
|
Release: 1
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://live.gnome.org/JsonGlib
|
Url: http://live.gnome.org/JsonGlib
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.xz
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: xsltproc
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
|
||||||
|
@ -21,7 +23,10 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
for the JavaScript Object Notation (JSON) format.
|
for the JavaScript Object Notation (JSON) format.
|
||||||
|
|
||||||
%files -f %{name}-%{api}.lang
|
%files -f %{name}-%{api}.lang
|
||||||
%{_bindir}/*
|
%{_bindir}/json-glib-format
|
||||||
|
%{_bindir}/json-glib-validate
|
||||||
|
%{_mandir}/man1/json-glib-format.1*
|
||||||
|
%{_mandir}/man1/json-glib-validate.1*
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -64,13 +69,15 @@ The %{devname} package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%files -n %{devname}
|
%files -n %{devname}
|
||||||
%doc NEWS ChangeLog
|
%doc NEWS
|
||||||
%{_libdir}/lib%{name}-%{api}.so
|
%{_libdir}/lib%{name}-%{api}.so
|
||||||
%{_libdir}/pkgconfig/%{name}-%{api}.pc
|
%{_libdir}/pkgconfig/%{name}-%{api}.pc
|
||||||
%{_includedir}/%{name}-%{api}/
|
%{_includedir}/%{name}-%{api}/
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%{_datadir}/gtk-doc/html/%{name}/
|
%{_datadir}/gtk-doc/html/%{name}/
|
||||||
%{_datadir}/gir-1.0/Json-%{api}.gir
|
%{_datadir}/gir-1.0/Json-%{api}.gir
|
||||||
|
%{_datadir}/installed-tests/
|
||||||
|
%{_libdir}/installed-tests/
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -78,16 +85,12 @@ developing applications that use %{name}.
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure2_5x \
|
%meson \
|
||||||
--disable-static \
|
-Ddocs=true
|
||||||
--disable-man
|
%meson_build
|
||||||
%make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall_std
|
%meson_install
|
||||||
|
|
||||||
%find_lang %{name}-%{api}
|
%find_lang %{name}-%{api}
|
||||||
|
|
||||||
%check
|
|
||||||
%make check
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue