update to 40.1 [release 40.1-1mamba;Fri May 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:09:14 +01:00
parent 1fc28529ca
commit 0518efeb5e

View File

@ -1,14 +1,14 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1)
Name: evince Name: evince
Version: 3.36.1 Version: 40.1
Release: 1mamba Release: 1mamba
Summary: GNOME Document viewer Summary: GNOME Document viewer
Group: Graphical Desktop/Applications/Publishing Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org/projects/evince/ URL: https://wiki.gnome.org/Apps
Source: http://ftp.gnome.org/pub/GNOME/sources/evince/%{majver}/evince-%{version}.tar.xz Source: https://download.gnome.org/sources/evince/%{majver}/evince-%{version}.tar.xz
# http://bugs.gentoo.org/attachment.cgi?id=148212 # http://bugs.gentoo.org/attachment.cgi?id=148212
#Patch0: poppler-0.8.0.patch #Patch0: poppler-0.8.0.patch
Patch1: evince-2.22.0-desktop.patch Patch1: evince-2.22.0-desktop.patch
@ -18,48 +18,27 @@ BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel BuildRequires: gnome-desktop-devel
BuildRequires: libarchive-devel BuildRequires: libarchive-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libdjvulibre-devel BuildRequires: libdjvulibre-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel BuildRequires: libgspell-devel
BuildRequires: libgst-plugins-base-devel BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel BuildRequires: libgtk3-devel
BuildRequires: libgxps-devel BuildRequires: libgxps-devel
BuildRequires: libharfbuzz-devel BuildRequires: libhandy-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libnautilus-extension-devel BuildRequires: libnautilus-extension-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel BuildRequires: libpoppler-glib-devel
BuildRequires: libsecret-devel BuildRequires: libsecret-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libspectre-devel BuildRequires: libspectre-devel
BuildRequires: libstdc++6-devel
BuildRequires: libt1-devel
BuildRequires: libtexlive-devel BuildRequires: libtexlive-devel
BuildRequires: libthai-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: gnome-desktop-devel >= %{majver} BuildRequires: gnome-desktop-devel
BuildRequires: djvulibre BuildRequires: djvulibre
BuildRequires: libdevhelp-devel BuildRequires: libdevhelp-devel
BuildRequires: libnautilus-extension BuildRequires: libnautilus-extension
@ -81,7 +60,6 @@ BuildRequires: libpopt-devel
BuildRequires: adwaita-icon-theme-devel BuildRequires: adwaita-icon-theme-devel
Requires: adwaita-icon-theme Requires: adwaita-icon-theme
Requires(post): hicolor-icon-theme Requires(post): hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#Configure summary: #Configure summary:
# GNOME Support......: yes # GNOME Support......: yes
@ -132,9 +110,9 @@ Group: Development/Libraries
Summary: Static libraries for %{name} Summary: Static libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: evince-static Provides: evince-static
Obsoletes: evince-static Obsoletes: evince-static < 40.1
Provides: evince-static Provides: evince-static
Obsoletes: evince-static Obsoletes: evince-static < 40.1
%description devel %description devel
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi.
@ -150,43 +128,37 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description apidocs %description apidocs
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. 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. 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. This package contains %{name} Api documentation.
%debug_package
%prep %prep
%setup -q %setup -q
#%patch1 -p1
#sed -i "s|/usr/bin/python|%{__python}|" test/*.py
%build %build
#./autogen.sh %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
# --enable-debug \ #% configure \
# unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl # --with-devhelp=yes \
# unable to parse zh_CN/evince.xml --enable-gtk-doc \ # --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
%make %meson_build
#% make -C test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
##GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %meson_install
%makeinstall DESTDIR=%{buildroot}
#find %{buildroot} -name "*.la" -delete
%find_lang %{name} %find_lang %{name}
%clean %clean
@ -244,7 +216,7 @@ fi
%{_datadir}/evince/* %{_datadir}/evince/*
%dir %{_datadir}/help/*/evince %dir %{_datadir}/help/*/evince
%{_datadir}/help/*/evince/* %{_datadir}/help/*/evince/*
%{_mandir}/man1/evince.1* %{_mandir}/man1/evince*.1*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
@ -252,20 +224,12 @@ fi
%{_includedir}/evince/*/*.h %{_includedir}/evince/*/*.h
%{_includedir}/evince/*/libdocument/*.h %{_includedir}/evince/*/libdocument/*.h
%{_includedir}/evince/*/libview/*.h %{_includedir}/evince/*/libview/*.h
%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.a
%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.la
%{_libdir}/evince/4/backends/lib*.a
%{_libdir}/evince/4/backends/lib*.la
%{_libdir}/libevdocument3.so %{_libdir}/libevdocument3.so
%{_libdir}/libevdocument3.a
%{_libdir}/libevdocument3.la
%{_libdir}/libevview3.so %{_libdir}/libevview3.so
%{_libdir}/libevview3.a
%{_libdir}/libevview3.la
%{_libdir}/girepository-1.0/Evince*.typelib %{_libdir}/girepository-1.0/Evince*.typelib
%{_datadir}/gir-1.0/Evince*.gir %{_datadir}/gir-1.0/Evince*.gir
%{_libdir}/pkgconfig/evince-*.pc %{_libdir}/pkgconfig/evince-*.pc
%doc ChangeLog NEWS TODO %doc NEWS TODO
%files apidocs %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
@ -279,6 +243,9 @@ fi
%{_datadir}/gtk-doc/html/libevview-3.0 %{_datadir}/gtk-doc/html/libevview-3.0
%changelog %changelog
* 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 * Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
- automatic version update by autodist - automatic version update by autodist