xournalpp/xournalpp.spec
Ondřej Súkup 23fe753a8b Accepting request 662113 from home:badshah400:Staging
New package: xournalpp - Feature-rich note taking software designed to work with pen input, e.g. on Wacom tablets.

OBS-URL: https://build.opensuse.org/request/show/662113
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xournalpp?expand=0&rev=1
2019-01-04 14:56:48 +00:00

83 lines
2.4 KiB
RPMSpec

#
# spec file for package xournalpp
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#
Name: xournalpp
Version: 1.0.5
Release: 0
Summary: Notetaking software designed around a tablet
License: GPL-2.0-or-later
Group: Productivity/Office/Other
URL: https://github.com/xournalpp/xournalpp
Source0: https://github.com/xournalpp/xournalpp/archive/%{version}.tar.gz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: texlive-latex-bin
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(zlib)
Requires: texlive-latex-bin
Requires(post): desktop-file-utils
Requires(pre): desktop-file-utils
%description
Xournal++ is a hand note taking software with the target of flexibility, functionality and speed. It supports pen input, e.g. Wacom tablets.
%lang_package
%prep
%setup -q
%build
%cmake -DENABLE_MATHTEX=ON
%make_jobs
%install
%cmake_install
%find_lang xournalpp %{no_lang_C}
%fdupes %{buildroot}%{_datadir}
%files
%license LICENSE
%doc AUTHORS README.md
%{_bindir}/mathtex-xournalpp.cgi
%{_bindir}/xournal-thumbnailer
%{_bindir}/xournalpp
%{_datadir}/applications/xournalpp.desktop
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
%{_datadir}/mime/packages/*.xml
%dir %{_datadir}/mimelnk
%dir %{_datadir}/mimelnk/application
%{_datadir}/mimelnk/application/*.desktop
%{_datadir}/xournalpp/
%{_datadir}/icons/hicolor/*/apps/*
%{_bindir}/xopp-recording.sh
%dir %{_datadir}/thumbnailers
%{_datadir}/thumbnailers/*.thumbnailer
%files lang -f xournalpp.lang
%changelog