Name: xournalpp Version: 1.1.3 Release: %mkrel 1 Summary: Notetaking software designed around a tablet License: GPL-2.0-or-later Group: Office/Utilities Url: https://github.com/xournalpp/xournalpp Source0: https://github.com/xournalpp/xournalpp/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: texlive BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libzip) BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(portaudiocpp) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(zlib) BuildRequires: gettext %description Xournal++ is a hand note taking software. It supports pen input, e.g. Wacom tablets. %prep %setup -q %build CFLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' CXXFLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' %cmake %cmake_build %install %cmake_install %find_lang xournalpp %files -f xournalpp.lang %license LICENSE %doc AUTHORS README.md %{_bindir}/xournalpp %{_bindir}/xournal-thumbnailer %{_datadir}/icons/hicolor/scalable/mimetypes/*.svg %{_datadir}/mime/packages/*.xml %{_datadir}/applications/com.github.xournalpp.xournalpp.desktop %{_datadir}/metainfo/com.github.xournalpp.xournalpp.appdata.xml %dir %{_datadir}/mimelnk %dir %{_datadir}/mimelnk/application %{_datadir}/mimelnk/application/*.desktop %{_datadir}/xournalpp/ %{_datadir}/icons/hicolor/*/apps/* %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/*.thumbnailer %{_mandir}/man1/xournalpp*.1*