Compare commits

...

5 Commits
rawhide ... f30

Author SHA1 Message Date
Kalev Lember
386f050fe9 Update to 3.32.1 2019-09-29 20:22:32 +02:00
Marek Kasik
564a1a0710 Handle failure from TIFFReadRGBAImageOriented
Resolves: #1716299
2019-06-11 13:31:18 +02:00
Felipe Borges
640c295f65 Adjust the build for Flatpak
An Evince Flatpak from this RPM cannot:
 * bundle texlive
 * install systemd unit service
 * install/require nautilus extension
2019-06-05 12:46:25 +02:00
Marek Kasik
423225abd4 Protect against NULL variable reaching strcmp()
Resolves: #1706198
2019-05-14 13:43:43 +02:00
Felipe Borges
07885f7d0d Don't install systemd unit
There is no need to install the systemd unit since Evince is not
a daemon and can be dbus-activated.
2019-03-26 15:45:17 +00:00
3 changed files with 30 additions and 3 deletions

1
.gitignore vendored
View File

@ -81,3 +81,4 @@ evince-3.0.0.tar.bz2
/evince-3.31.90.tar.xz
/evince-3.31.91.tar.xz
/evince-3.32.0.tar.xz
/evince-3.32.1.tar.xz

View File

@ -5,7 +5,7 @@
%global synctex_version 1.19
Name: evince
Version: 3.32.0
Version: 3.32.1
Release: 1%{?dist}
Summary: Document viewer
@ -37,11 +37,13 @@ BuildRequires: yelp-tools
BuildRequires: /usr/bin/desktop-file-validate
BuildRequires: libappstream-glib-devel
BuildRequires: gnome-common
%if ! 0%{?flatpak}
BuildRequires: pkgconfig(synctex) >= %{synctex_version}
# for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension)
# for the dvi backend
BuildRequires: texlive-lib-devel
%endif
%if 0%{?fedora}
# for the djvu backend
BuildRequires: djvulibre-devel
@ -104,6 +106,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
This package contains a backend to let evince display djvu files.
%endif
%if ! 0%{?flatpak}
%package nautilus
Summary: Evince extension for nautilus
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -112,7 +115,7 @@ Requires: nautilus%{?_isa}
%description nautilus
This package contains the evince extension for the nautilus file manager.
It adds an additional tab called "Document" to the file properties dialog.
%endif
%prep
%autosetup -p1
@ -132,6 +135,10 @@ autoreconf -f -i
%endif
--enable-xps=yes \
--enable-t1lib=no \
%if 0%{?flatpak}
--without-systemduserunitdir \
--disable-nautilus \
%endif
--enable-ps=yes
make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
@ -153,8 +160,10 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
# Get rid of static libs and .la files.
rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.a
%if ! 0%{?flatpak}
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.a
%endif
rm -f $RPM_BUILD_ROOT%{_libdir}/evince/4/backends/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/evince/4/backends/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -180,7 +189,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_datadir}/GConf/gsettings/evince.convert
%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
%{_datadir}/thumbnailers/evince.thumbnailer
%if ! 0%{?flatpak}
%{_userunitdir}/org.gnome.Evince.service
%endif
%files libs
%doc NEWS AUTHORS
@ -228,10 +239,12 @@ 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}
%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}
%files djvu
@ -240,10 +253,23 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_datadir}/metainfo/evince-djvudocument.metainfo.xml
%endif
%if ! 0%{?flatpak}
%files nautilus
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%endif
%changelog
* Sun Sep 29 2019 Kalev Lember <klember@redhat.com> - 3.32.1-1
- Update to 3.32.1
* Tue Jun 11 2019 Marek Kasik <mkasik@redhat.com> - 3.32.0-3
- Handle failure from TIFFReadRGBAImageOriented
- Resolves: #1716299
* Tue May 14 2019 Marek Kasik <mkasik@redhat.com> - 3.32.0-2
- Protect against NULL variable reaching strcmp()
- Resolves: #1706198
* Thu Mar 14 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
- Update to 3.32.0

View File

@ -1 +1 @@
SHA512 (evince-3.32.0.tar.xz) = 565298a200d9ae2f6b4cb53c3cba0d0d0e4cfbef60e4145bfb9c82a5682947ceb2371e52c27179cd69a238cd387bcfd744d3c55df814b6347f07781aec3ea658
SHA512 (evince-3.32.1.tar.xz) = 29028fedde9aff85e53a5059f63df007e1bac7d662a91fe01e1bb8c48349d5674afe3ce37f9c495e4b208fd476b22f4ecaf749c6d7c3362a03b05703400ece05