Name: papers Version: 47.0 Release: 2%{?dist} Summary: Document viewer for PDF and other document formats License: GPL-2.0-or-later URL: https://gitlab.gnome.org/GNOME/Incubator/papers Source0: %{url}/-/archive/%{version}/papers-%{version}.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(exempi-2.0) BuildRequires: pkgconfig(libnautilus-extension-4) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(ddjvuapi) BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(libgxps) BuildRequires: pkgconfig(libspectre) BuildRequires: rustfmt BuildRequires: gi-docgen BuildRequires: itstool BuildRequires: desktop-file-utils Requires: %{name}-pdf%{?_isa} = %{version}-%{release} Recommends: %{name}-comics%{?_isa} = %{version}-%{release} Recommends: %{name}-djvu%{?_isa} = %{version}-%{release} Recommends: %{name}-tiff%{?_isa} = %{version}-%{release} Recommends: %{name}-xps%{?_isa} = %{version}-%{release} Recommends: %{name}-ps%{?_isa} = %{version}-%{release} %description Papers is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package comics Summary: Papers backend for comics Requires: %{name}%{?_isa} = %{version}-%{release} %description comics A backend for Papers to open and view comics files. %package djvu Summary: Papers backend for djvu Requires: %{name}%{?_isa} = %{version}-%{release} %description djvu A backend for Papers to open and view djvu files. %package pdf Summary: Papers backend for pdf Requires: %{name}%{?_isa} = %{version}-%{release} %description pdf A backend for Papers to open and view pdf files. %package tiff Summary: Papers backend for tiff Requires: %{name}%{?_isa} = %{version}-%{release} %description tiff A backend for Papers to open and view tiff files. %package xps Summary: Papers backend for xps Requires: %{name}%{?_isa} = %{version}-%{release} %description xps A backend for Papers to open and view xps files. %package ps Summary: Papers backend for postscript Requires: %{name}%{?_isa} = %{version}-%{release} %description ps A backend for Papers to open and view postscript files. %package nautilus Summary: Papers extension for nautilus Requires: %{name}%{?_isa} = %{version}-%{release} %description nautilus An extension for Papers to support nautilus. %prep %autosetup %build %meson -Dtests=false -Dps=enabled %meson_build %install %meson_install %find_lang %{name} --with-gnome %files -f %{name}.lang %license COPYING %doc NEWS README.md %{_bindir}/papers %{_bindir}/papers-previewer %{_bindir}/papers-thumbnailer %{_libdir}/*.so.* %{_libdir}/girepository-1.0/*.typelib %{_datadir}/applications/org.gnome.Papers.desktop %{_datadir}/applications/org.gnome.Papers-previewer.desktop %{_datadir}/glib-2.0/schemas/org.gnome.Papers.gschema.xml %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/thumbnailers/papers.thumbnailer %{_metainfodir}/org.gnome.Papers.metainfo.xml %{_mandir}/man1/*.1.gz %{_docdir}/libppsdocument/* %{_docdir}/libppsview/* %files devel %{_includedir}/papers/4.0/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %{_datadir}/gir-1.0/*.gir %files comics %{_libdir}/papers/5/backends/comicsdocument.papers-backend %{_libdir}/papers/5/backends/libcomicsdocument.so %{_metainfodir}/papers-comicsdocument.metainfo.xml %files djvu %{_libdir}/papers/5/backends/djvudocument.papers-backend %{_libdir}/papers/5/backends/libdjvudocument.so %{_metainfodir}/papers-djvudocument.metainfo.xml %files pdf %{_libdir}/papers/5/backends/pdfdocument.papers-backend %{_libdir}/papers/5/backends/libpdfdocument.so %{_metainfodir}/papers-pdfdocument.metainfo.xml %files tiff %{_libdir}/papers/5/backends/tiffdocument.papers-backend %{_libdir}/papers/5/backends/libtiffdocument.so %{_metainfodir}/papers-tiffdocument.metainfo.xml %files xps %{_libdir}/papers/5/backends/xpsdocument.papers-backend %{_libdir}/papers/5/backends/libxpsdocument.so %{_metainfodir}/papers-xpsdocument.metainfo.xml %files ps %{_libdir}/papers/5/backends/psdocument.papers-backend %{_libdir}/papers/5/backends/libpsdocument.so %{_metainfodir}/papers-psdocument.metainfo.xml %files nautilus %{_libdir}/nautilus/extensions-4/libpapers-document-properties.so %changelog * Fri Sep 27 2024 Umut Demir - 47.0-2 - Separate backends - Separate nautilus extension - Fix ps dependency * Tue Sep 24 2024 Umut Demir - 47.0-1 - Initial build