File xournalpp.spec of Package xournalpp

# spec file for package xournalpp
# Copyright (c) 2019 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:           xournalpp
Version:        1.99.20191007.6fcd7150
Release:        0
Summary:        Notetaking software designed around a tablet
License:        GPL-2.0-or-later
Group:          Productivity/Office/Other
Source0:        %{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM  xournalpp-fix-desktop-categories.patch -- fix inadequate category specification in .desktop file.
Patch0:         xournalpp-fix-desktop-categories.patch
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libsndfile-devel
BuildRequires:  pkgconfig
BuildRequires:  portaudio-devel
BuildRequires:  texlive-latex-bin
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gthread-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(libzip)
BuildRequires:  pkgconfig(poppler-glib)
BuildRequires:  pkgconfig(zlib)
Requires:       texlive-latex-bin

Xournal++ is a hand note taking software.
It supports pen input, e.g. Wacom tablets.


%autosetup -p1


%find_lang xournalpp %{no_lang_C}

find %{buildroot}%{_datadir}/%{name} -name -delete -print

%fdupes %{buildroot}%{_datadir}

%license LICENSE
%dir %{_datadir}/mimelnk
%dir %{_datadir}/mimelnk/application
%dir %{_datadir}/thumbnailers

%files lang -f xournalpp.lang