File zathura.spec of Package zathura

# spec file for package zathura
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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.3.5
Release:        0
Summary:        A highly customizable document viewer
License:        Zlib
Group:          Productivity/Office/Other
BuildRequires:  file-devel
BuildRequires:  pkgconfig(girara-gtk3) >= 0.2.4
BuildRequires:  pkgconfig(sqlite3)
Requires(post): update-desktop-files
Requires(postun): update-desktop-files
Recommends:     %{name}-lang
Recommends:     zathura-pdf-poppler-plugin
Suggests:       zathura-cb-plugin
Suggests:       zathura-djvu-plugin
Suggests:       zathura-ps-plugin
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

zathura is a highly customizable and functional document viewer. It provides
a minimalistic and space saving interface as well as an easy usage that mainly
focuses on keyboard interaction.

%package devel
Summary:        Development files for zathura
Group:          Development/Libraries/GNOME
Requires:       %{name} == %{version}

%description devel
Development and Header files for package zathura


%setup -q

export CFLAGS="%{optflags}"
export LIBDIR=%{_libdir}
make WITH_SQLITE=1 %{?_smp_mflags} COLOR=0 VERBOSE=1 SFLAGS=""

%make_install LIBDIR=%{_libdir} COLOR=0 SFLAGS=""
%find_lang %{name} %{?no_lang_C}



%dir %{_datadir}/appdata

%files devel
%defattr (-,root,root,-)
%dir %{_includedir}/%{name}

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by