Compare commits

...

36 Commits
f36 ... rawhide

Author SHA1 Message Date
David King
0a6d82c349 Rebuild against gspell 2024-08-26 19:16:37 +01:00
David King
6f3747637d Update to 46.3.1 2024-07-24 14:46:47 +01:00
Fedora Release Engineering
d96f9a35d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 22:31:18 +00:00
Yaakov Selkowitz
957d400ecb Disable gspell on RHEL
Also, convert all conditionals to bconds, except for comics which is no
longer needed given the upcoming end of support for RHEL 7.
2024-05-28 11:15:25 -04:00
David King
8c921dc3c4 Update to 46.3 2024-05-28 09:00:06 +01:00
David King
14f0364db3 Update to 46.1 2024-04-29 14:39:17 +01:00
David King
9921b0344b Update to 46.0 2024-03-18 12:49:42 +00:00
David King
d2042d3c68 Update to 46.rc 2024-03-12 10:18:36 +00:00
Marek Kasik
1bc51ff586 Migrated to SPDX license 2024-02-06 16:47:20 +01:00
Fedora Release Engineering
8d19e3ed16 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 10:57:17 +00:00
Fedora Release Engineering
ec5dd0b90a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 18:41:06 +00:00
Kalev Lember
4e2ad55dde Update to 45.0 2023-09-20 12:39:30 +02:00
Kalev Lember
337ee17e33 Update to 45.rc 2023-09-05 12:42:10 +02:00
Fedora Release Engineering
d7b1ba0e7a Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:04:54 +00:00
Kalev Lember
4685904020 Update to 45.alpha 2023-07-03 11:57:32 +02:00
Kalev Lember
ada58958be Update to 44.3 2023-07-01 23:22:14 +02:00
Kalev Lember
4873bcf587 Update to 44.2 2023-06-17 15:28:17 +02:00
David King
38f00e1ed2 Update to 44.1 2023-03-22 06:26:19 +00:00
David King
fc62137ef2 Update to 44.0 2023-03-18 11:09:22 +00:00
Marek Kasik
7bcc2201ca Fix crashes on closing of Evince
Resolves: #2178016
2023-03-14 12:12:28 +01:00
David King
7f4c875725 Update to 44.rc 2023-03-08 08:17:22 +00:00
Fedora Release Engineering
fe93dec74d Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 02:51:46 +00:00
Benjamin A. Beasley
350c12f1b2 Ensure correct fonts are installed for HTML docs 2022-12-09 10:16:44 -05:00
David King
4ff5ba0ecc Update to 43.1 2022-10-27 22:26:30 +01:00
Kalev Lember
61a0e4817d Add missing BR on systemd-rpm-macros 2022-09-20 12:36:21 +02:00
Kalev Lember
daeef76a43 Update to 43.0 2022-09-20 12:36:05 +02:00
Fedora Release Engineering
3cf22f322f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 02:34:40 +00:00
Kalev Lember
27a8784b6f Obsolete nautilus subpackage 2022-07-18 16:32:14 +02:00
Kalev Lember
7b5508e4ce Disable nautilus extension as it's not ported to gtk4-based nautilus 2022-07-18 14:07:03 +02:00
Kalev Lember
1197df3503 Update to 43.alpha 2022-07-18 09:25:20 +02:00
David King
5749b86eff Update to 42.3 2022-05-23 08:39:56 +01:00
David King
6b3d3d2e69 Require libs subpackage for nautilus extension (#2086848) 2022-05-18 10:05:17 +01:00
David King
5de273c8de Update to 42.2 2022-04-17 13:00:08 +01:00
David King
99a9f2abb0 Update to 42.1 2022-03-19 17:21:41 +00:00
Marek Kasik
79802ab45f Decrease required version of poppler to 22.01.0
Change doc path
2022-03-15 13:32:07 +01:00
David King
e79bbdaae6 WIP: Update to 42.rc
Requires as-yet unpackaged version of poppler.
2022-03-15 09:37:03 +01:00
3 changed files with 193 additions and 41 deletions

20
.gitignore vendored
View File

@ -102,3 +102,23 @@ evince-3.0.0.tar.bz2
/evince-41.alpha.tar.xz
/evince-41.2.tar.xz
/evince-41.3.tar.xz
/evince-42.rc.tar.xz
/evince-42.1.tar.xz
/evince-42.2.tar.xz
/evince-42.3.tar.xz
/evince-43.alpha.tar.xz
/evince-43.0.tar.xz
/evince-43.1.tar.xz
/evince-44.rc.tar.xz
/evince-44.0.tar.xz
/evince-44.1.tar.xz
/evince-44.2.tar.xz
/evince-44.3.tar.xz
/evince-45.alpha.tar.xz
/evince-45.rc.tar.xz
/evince-45.0.tar.xz
/evince-46.rc.tar.xz
/evince-46.0.tar.xz
/evince-46.1.tar.xz
/evince-46.3.tar.xz
/evince-46.3.1.tar.xz

View File

@ -1,52 +1,69 @@
# texlive is buildroot only for Fedora flatpaks
%bcond dvi %{undefined flatpak}
# djvulibre, gspell are not available in RHEL 10+
%bcond djvu %{undefined rhel}
%bcond gspell %{undefined rhel}
# not compatible with libnautilus-extension-4
%bcond nautilus 0
# Exclude private libraries from autogenerated provides and requires
%global __provides_exclude_from ^%{_libdir}/evince/
%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/evince/ -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
%global libarchive_version 3.6.0
%global poppler_version 22.05.0
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: evince
Version: 41.3
Version: 46.3.1
Release: 2%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND X11 AND MIT AND Afmparse
URL: https://wiki.gnome.org/Apps/Evince
Source0: https://download.gnome.org/sources/%{name}/41/%{name}-%{tarball_version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
BuildRequires: gcc
BuildRequires: gettext-devel
BuildRequires: pkgconfig(adwaita-icon-theme)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
%if %{with gspell}
BuildRequires: pkgconfig(gspell-1)
%endif
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRequires: pkgconfig(libarchive) >= %{libarchive_version}
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libspectre)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(gspell-1)
BuildRequires: pkgconfig(poppler-glib) >= %{poppler_version}
BuildRequires: libtiff-devel
BuildRequires: gtk-doc
BuildRequires: gi-docgen
BuildRequires: yelp-tools
BuildRequires: /usr/bin/desktop-file-validate
BuildRequires: libappstream-glib-devel
BuildRequires: meson
%if ! 0%{?flatpak}
BuildRequires: systemd-rpm-macros
%if %{with dvi}
BuildRequires: pkgconfig(synctex)
# for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension)
# for the dvi backend
BuildRequires: texlive-lib-devel
%endif
%if 0%{?fedora}
%if %{with djvu}
# for the djvu backend
BuildRequires: djvulibre-devel
%endif
%if %{with nautilus}
# for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension)
%endif
# for the xps backend
BuildRequires: pkgconfig(libgxps)
@ -54,6 +71,8 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-previewer%{?_isa} = %{version}-%{release}
Requires: %{name}-thumbnailer%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-nautilus < 43~alpha-2
%description
Evince is simple multi-page document viewer. It can display and print
Portable Document Format (PDF), PostScript (PS) and Encapsulated PostScript
@ -67,9 +86,11 @@ installing additional backends.
%package libs
Summary: Libraries for the evince document viewer
%if 0%{?fedora}
%if %{with djvu}
Recommends: %{name}-djvu%{?_isa} = %{version}-%{release}
%endif
Requires: libarchive%{?_isa} >= %{libarchive_version}
Requires: poppler-glib%{?_isa} >= %{poppler_version}
%description libs
This package contains shared libraries needed for evince
@ -78,6 +99,10 @@ This package contains shared libraries needed for evince
%package devel
Summary: Support for developing backends for the evince document viewer
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# Because web fonts from upstream are not bundled in the gi-docgen package,
# packages containing documentation generated with gi-docgen should depend on
# this metapackage to ensure the proper system fonts are present.
Recommends: gi-docgen-fonts
%description devel
This package contains libraries and header files needed for evince
@ -93,7 +118,7 @@ Requires: texlive-collection-fontsrecommended
This package contains a backend to let evince display dvi files.
%if 0%{?fedora}
%if %{with djvu}
%package djvu
Summary: Evince backend for djvu files
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -102,10 +127,10 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
This package contains a backend to let evince display djvu files.
%endif
%if ! 0%{?flatpak}
%if %{with nautilus}
%package nautilus
Summary: Evince extension for nautilus
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: nautilus%{?_isa}
%description nautilus
@ -133,25 +158,27 @@ It provides the printing preview for the GTK printing dialog.
%build
%meson \
%if 0%{?fedora} || 0%{?rhel} > 7
-Dcomics=enabled \
%endif
%if 0%{?flatpak}
-Ddvi=disabled \
%else
%if %{with dvi}
-Ddvi=enabled \
%else
-Ddvi=disabled \
%endif
%if 0%{?fedora}
%if %{with djvu}
-Ddjvu=enabled \
%else
-Ddjvu=disabled \
%endif
%if %{with gspell}
-Dgspell=enabled \
%else
-Dgspell=disabled \
%endif
-Dxps=enabled \
-Dt1lib=disabled \
%if 0%{?flatpak}
-Dsystemduserunitdir=no \
-Dnautilus=false \
%endif
-Dnautilus=false \
-Dps=enabled
%meson_build
@ -160,15 +187,15 @@ It provides the printing preview for the GTK printing dialog.
%find_lang evince --with-gnome
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-pdfdocument.metainfo.xml
rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-psdocument.metainfo.xml
rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-tiffdocument.metainfo.xml
rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-comicsdocument.metainfo.xml
rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-xpsdocument.metainfo.xml
mkdir -p %{buildroot}%{_datadir}/applications
rm -f %{buildroot}%{_metainfodir}/evince-pdfdocument.metainfo.xml
rm -f %{buildroot}%{_metainfodir}/evince-psdocument.metainfo.xml
rm -f %{buildroot}%{_metainfodir}/evince-tiffdocument.metainfo.xml
rm -f %{buildroot}%{_metainfodir}/evince-comicsdocument.metainfo.xml
rm -f %{buildroot}%{_metainfodir}/evince-xpsdocument.metainfo.xml
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Evince.metainfo.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-previewer.desktop
@ -185,8 +212,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_libexecdir}/evinced
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
%{_datadir}/GConf/gsettings/evince.convert
%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
%{_metainfodir}/org.gnome.Evince.metainfo.xml
%if ! 0%{?flatpak}
%{_userunitdir}/org.gnome.Evince.service
%endif
@ -208,10 +234,8 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_libdir}/evince/4/backends/libtiffdocument.so
%{_libdir}/evince/4/backends/tiffdocument.evince-backend
%if 0%{?fedora} || 0%{?rhel} > 7
%{_libdir}/evince/4/backends/libcomicsdocument.so
%{_libdir}/evince/4/backends/comicsdocument.evince-backend
%endif
%{_libdir}/evince/4/backends/libxpsdocument.so
%{_libdir}/evince/4/backends/xpsdocument.evince-backend
@ -220,9 +244,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_libdir}/girepository-1.0/EvinceView-3.0.typelib
%files devel
%{_datadir}/gtk-doc/html/evince/
%{_datadir}/gtk-doc/html/libevview-3.0
%{_datadir}/gtk-doc/html/libevdocument-3.0
%{_datadir}/doc/evince-libs
%{_datadir}/doc/libevview
%{_datadir}/doc/libevdocument
%dir %{_includedir}/evince
%{_includedir}/evince/3.0
%{_libdir}/libevview3.so
@ -232,21 +256,21 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_datadir}/gir-1.0/EvinceDocument-3.0.gir
%{_datadir}/gir-1.0/EvinceView-3.0.gir
%if ! 0%{?flatpak}
%if %{with dvi}
%files dvi
%{_libdir}/evince/4/backends/libdvidocument.so*
%{_libdir}/evince/4/backends/dvidocument.evince-backend
%{_datadir}/metainfo/evince-dvidocument.metainfo.xml
%endif
%if 0%{?fedora}
%if %{with djvu}
%files djvu
%{_libdir}/evince/4/backends/libdjvudocument.so
%{_libdir}/evince/4/backends/djvudocument.evince-backend
%{_datadir}/metainfo/evince-djvudocument.metainfo.xml
%endif
%if ! 0%{?flatpak}
%if %{with nautilus}
%files nautilus
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%endif
@ -261,6 +285,114 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_mandir}/man1/evince-previewer.1*
%changelog
* Mon Aug 26 2024 David King <amigadave@amigadave.com> - 46.3.1-2
- Rebuild against gspell
* Wed Jul 24 2024 David King <amigadave@amigadave.com> - 46.3.1-1
- Update to 46.3.1
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 46.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue May 28 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 46.3-2
- Disable gspell on RHEL
* Tue May 28 2024 David King <amigadave@amigadave.com> - 46.3-1
- Update to 46.3
* Mon Apr 29 2024 David King <amigadave@amigadave.com> - 46.1-1
- Update to 46.1
* Mon Mar 18 2024 David King <amigadave@amigadave.com> - 46.0-1
- Update to 46.0
* Mon Mar 11 2024 David King <amigadave@amigadave.com> - 46~rc-1
- Update to 46.rc
* Tue Feb 6 2024 Marek Kasik <mkasik@redhat.com> - 45.0-4
- Migrated to SPDX license
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Sep 20 2023 Kalev Lember <klember@redhat.com> - 45.0-1
- Update to 45.0
* Tue Sep 05 2023 Kalev Lember <klember@redhat.com> - 45~rc-1
- Update to 45.rc
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 45~alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 03 2023 Kalev Lember <klember@redhat.com> - 45~alpha-1
- Update to 45.alpha
* Sat Jul 01 2023 Kalev Lember <klember@redhat.com> - 44.3-1
- Update to 44.3
* Sat Jun 17 2023 Kalev Lember <klember@redhat.com> - 44.2-1
- Update to 44.2
* Wed Mar 22 2023 David King <amigadave@amigadave.com> - 44.1-1
- Update to 44.1
* Sat Mar 18 2023 David King <amigadave@amigadave.com> - 44.0-1
- Update to 44.0
* Tue Mar 14 2023 Marek Kasik <mkasik@redhat.com> - 44~rc-2
- Fix crashes on closing of Evince
- Resolves: #2178016
* Wed Mar 08 2023 David King <amigadave@amigadave.com> - 44~rc-1
- Update to 44.rc
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Dec 08 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 43.1-2
- Ensure correct fonts are installed for HTML docs
* Thu Oct 27 2022 David King <amigadave@amigadave.com> - 43.1-1
- Update to 43.1
* Tue Sep 20 2022 Kalev Lember <klember@redhat.com> - 43.0-1
- Update to 43.0
- Add missing BR on systemd-rpm-macros
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 43~alpha-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-3
- Obsolete nautilus subpackage
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-2
- Disable nautilus extension as it's not ported to gtk4-based nautilus
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-1
- Update to 43.alpha
* Mon May 23 2022 David King <amigadave@amigadave.com> - 42.3-1
- Update to 42.3
* Wed May 18 2022 David King <amigadave@amigadave.com> - 42.2-2
- Require libs subpackage for nautilus extension (#2086848)
* Sun Apr 17 2022 David King <amigadave@amigadave.com> - 42.2-1
- Update to 42.2
* Sat Mar 19 2022 David King <amigadave@amigadave.com> - 42.1-1
- Update to 42.1
* Tue Mar 15 2022 Marek Kasik <mkasik@redhat.com> - 42~rc-2
- Decrease required version of poppler to 22.01.0
- Change doc path
* Mon Mar 07 2022 David King <amigadave@amigadave.com> - 42~rc-1
- Update to 42.rc
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 41.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (evince-41.3.tar.xz) = b00422ef0fd752e5afacea2db852ad71d8d16514945a9a54c54967cecd2b1f5058b762ec53eb9057b8f583d5e1e3363c2b7ae1f4434fa6637ad45c5217f082cd
SHA512 (evince-46.3.1.tar.xz) = 3614169e9bb2a9b9331c52d9acb1e6320e675be448a5cbad654240bea1f7bb26d10af060c4b0a820e68126edc338484e95cbf2682de59da6fddbd328b267a76f