evince/evince.spec

470 lines
16 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f 1)
Name: evince
Version: 46.3.1
Release: 2mamba
Summary: GNOME Document viewer
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Apps
Source: https://download.gnome.org/sources/evince/%{majver}/evince-%{version}.tar.xz
Patch1: evince-2.22.0-desktop.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel
BuildRequires: libarchive-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libdjvulibre-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgspell-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk3-devel
BuildRequires: libgxps-devel
BuildRequires: libhandy-devel
BuildRequires: libpango-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libsecret-devel
BuildRequires: libspectre-devel
BuildRequires: libtexlive-devel
BuildRequires: libtiff-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libgspell-devel >= 0:1.14.0-1mamba
BuildRequires: gnome-desktop-devel
BuildRequires: djvulibre
BuildRequires: libdevhelp-devel
BuildRequires: libnautilus-extension
BuildRequires: gnome-doc-utils-devel
BuildRequires: libopenjpeg-devel
BuildRequires: libalsa-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libaudiofile-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libesound-devel
BuildRequires: libgail-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libopenssl-devel
BuildRequires: libpopt-devel
BuildRequires: adwaita-icon-theme-devel
Requires: adwaita-icon-theme
Requires(post): hicolor-icon-theme
#Configure summary:
# GNOME Support......: yes
# Keyring Support....: yes
# DBUS Support.......: yes
# Nautilus Plugin....: yes
# Thumbnailer........: yes
# Gtk-Doc Support....: no
# PDF Backend........: yes
# PostScript Backend.: yes
# TIFF Backend.......: yes
# DJVU Backend.......: yes
# DVI Backend........: yes
# Pixbuf Backend.....: yes
# Comics Backend.....: yes
# Impress Backend....: yes
%description
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi.
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.
%package devel
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: evince-static
Obsoletes: evince-static < 40.1
Provides: evince-static
Obsoletes: evince-static < 40.1
%description devel
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi.
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.
This package package contains headers and static libraries for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} Api documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description apidocs
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi.
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.
This package contains %{name} Api documentation.
%debug_package
%prep
%setup -q
%build
%meson
#% configure \
# --with-devhelp=yes \
# --enable-tiff \
# --enable-nautilus \
# --enable-pdf \
# --enable-djvu \
# --enable-dvi \
# --enable-t1lib \
# --enable-pixbuf \
# --enable-comics \
# --enable-impress \
# --enable-introspection \
# --disable-scrollkeeper \
# --disable-schemas-install
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
/sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
fi
:
%postun
if [ $1 -ge 0 ]; then
/sbin/ldconfig
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/evince
%{_bindir}/evince-previewer
%{_bindir}/evince-thumbnailer
%dir %{_libdir}/evince
%dir %{_libdir}/evince/4
%dir %{_libdir}/evince/4/backends
%{_libdir}/evince/4/backends/*.evince-backend
%{_libdir}/evince/4/backends/lib*.so
%{_libdir}/libevdocument3.so.*
%{_libdir}/libevview3.so.*
%{_libdir}/girepository-1.0/Evince*.typelib
#%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.so
#%{_libdir}/mozilla/plugins/libevbrowserplugin.*
%{_libexecdir}/evinced
%{_userunitdir}/org.gnome.Evince.service
#%{_datadir}/GConf/gsettings/evince.convert
%{_datadir}/applications/org.gnome.Evince-previewer.desktop
%{_datadir}/applications/org.gnome.Evince.desktop
%{_datadir}/metainfo/evince-*.xml
%{_datadir}/metainfo/org.gnome.Evince.metainfo.xml
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Evince.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Evince-symbolic.svg
%{_datadir}/thumbnailers/evince.thumbnailer
%dir %{_datadir}/evince
%{_datadir}/evince/*
%dir %{_datadir}/help/*/evince
%{_datadir}/help/*/evince/*
%{_mandir}/man1/evince*.1*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/evince/*/*.h
%{_includedir}/evince/*/libdocument/*.h
%{_includedir}/evince/*/libview/*.h
%{_libdir}/libevdocument3.so
%{_libdir}/libevview3.so
%{_datadir}/gir-1.0/Evince*.gir
%{_libdir}/pkgconfig/evince-*.pc
#%doc NEWS TODO
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/doc/libevdocument
%{_datadir}/doc/libevdocument/*
%dir %{_datadir}/doc/libevview
%{_datadir}/doc/libevview/*
%changelog
* Sat Sep 21 2024 Automatic Build System <autodist@mambasoft.it> 46.3.1-2mamba
- rebuilt by autoport with build requirements: libgspell-devel>=0:1.14.0-1mamba
* Tue Jul 23 2024 Automatic Build System <autodist@openmamba.org> 46.3.1-1mamba
- automatic version update by autodist
* Sun May 26 2024 Automatic Build System <autodist@openmamba.org> 46.3-1mamba
- automatic version update by autodist
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 46.2-1mamba
- automatic version update by autodist
* Sun Apr 28 2024 Automatic Build System <autodist@openmamba.org> 46.1-1mamba
- automatic version update by autodist
* Mon Mar 18 2024 Automatic Build System <autodist@openmamba.org> 46.0-1mamba
- automatic version update by autodist
* Tue Sep 19 2023 Automatic Build System <autodist@mambasoft.it> 45.0-1mamba
- automatic version update by autodist
* Sun Jul 02 2023 Automatic Build System <autodist@mambasoft.it> 44.3-1mamba
- automatic version update by autodist
* Sun Jun 18 2023 Automatic Build System <autodist@mambasoft.it> 44.2-1mamba
- automatic version update by autodist
* Wed Mar 22 2023 Automatic Build System <autodist@mambasoft.it> 44.1-1mamba
- automatic version update by autodist
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 44.0-1mamba
- automatic version update by autodist
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 43.1-1mamba
- automatic version update by autodist
* Tue Sep 20 2022 Automatic Build System <autodist@mambasoft.it> 43.0-1mamba
- automatic version update by autodist
* Mon May 23 2022 Automatic Build System <autodist@mambasoft.it> 42.3-1mamba
- automatic version update by autodist
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 42.2-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 42.1-1mamba
- automatic version update by autodist
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 41.3-1mamba
- automatic version update by autodist
* Thu Nov 04 2021 Automatic Build System <autodist@mambasoft.it> 41.2-1mamba
- automatic version update by autodist
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 40.4-1mamba
- automatic version update by autodist
* Tue Jul 13 2021 Automatic Build System <autodist@mambasoft.it> 40.3-1mamba
- automatic version update by autodist
* Wed Jun 09 2021 Automatic Build System <autodist@mambasoft.it> 40.2-1mamba
- automatic version update by autodist
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.1-1mamba
- update to 40.1
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36.0-2mamba
- rebuilt with gnome-desktop 3.36.0
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 3.36.0-1mamba
- automatic version update by autodist
* Sun Nov 24 2019 Automatic Build System <autodist@mambasoft.it> 3.34.2-1mamba
- automatic version update by autodist
* Wed Nov 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.34.1-2mamba
- rebuilt with gnome-desktop 3.34.1
* Tue Oct 08 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
- automatic version update by autodist
* Sun Sep 29 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
- automatic version update by autodist
* Sun Mar 17 2019 Automatic Build System <autodist@mambasoft.it> 3.32.0-1mamba
- automatic version update by autodist
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 3.30.2-1mamba
- automatic version update by autodist
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
- automatic version update by autodist
* Sun Sep 23 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
- automatic version update by autodist
* Wed Sep 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.2-2mamba
- x86: rebuilt with gnome-desktop >= 2.28
* Sun Apr 15 2018 Automatic Build System <autodist@mambasoft.it> 3.28.2-1mamba
- automatic version update by autodist
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 3.26.0-1mamba
- automatic version update by autodist
* Sat Jul 22 2017 Automatic Build System <autodist@mambasoft.it> 3.24.1-1mamba
- automatic version update by autodist
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba
- automatic version update by autodist
* Mon Jun 27 2016 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
- automatic version update by autodist
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
- automatic version update by autodist
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-2mamba
- rebuilt with gnome-desktop 3.18.2
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
- automatic version update by autodist
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Wed May 27 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Sat Apr 25 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Mon Mar 16 2015 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic version update by autodist
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
- automatic version update by autodist
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
- automatic version update by autodist
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Wed Oct 30 2013 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
- automatic version update by autodist
* Thu Oct 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.3-2mamba
- call glib-compile-schemas after install/uninstall
* Mon Aug 05 2013 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
- automatic version update by autodist
* Mon Aug 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-2mamba
- rebuilt with libtexlive-devel for dvi support and with libgxps
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Wed Oct 19 2011 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- update to 3.2.0
* Tue Jul 26 2011 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Thu Oct 28 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Thu Jun 24 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
- automatic update to 2.30.3 by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
- automatic update to 2.30.2 by autodist
* Wed Jun 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-2mamba
- removed build requirement for libpoppler2
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-1mamba
- update to 2.30.1
* Tue Feb 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.28.2-2mamba
- prereq hicolor-icon-theme and don't fail installation if gtk-update-icon-cache fails
* Sat Dec 19 2009 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
- automatic update by autodist
* Sun Oct 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
- automatic update by autodist
* Fri Sep 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist
* Thu May 28 2009 Automatic Build System <autodist@mambasoft.it> 2.26.2-1mamba
- automatic update by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-3mamba
- automatic rebuild by autodist
* Mon Apr 20 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-1mamba
- automatic update by autodist
* Wed Apr 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-2mamba
- evince-devel: obsolete evince-static
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- automatic update to 2.26.0 by autodist
* Mon Dec 08 2008 gil <puntogil@libero.it> 2.24.2-2mamba
- edit post and postun
* Tue Nov 25 2008 gil <puntogil@libero.it> 2.24.2-1mamba
- update to 2.24.2
* Sat Nov 15 2008 gil <puntogil@libero.it> 2.24.1-1mamba
- update to 2.24.1
* Sat Oct 18 2008 gil <puntogil@libero.it> 2.24.0-1mamba
- update to 2.24.0
* Thu Jul 17 2008 gil <puntogil@libero.it> 2.22.0-1mamba
- added package static
- added desktop patch (changed NoDisplay=true with false)