Fix non-Fedora build
This commit is contained in:
parent
61df36932a
commit
13703f38cb
14
evince.spec
14
evince.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: evince
|
Name: evince
|
||||||
Version: 3.14.1
|
Version: 3.14.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Document viewer
|
Summary: Document viewer
|
||||||
|
|
||||||
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
||||||
@ -43,8 +43,10 @@ BuildRequires: gnome-common >= 2.26
|
|||||||
BuildRequires: nautilus-devel
|
BuildRequires: nautilus-devel
|
||||||
# for the dvi backend
|
# for the dvi backend
|
||||||
BuildRequires: kpathsea-devel
|
BuildRequires: kpathsea-devel
|
||||||
|
%if 0%{?fedora}
|
||||||
# for the djvu backend
|
# for the djvu backend
|
||||||
BuildRequires: djvulibre-devel
|
BuildRequires: djvulibre-devel
|
||||||
|
%endif
|
||||||
# for the xps backend
|
# for the xps backend
|
||||||
BuildRequires: libgxps-devel >= %{gxps_version}
|
BuildRequires: libgxps-devel >= %{gxps_version}
|
||||||
|
|
||||||
@ -91,6 +93,7 @@ Requires: texlive-collection-fontsrecommended
|
|||||||
This package contains a backend to let evince display dvi files.
|
This package contains a backend to let evince display dvi files.
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
%package djvu
|
%package djvu
|
||||||
Summary: Evince backend for djvu files
|
Summary: Evince backend for djvu files
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
@ -98,7 +101,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description djvu
|
%description djvu
|
||||||
This package contains a backend to let evince display djvu files.
|
This package contains a backend to let evince display djvu files.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package nautilus
|
%package nautilus
|
||||||
Summary: Evince extension for nautilus
|
Summary: Evince extension for nautilus
|
||||||
@ -133,7 +136,9 @@ This package contains the evince web browser plugin.
|
|||||||
--enable-introspection \
|
--enable-introspection \
|
||||||
--enable-comics=yes \
|
--enable-comics=yes \
|
||||||
--enable-dvi=yes \
|
--enable-dvi=yes \
|
||||||
|
%if 0%{?fedora}
|
||||||
--enable-djvu=yes \
|
--enable-djvu=yes \
|
||||||
|
%endif
|
||||||
--enable-xps=yes \
|
--enable-xps=yes \
|
||||||
--enable-t1lib=yes
|
--enable-t1lib=yes
|
||||||
make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
|
make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
|
||||||
@ -241,10 +246,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
|
|||||||
%{_libdir}/evince/4/backends/dvidocument.evince-backend
|
%{_libdir}/evince/4/backends/dvidocument.evince-backend
|
||||||
%{_datadir}/appdata/evince-dvidocument.metainfo.xml
|
%{_datadir}/appdata/evince-dvidocument.metainfo.xml
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
%files djvu
|
%files djvu
|
||||||
%{_libdir}/evince/4/backends/libdjvudocument.so
|
%{_libdir}/evince/4/backends/libdjvudocument.so
|
||||||
%{_libdir}/evince/4/backends/djvudocument.evince-backend
|
%{_libdir}/evince/4/backends/djvudocument.evince-backend
|
||||||
%{_datadir}/appdata/evince-djvudocument.metainfo.xml
|
%{_datadir}/appdata/evince-djvudocument.metainfo.xml
|
||||||
|
%endif
|
||||||
|
|
||||||
%files nautilus
|
%files nautilus
|
||||||
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
|
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
|
||||||
@ -253,6 +260,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
|
|||||||
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
|
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 12 2014 Richard Hughes <richard@hughsie.com> - 3.14.1-4
|
||||||
|
- Fix non-Fedora build
|
||||||
|
|
||||||
* Wed Nov 5 2014 Marek Kasik <mkasik@redhat.com> - 3.14.1-3
|
* Wed Nov 5 2014 Marek Kasik <mkasik@redhat.com> - 3.14.1-3
|
||||||
- Fix runtime critical warning when starting in fullscreen mode
|
- Fix runtime critical warning when starting in fullscreen mode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user