File zathura.spec of Package zathura

# spec file for package zathura
# Copyright (c) 2021 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           zathura
Version:        0.4.8
Release:        0
Summary:        A customizable document viewer
License:        Zlib
BuildRequires:  appstream-glib
BuildRequires:  cmake
BuildRequires:  desktop-file-utils
BuildRequires:  file-devel
BuildRequires:  fish
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  python3-Sphinx
BuildRequires:  rsvg-convert
BuildRequires:  zsh
BuildRequires:  pkgconfig(check)
BuildRequires:  pkgconfig(girara-gtk3) >= 0.3.6
BuildRequires:  pkgconfig(libseccomp)
BuildRequires:  pkgconfig(sqlite3)
Recommends:     %{name}-lang
Recommends:     zathura-pdf-poppler-plugin
Suggests:       zathura-cb-plugin
Suggests:       zathura-djvu-plugin
Suggests:       zathura-ps-plugin
%if 0%{?suse_version} >= 1550
BuildRequires:  pkgconfig(synctex) >= 1.19

zathura is a customizable document viewer. It provides a minimalistic
and space-saving interface as well as a keyboard-centric interaction.

%package devel
Summary:        Development files for zathura
Requires:       %{name} = %{version}

%description devel
Development and header files for the zathura package.

%package bash-completion
Summary:        Zathura Bash completion
Requires:       %{name} = %{version}
Requires:       bash-completion
Supplements:    (%{name} and bash)

%description bash-completion
Optional dependency offering bash completion for zathura

%package zsh-completion
Summary:        Zathura zsh completion
Requires:       %{name} = %{version}
Requires:       zsh
Supplements:    (%{name} and zsh)

%description zsh-completion
Optional dependency offering zsh completion for zathura

%package fish-completion
Summary:        Zathura fish completion
Requires:       %{name} = %{version}
Requires:       fish
Supplements:    (%{name} and fish)

%description fish-completion
Optional dependency offering fish completion for zathura


%setup -q

export CFLAGS="%{optflags}"
%if 0%{?suse_version} < 1550
%meson -Dsynctex=disabled


%find_lang %{name} %{?no_lang_C}

%license LICENSE

%files devel
%dir %{_includedir}/%{name}

%files bash-completion

%files zsh-completion

%files fish-completion

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by