[packages/libnotify] - updated to 0.8.2
qboosh
qboosh at pld-linux.org
Fri Jun 23 19:45:57 CEST 2023
commit 26f4e59aee0a70f56b1af71321ffbbc751b1c5d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jun 23 19:26:36 2023 +0200
- updated to 0.8.2
libnotify.spec | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/libnotify.spec b/libnotify.spec
index ccf45ca..b9aa999 100644
--- a/libnotify.spec
+++ b/libnotify.spec
@@ -9,22 +9,22 @@ Summary: Desktop notifications library
Summary(hu.UTF-8): Desktop értesítő könyvtár
Summary(pl.UTF-8): Biblioteka powiadomień dla pulpitu
Name: libnotify
-Version: 0.8.1
+Version: 0.8.2
Release: 1
License: LGPL v2.1+ (library), GPL v2+ (tools)
Group: Libraries
Source0: https://download.gnome.org/sources/libnotify/0.8/%{name}-%{version}.tar.xz
-# Source0-md5: 1495f279b255b4493ac3588559823158
+# Source0-md5: ee2d2934a9dcfd5b1305188201e1cd50
URL: http://developer.gnome.org/notification-spec/
BuildRequires: docbook-dtd412-xml
BuildRequires: docbook-style-xsl-ns
BuildRequires: gdk-pixbuf2-devel >= 2.0
+%{?with_apidocs:BuildRequires: gi-docgen >= 2021.7}
BuildRequires: glib2-devel >= 1:2.38.0
BuildRequires: gobject-introspection-devel >= 0.9.12
%{?with_tests:BuildRequires: gtk+3-devel >= 3.0.0}
-%{?with_apidocs:BuildRequires: gtk-doc >= 1.14}
BuildRequires: libxslt-progs
-BuildRequires: meson >= 0.47.0
+BuildRequires: meson >= 0.56.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
@@ -129,6 +129,12 @@ rm -rf $RPM_BUILD_ROOT
# packaged as %doc
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libnotify/spec
+%if %{with apidocs}
+# FIXME: where to package gi-docgen generated docs?
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/libnotify-0 $RPM_BUILD_ROOT%{_gtkdocdir}
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -160,5 +166,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/libnotify
+%{_gtkdocdir}/libnotify-0
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libnotify.git/commitdiff/26f4e59aee0a70f56b1af71321ffbbc751b1c5d9
More information about the pld-cvs-commit
mailing list