Compare commits

...

15 Commits
rawhide ... f34

Author SHA1 Message Date
David King
9e3c55b3a3 Update to 40.5 2022-03-14 08:48:23 +00:00
Marek Kasik
ef419537c6 Allow annotation actions for PDFs only
Resolves: #2001256
2022-01-13 14:40:59 +01:00
Kalev Lember
6d0f5ad167 Update to 40.4 2021-08-03 11:38:19 +02:00
Kalev Lember
80c375c66e Update to 40.2 2021-06-21 13:26:28 +02:00
Kalev Lember
757955951a Sort requires 2021-05-04 16:09:42 +02:00
Felipe Borges
ce673efe3f Split evince-previewer into its own package
evince-previewer is used by the GTK printing dialog to preview
documents before printing. When Evince is distributed as a Flatpak
(for example in Silverblue), GTK can't find the previewer at
%{_bindir}/evince-previewer

See https://github.com/fedora-silverblue/issue-tracker/issues/122
2021-05-04 16:09:41 +02:00
Kalev Lember
a0329b6d35 Filter private library provides 2021-03-26 16:56:59 +01:00
Kalev Lember
5165c66b83 Don't use ldconfig_scriptlets
It's a nop these days.
2021-03-26 16:55:48 +01:00
Kalev Lember
0a213663a0 Minor style fix 2021-03-26 16:53:24 +01:00
Kalev Lember
c75f860a29 Remove old obsoletes 2021-03-26 16:52:05 +01:00
Kalev Lember
f77405abcb Remove various minimum version requires
They are new enough in all current Fedora versions.
2021-03-26 16:51:35 +01:00
Kalev Lember
d3071f33e0 Update to 40.1 2021-03-26 16:50:25 +01:00
Kalev Lember
d50a0405a1 Tighten soname globs
This can avoid unintended soname bumps in the future.
2021-03-26 15:13:20 +01:00
Kalev Lember
eb43449f3b Update to 40.0 2021-03-26 15:13:20 +01:00
Marek Kasik
0999f65685 Set page cache size with correct type
Resolves: #1458845
2021-03-03 18:34:04 +01:00
3 changed files with 64 additions and 23 deletions

5
.gitignore vendored
View File

@ -96,3 +96,8 @@ evince-3.0.0.tar.bz2
/evince-3.38.0.tar.xz
/evince-3.39.1.tar.xz
/evince-3.39.2.tar.xz
/evince-40.0.tar.xz
/evince-40.1.tar.xz
/evince-40.2.tar.xz
/evince-40.4.tar.xz
/evince-40.5.tar.xz

View File

@ -1,34 +1,32 @@
%global poppler_version 0.33.0
%global glib2_version 2.44.0
%global gtk3_version 3.22.0
%global gxps_version 0.2.1
%global synctex_version 1.19
# 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 '|' -))
Name: evince
Version: 3.39.2
Version: 40.5
Release: 1%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
URL: https://wiki.gnome.org/Apps/Evince
Source0: https://download.gnome.org/sources/%{name}/3.39/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: gcc
BuildRequires: gettext-devel
BuildRequires: pkgconfig(adwaita-icon-theme)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk+-x11-3.0) >= %{gtk3_version}
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libspectre)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(poppler-glib) >= %{poppler_version}
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(gspell-1)
BuildRequires: libtiff-devel
@ -38,7 +36,7 @@ BuildRequires: /usr/bin/desktop-file-validate
BuildRequires: libappstream-glib-devel
BuildRequires: meson
%if ! 0%{?flatpak}
BuildRequires: pkgconfig(synctex) >= %{synctex_version}
BuildRequires: pkgconfig(synctex)
# for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension)
# for the dvi backend
@ -49,15 +47,11 @@ BuildRequires: texlive-lib-devel
BuildRequires: djvulibre-devel
%endif
# for the xps backend
BuildRequires: pkgconfig(libgxps) >= %{gxps_version}
BuildRequires: pkgconfig(libgxps)
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-previewer%{?_isa} = %{version}-%{release}
Requires: %{name}-thumbnailer%{?_isa} = %{version}-%{release}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
# Removed in F29
Obsoletes: evince-browser-plugin < 3.30.0
%description
Evince is simple multi-page document viewer. It can display and print
@ -125,6 +119,14 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description thumbnailer
This package brings the Evince thumbnailer independently from Evince.
%package previewer
Summary: Evince previewer
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description previewer
This package brings the Evince previewer independently from Evince.
It provides the printing preview for the GTK printing dialog.
%prep
%autosetup -p1
@ -164,14 +166,12 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gn
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
%ldconfig_scriptlets libs
%files -f evince.lang
%{_bindir}/evince
%{_bindir}/evince-previewer
%{_datadir}/%{name}/
%{_datadir}/applications/org.gnome.Evince.desktop
%{_datadir}/applications/org.gnome.Evince-previewer.desktop
%{_datadir}/evince/
%{_datadir}/icons/hicolor/*/apps/org.gnome.Evince.*
%{_datadir}/icons/hicolor/*/apps/org.gnome.Evince-symbolic.svg
%{_mandir}/man1/evince.1*
@ -188,8 +188,8 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%files libs
%doc NEWS AUTHORS
%license COPYING
%{_libdir}/libevview3.so.*
%{_libdir}/libevdocument3.so.*
%{_libdir}/libevdocument3.so.4*
%{_libdir}/libevview3.so.3*
%dir %{_libdir}/evince
%dir %{_libdir}/evince/4
%dir %{_libdir}/evince/4/backends
@ -255,7 +255,43 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_datadir}/thumbnailers/evince.thumbnailer
%{_mandir}/man1/evince-thumbnailer.1*
%files previewer
%{_bindir}/evince-previewer
%{_mandir}/man1/evince-previewer.1*
%changelog
* Mon Mar 14 2022 David King <amigadave@amigadave.com> - 40.5-1
- Update to 40.5
* Thu Jan 13 2022 Marek Kasik <mkasik@redhat.com> - 40.4-2
- Allow annotation actions for PDFs only
- Resolves: #2001256
* Tue Aug 03 2021 Kalev Lember <klember@redhat.com> - 40.4-1
- Update to 40.4
* Mon Jun 21 2021 Kalev Lember <klember@redhat.com> - 40.2-1
- Update to 40.2
* Tue May 04 2021 Felipe Borges <feborges@redhat.com> - 40.1-2
- Split evince-previewer into its own package
- See https://github.com/fedora-silverblue/issue-tracker/issues/122
* Fri Mar 26 2021 Kalev Lember <klember@redhat.com> - 40.1-1
- Update to 40.1
- Remove various minimum version requires
- Remove old obsoletes
- Don't use ldconfig_scriptlets
- Filter private library provides
* Fri Mar 26 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0
- Tighten soname globs
* Wed Mar 03 2021 Marek Kasik <mkasik@redhat.com> - 3.39.2-2
- Set page cache size with correct type
- Resolves: #1458845
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 3.39.2-1
- Update to 3.39.2

View File

@ -1 +1 @@
SHA512 (evince-3.39.2.tar.xz) = 978322943d53a8b6687e0823b5f87d6d3bc706931eecf677a78a1ef0919ecc3ee67485eb3d829f993b2560ffa41253bc63514bed390ce36686feabab97f1262e
SHA512 (evince-40.5.tar.xz) = fb1df1e5dc7aa2fa7878c34157619f0e15b5aa4ba4305ab2250af109015a971594927b570238853ba1db52a3d0c6df70c678cea43721dcc345c25cb3d2d8a1c1