[packages/gdk-pixbuf2] - adjusted gi-docgen docs packaging

qboosh qboosh at pld-linux.org
Wed Mar 31 20:01:06 CEST 2021


commit 221fce9faf860ac7bcf47b089fb1ba1386f33af1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 31 20:00:37 2021 +0200

    - adjusted gi-docgen docs packaging

 gdk-pixbuf2.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gdk-pixbuf2.spec b/gdk-pixbuf2.spec
index dead2c6..7ed14ea 100644
--- a/gdk-pixbuf2.spec
+++ b/gdk-pixbuf2.spec
@@ -27,6 +27,7 @@ BuildRequires:	meson >= 0.55.3
 BuildRequires:	ninja >= 1.5
 BuildRequires:	perl-devel
 BuildRequires:	pkgconfig
+BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
@@ -120,7 +121,8 @@ install -d $RPM_BUILD_ROOT%{_gtkdocdir}
 %endif
 
 %if %{with apidocs}
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/doc/gdk-pixbuf $RPM_BUILD_ROOT%{_gtkdocdir}
+# FIXME: better common place to package gi-docgen genrated docs?
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/doc/gdk-pixbuf/reference/* $RPM_BUILD_ROOT%{_gtkdocdir}
 %endif
 
 touch $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/%{abiver}/loaders.cache
@@ -184,4 +186,5 @@ fi
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/gdk-pixbuf
+%{_gtkdocdir}/gdk-pixdata
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdk-pixbuf2.git/commitdiff/221fce9faf860ac7bcf47b089fb1ba1386f33af1



More information about the pld-cvs-commit mailing list