2019-01-04 15:56:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package xournalpp
|
|
|
|
#
|
2021-02-17 10:34:45 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2019-01-04 15:56:48 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-12-19 16:50:00 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-01-04 15:56:48 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xournalpp
|
2021-08-05 08:56:05 +02:00
|
|
|
Version: 1.1.0
|
2019-01-04 15:56:48 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Notetaking software designed around a tablet
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: Productivity/Office/Other
|
2020-02-19 09:59:48 +01:00
|
|
|
URL: https://github.com/xournalpp/xournalpp
|
2019-06-16 17:15:01 +02:00
|
|
|
Source0: https://github.com/xournalpp/xournalpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2019-01-04 15:56:48 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: texlive-latex-bin
|
2021-08-05 08:56:05 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2019-01-04 15:56:48 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2021-08-05 08:56:05 +02:00
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
2019-01-04 15:56:48 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2019-04-18 01:51:00 +02:00
|
|
|
BuildRequires: pkgconfig(libzip)
|
2021-08-05 08:56:05 +02:00
|
|
|
BuildRequires: pkgconfig(lua)
|
2019-02-23 14:23:22 +01:00
|
|
|
BuildRequires: pkgconfig(poppler-glib)
|
|
|
|
BuildRequires: pkgconfig(portaudiocpp)
|
|
|
|
BuildRequires: pkgconfig(sndfile)
|
2019-01-04 15:56:48 +01:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2020-07-17 09:20:54 +02:00
|
|
|
Recommends: tex(standalone.tex)
|
2021-08-05 08:56:05 +02:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
BuildRequires: gcc9-c++
|
|
|
|
%else
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
%endif
|
2019-01-04 15:56:48 +01:00
|
|
|
|
|
|
|
%description
|
2019-01-25 10:51:00 +01:00
|
|
|
Xournal++ is a hand note taking software.
|
|
|
|
It supports pen input, e.g. Wacom tablets.
|
2019-01-04 15:56:48 +01:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2021-08-05 08:56:05 +02:00
|
|
|
%autosetup -p1
|
2019-01-04 15:56:48 +01:00
|
|
|
|
|
|
|
%build
|
2021-08-05 08:56:05 +02:00
|
|
|
%cmake -DENABLE_MATHTEX=ON \
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
-DCMAKE_CXX_COMPILER="%{_bindir}/g++-9" \
|
|
|
|
%endif
|
|
|
|
%{nil}
|
|
|
|
%cmake_build
|
2019-01-04 15:56:48 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%find_lang xournalpp %{no_lang_C}
|
|
|
|
|
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS README.md
|
2021-08-05 08:56:05 +02:00
|
|
|
%{_bindir}/xournalpp-thumbnailer
|
2019-01-04 15:56:48 +01:00
|
|
|
%{_bindir}/xournalpp
|
2021-08-05 08:56:05 +02:00
|
|
|
%{_datadir}/applications/*.desktop
|
2019-01-04 15:56:48 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
2021-08-05 08:56:05 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
2019-12-19 16:50:00 +01:00
|
|
|
%{_datadir}/metainfo/*.appdata.xml
|
2021-08-05 08:56:05 +02:00
|
|
|
%{_datadir}/mime/packages/*.xml
|
2019-01-04 15:56:48 +01:00
|
|
|
%dir %{_datadir}/mimelnk
|
|
|
|
%dir %{_datadir}/mimelnk/application
|
|
|
|
%{_datadir}/mimelnk/application/*.desktop
|
|
|
|
%dir %{_datadir}/thumbnailers
|
|
|
|
%{_datadir}/thumbnailers/*.thumbnailer
|
2021-08-05 08:56:05 +02:00
|
|
|
%{_datadir}/xournalpp/
|
2019-01-04 15:56:48 +01:00
|
|
|
|
|
|
|
%files lang -f xournalpp.lang
|
|
|
|
|
|
|
|
%changelog
|