1 Summary: A hierarchical note taking application
2 Summary(pl.UTF-8): Hierarchiczna aplikacja do robienia notatek
7 Group: X11/Applications
8 Source0: https://www.giuspen.com/software/%{name}_%{version}.tar.xz
9 # Source0-md5: 480f3a4025eed1e55dbad64119f864c2
10 URL: https://www.giuspen.com/cherrytree/
11 BuildRequires: curl-devel
12 BuildRequires: gspell-devel
13 BuildRequires: gtkmm3-devel
14 BuildRequires: gtksourceviewmm3-devel
15 BuildRequires: libfmt-devel
16 BuildRequires: libxml++2-devel
17 BuildRequires: rpmbuild(macros) >= 1.596
18 BuildRequires: shared-mime-info
19 BuildRequires: spdlog-devel >= 1:1.8.1
20 BuildRequires: uchardet-devel
21 BuildRequires: vte-devel
23 Requires: gtksourceviewmm3
26 Requires: shared-mime-info
27 Requires: spdlog >= 1:1.8.1
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 A hierarchical note taking application, featuring rich text and syntax
33 highlighting, storing all the data (including images) in a single xml
34 file with extension ".ctd".
36 %description -l pl.UTF-8
37 Hierarchiczna aplikacja do notatek, wspierająca tekst sformatowany i
38 wyróżnianie składni, przechowująca wszystkie dane (w tym obrazy) w
39 jednym pliku XML z rozszerzeniem „.ctd”.
42 %setup -q -n %{name}_%{version}
48 -DMAKE_BUILD_TYPE=Release \
54 rm -rf $RPM_BUILD_ROOT
55 %{__make} -C build install \
56 DESTDIR=$RPM_BUILD_ROOT
58 ## Remove old mime registration files
59 %{__rm} $RPM_BUILD_ROOT%{_datadir}/mime-info/cherrytree.*
61 ## Remove unsupported locale
62 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hi_IN,kk_KZ,kk_LA}
66 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
69 %{__rm} -rf $RPM_BUILD_ROOT
72 %update_desktop_database
73 %update_icon_cache hicolor
77 %update_desktop_database
78 %update_icon_cache hicolor
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc changelog.txt license.txt
85 %attr(755,root,root) %{_bindir}/cherrytree
86 %{_datadir}/metainfo/net.giuspen.cherrytree.metainfo.xml
87 %{_desktopdir}/cherrytree.desktop
88 %{_datadir}/cherrytree/
89 %{_iconsdir}/hicolor/scalable/apps/cherrytree.svg
90 %{_mandir}/man1/cherrytree.1*