public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/papers] rawhide: Build with introspection (required by sushi 51.alpha)
@ 2026-07-02 10:18 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-02 10:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/papers
            Branch : rawhide
            Commit : 05c0353afa898dd993f5c00eff11a8b3522032e7
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T12:16:17+02:00
            Stats  : +17/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/papers/c/05c0353afa898dd993f5c00eff11a8b3522032e7?branch=rawhide

            Log:
            Build with introspection (required by sushi 51.alpha)

Introspection build also introduces developer documentation.

---
diff --git a/papers.spec b/papers.spec
index a7ff975..bf4fa3e 100644
--- a/papers.spec
+++ b/papers.spec
@@ -132,6 +132,14 @@ This package contains libraries and header files needed for Papers
 backend development.
 
 
+%package doc
+Summary: Documentation files for %{name}
+BuildArch: noarch
+
+%description doc
+This package contains developer documentation for %{name}.
+
+
 %package        nautilus
 Summary:        Papers extension for nautilus
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
@@ -178,7 +186,7 @@ This package brings the Papers thumbnailer independently from Papers.
 %build
 %meson \
        -Ddjvu=%{?with_djvu:enabled}%{!?with_djvu:disabled} \
-       -Dintrospection=disabled \
+       -Dintrospection=enabled \
        -Dtests=false \
        %{nil}
 
@@ -220,6 +228,8 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
 
 %files libs
 %license COPYING
+%{_libdir}/girepository-1.0/PapersDocument-4.0.typelib
+%{_libdir}/girepository-1.0/PapersView-4.0.typelib
 %{_libdir}/libppsdocument-4.0.so.6{,.*}
 %{_libdir}/libppsview-4.0.so.5{,.*}
 %{_libdir}/papers/
@@ -236,6 +246,12 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
 %{_libdir}/libppsview-4.0.so
 %{_libdir}/pkgconfig/papers-document-4.0.pc
 %{_libdir}/pkgconfig/papers-view-4.0.pc
+%{_datadir}/gir-1.0/PapersDocument-4.0.gir
+%{_datadir}/gir-1.0/PapersView-4.0.gir
+
+%files doc
+%{_datadir}/doc/libppsdocument/*
+%{_datadir}/doc/libppsview/*
 
 %files nautilus
 %{_libdir}/nautilus/extensions-4/libpapers-document-properties.so

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-02 10:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 10:18 [rpms/papers] rawhide: Build with introspection (required by sushi 51.alpha) Milan Crha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox