|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
Name: zathura |
|
|
|
|
Version: 0.4.3 |
|
|
|
|
Version: 0.4.5 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: A lightweight document viewer |
|
|
|
|
Group: Applications/Publishing |
|
|
|
@ -22,7 +22,7 @@ BuildRequires: libappstream-glib
@@ -22,7 +22,7 @@ BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: librsvg2-tools |
|
|
|
|
BuildRequires: libseccomp-devel |
|
|
|
|
BuildRequires: meson >= 0.45 |
|
|
|
|
BuildRequires: python3-sphinx |
|
|
|
|
#BuildRequires: python3-sphinx |
|
|
|
|
BuildRequires: sqlite-devel >= 3.5.9 |
|
|
|
|
BuildRequires: texlive-lib-devel |
|
|
|
|
BuildRequires: zsh |
|
|
|
@ -97,9 +97,10 @@ sed "s|'-Werror=implicit-function-declaration',||" -i meson.build
@@ -97,9 +97,10 @@ sed "s|'-Werror=implicit-function-declaration',||" -i meson.build
|
|
|
|
|
sed "s|'-Werror=vla',||" -i meson.build |
|
|
|
|
sed "s|subdir('tests')||" -i meson.build |
|
|
|
|
sed "s|subdir('doc')||" -i meson.build |
|
|
|
|
sed 's|>=1.19|>=1.18|' -i meson.build |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%meson -Dsynctex=enabled -Dsqlite=enabled -Dmagic=enabled -Dseccomp=enabled -Dtests=disabled |
|
|
|
|
%meson -Dsynctex=enabled -Dsqlite=enabled -Dmagic=enabled -Dseccomp=enabled -Dtests=disabled -Dconvert-icon=enabled |
|
|
|
|
%meson_build |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
@ -108,7 +109,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata
@@ -108,7 +109,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop |
|
|
|
|
%find_lang zathura |
|
|
|
|
# Move the zsh-completions to the right location |
|
|
|
|
mkdir %{buildroot}/%{_datadir}/zsh/site-functions |
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/zsh/site-functions |
|
|
|
|
mv %{buildroot}/%{_datadir}/zsh/vendor-completions/_zathura \ |
|
|
|
|
%{buildroot}/%{_datadir}/zsh/site-functions |
|
|
|
|
rmdir %{buildroot}/%{_datadir}/zsh/vendor-completions |
|
|
|
|