[gtk-vnc] rpm: add reference documentation



commit 1b462ffde3f8b8498630d83a371e73a48ece2ee4
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Tue Sep 13 14:18:23 2022 +0400

    rpm: add reference documentation
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 gtk-vnc.spec.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 0581f57..78f71f8 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -28,6 +28,7 @@ BuildRequires: vala
 BuildRequires: pulseaudio-libs-devel
 BuildRequires: /usr/bin/pod2man
 BuildRequires: meson
+BuildRequires: gi-docgen
 
 %if %{with_mingw}
 BuildRequires:  mingw32-filesystem >= 95
@@ -195,7 +196,7 @@ allowing it to be completely asynchronous while remaining single threaded.
 chmod -x examples/*.pl examples/*.js examples/*.py
 
 %if %{with_mingw}
-%mingw_meson -Dintrospection=disabled
+%mingw_meson -Dintrospection=disabled -Dgi-docs=disabled
 %mingw_ninja
 %endif
 
@@ -232,6 +233,8 @@ rm -f $RPM_BUILD_ROOT%{mingw64_mandir}/man1/gvnccapture.1*
 %{_includedir}/gvnc-1.0/*.h
 %{_libdir}/pkgconfig/gvnc-1.0.pc
 %{_datadir}/gir-1.0/GVnc-1.0.gir
+%{_datadir}/doc/gvnc/
+%{_datadir}/doc/gvnc.toml
 
 %files -n gvncpulse -f %{name}.lang
 %{_libdir}/libgvncpulse-1.0.so.*
@@ -272,6 +275,8 @@ rm -f $RPM_BUILD_ROOT%{mingw64_mandir}/man1/gvnccapture.1*
 %{_includedir}/%{name}-2.0/*.h
 %{_libdir}/pkgconfig/%{name}-2.0.pc
 %{_datadir}/gir-1.0/GtkVnc-2.0.gir
+%{_datadir}/doc/gtk-vnc/
+%{_datadir}/doc/gtk-vnc.toml
 
 %if %{with_mingw}
 # Mingw32


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]