diff --git a/evince.spec b/evince.spec index 713a4db..ac3d58c 100644 --- a/evince.spec +++ b/evince.spec @@ -1,14 +1,14 @@ -%define majver %(echo %version | cut -d. -f 1-2) +%define majver %(echo %version | cut -d. -f 1) Name: evince -Version: 3.36.1 +Version: 40.1 Release: 1mamba Summary: GNOME Document viewer Group: Graphical Desktop/Applications/Publishing Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System -URL: http://www.gnome.org/projects/evince/ -Source: http://ftp.gnome.org/pub/GNOME/sources/evince/%{majver}/evince-%{version}.tar.xz +Packager: Silvan Calarco +URL: https://wiki.gnome.org/Apps +Source: https://download.gnome.org/sources/evince/%{majver}/evince-%{version}.tar.xz # http://bugs.gentoo.org/attachment.cgi?id=148212 #Patch0: poppler-0.8.0.patch Patch1: evince-2.22.0-desktop.patch @@ -18,48 +18,27 @@ BuildRequires: glibc-devel BuildRequires: gnome-desktop-devel BuildRequires: libarchive-devel BuildRequires: libatk-devel -BuildRequires: libblkid-devel -BuildRequires: libbzip2-devel BuildRequires: libcairo-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: libglib-devel -BuildRequires: libgraphite2-devel +BuildRequires: libgspell-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel -BuildRequires: libgtk-devel +BuildRequires: libgtk3-devel BuildRequires: libgxps-devel -BuildRequires: libharfbuzz-devel -BuildRequires: liblzma-devel -BuildRequires: libmount-devel +BuildRequires: libhandy-devel BuildRequires: libnautilus-extension-devel BuildRequires: libpango-devel -BuildRequires: libpcre-devel -BuildRequires: libpng-devel BuildRequires: libpoppler-glib-devel BuildRequires: libsecret-devel -BuildRequires: libselinux-devel -BuildRequires: libsepol-devel BuildRequires: libspectre-devel -BuildRequires: libstdc++6-devel -BuildRequires: libt1-devel BuildRequires: libtexlive-devel -BuildRequires: libthai-devel BuildRequires: libtiff-devel -BuildRequires: libunwind-devel -BuildRequires: libuuid-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRequires: gnome-desktop-devel >= %{majver} +BuildRequires: gnome-desktop-devel BuildRequires: djvulibre BuildRequires: libdevhelp-devel BuildRequires: libnautilus-extension @@ -81,7 +60,6 @@ BuildRequires: libpopt-devel BuildRequires: adwaita-icon-theme-devel Requires: adwaita-icon-theme Requires(post): hicolor-icon-theme -BuildRoot: %{_tmppath}/%{name}-%{version}-root #Configure summary: # GNOME Support......: yes @@ -132,9 +110,9 @@ Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: evince-static -Obsoletes: evince-static +Obsoletes: evince-static < 40.1 Provides: evince-static -Obsoletes: 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. @@ -143,50 +121,44 @@ The goal of evince is to replace the multiple document viewers that exist on the This package package contains headers and static libraries for developing applications that use %{name}. %package apidocs -Group: Documentation -Summary: %{name} Api documentation +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 -#%patch1 -p1 -#sed -i "s|/usr/bin/python|%{__python}|" test/*.py %build -#./autogen.sh -%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 -# --enable-debug \ -# unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl -# unable to parse zh_CN/evince.xml --enable-gtk-doc \ +#% 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 -%make -#% make -C test +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -##GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 -%makeinstall DESTDIR=%{buildroot} -#find %{buildroot} -name "*.la" -delete +%meson_install + %find_lang %{name} %clean @@ -244,7 +216,7 @@ fi %{_datadir}/evince/* %dir %{_datadir}/help/*/evince %{_datadir}/help/*/evince/* -%{_mandir}/man1/evince.1* +%{_mandir}/man1/evince*.1* %doc AUTHORS COPYING %files devel @@ -252,20 +224,12 @@ fi %{_includedir}/evince/*/*.h %{_includedir}/evince/*/libdocument/*.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.a -%{_libdir}/libevdocument3.la %{_libdir}/libevview3.so -%{_libdir}/libevview3.a -%{_libdir}/libevview3.la %{_libdir}/girepository-1.0/Evince*.typelib %{_datadir}/gir-1.0/Evince*.gir %{_libdir}/pkgconfig/evince-*.pc -%doc ChangeLog NEWS TODO +%doc NEWS TODO %files apidocs %defattr(-,root,root) @@ -279,6 +243,9 @@ fi %{_datadir}/gtk-doc/html/libevview-3.0 %changelog +* Fri May 21 2021 Silvan Calarco 40.1-1mamba +- update to 40.1 + * Wed May 20 2020 Automatic Build System 3.36.1-1mamba - automatic version update by autodist