1 |
Name: xournalpp |
2 |
Version: 1.1.3 |
3 |
Release: %mkrel 1 |
4 |
Summary: Notetaking software designed around a tablet |
5 |
License: GPL-2.0-or-later |
6 |
Group: Office/Utilities |
7 |
Url: https://github.com/xournalpp/xournalpp |
8 |
Source0: https://github.com/xournalpp/xournalpp/archive/v%{version}/%{name}-%{version}.tar.gz |
9 |
BuildRequires: cmake |
10 |
BuildRequires: texlive |
11 |
BuildRequires: pkgconfig(glib-2.0) |
12 |
BuildRequires: pkgconfig(gthread-2.0) |
13 |
BuildRequires: pkgconfig(gtk+-3.0) |
14 |
BuildRequires: pkgconfig(librsvg-2.0) |
15 |
BuildRequires: pkgconfig(libxml-2.0) |
16 |
BuildRequires: pkgconfig(libzip) |
17 |
BuildRequires: pkgconfig(poppler-glib) |
18 |
BuildRequires: pkgconfig(portaudiocpp) |
19 |
BuildRequires: pkgconfig(sndfile) |
20 |
BuildRequires: pkgconfig(zlib) |
21 |
BuildRequires: gettext |
22 |
|
23 |
%description |
24 |
Xournal++ is a hand note taking software. |
25 |
It supports pen input, e.g. Wacom tablets. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
|
30 |
%build |
31 |
CFLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' |
32 |
CXXFLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' |
33 |
%cmake |
34 |
%cmake_build |
35 |
|
36 |
%install |
37 |
%cmake_install |
38 |
|
39 |
%find_lang xournalpp |
40 |
|
41 |
%files -f xournalpp.lang |
42 |
%license LICENSE |
43 |
%doc AUTHORS README.md |
44 |
%{_bindir}/xournalpp |
45 |
%{_bindir}/xournal-thumbnailer |
46 |
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg |
47 |
%{_datadir}/mime/packages/*.xml |
48 |
%{_datadir}/applications/com.github.xournalpp.xournalpp.desktop |
49 |
%{_datadir}/metainfo/com.github.xournalpp.xournalpp.appdata.xml |
50 |
%dir %{_datadir}/mimelnk |
51 |
%dir %{_datadir}/mimelnk/application |
52 |
%{_datadir}/mimelnk/application/*.desktop |
53 |
%{_datadir}/xournalpp/ |
54 |
%{_datadir}/icons/hicolor/*/apps/* |
55 |
%dir %{_datadir}/thumbnailers |
56 |
%{_datadir}/thumbnailers/*.thumbnailer |
57 |
%{_mandir}/man1/xournalpp*.1* |