Files
cherrytree/cherrytree.spec
Bjørn Lie 081d3e6b82 Accepting request 1062362 from home:malcolmlewis:branches:GNOME:Apps
- Update to version 0.99.54+1:
  * Fixed crash when creating lightweight table,
    (gh#giuspen/cherrytree#2204).
  * Added menu item action to toggle focus between text and
    integrated terminal with default shortcut Ctrl+Shift+T,
    (gh#giuspen/cherrytree#1772).
  * Added search dialog option to override search exclusions,
    (gh#giuspen/cherrytree#2174).
  * Added menu item action to insert today's node under the
    selected node rather than under the tree root,
    (gh#giuspen/cherrytree#40).
  * Implemented option to keep cherrytree always on top, under top
    menu 'view', (gh#giuspen/cherrytree#2145).
  * Number of table cells to use as threshold for light mode made
    configurable (default 25).
  * Integrated terminal shell configurable in preferences dialog.
  * Fixed issue with integrated terminal when using zsh as default
    shell, (gh#giuspen/cherrytree#2199).
  * Lightweight variant of tables support Ctrl+Space to navigate in
    and out.
  * Lightweight variant of tables entering newline in table cell
    with Ctrl+Enter or Alt+Enter.
  * Dialog all matches improved to show also the node tags and the
    pattern searched.
  * Dialog search with regexp, added help button to display
    reference web page.
  * Fixed searching for regexp everything (.*) freeze,
    (gh#giuspen/cherrytree#2190).
  * Fix title not shown on taskbar button in cinnamon when menubar
    in titlebar.
  * Implementing lightweight variant of tables,
    (gh#giuspen/cherrytree#2140).
  * Updated translations.
- Changes from version 0.99.53:
  * Fixed crash when changing terminal font in preferences dialog
    and terminal never shown in the session,
    (gh#giuspen/cherrytree#2177).
  * Fixed issue of growing encrypted document size when configured
    with no backups, (gh#giuspen/cherrytree#2178).
  * Implementing lightweight variant of tables,
    (gh#giuspen/cherrytree#2140).
  * Updated translations.

OBS-URL: https://build.opensuse.org/request/show/1062362
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=175
2023-02-01 15:57:18 +00:00

85 lines
2.7 KiB
RPMSpec

#
# spec file for package cherrytree
#
# Copyright (c) 2023 SUSE LLC
#
# 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: cherrytree
Version: 0.99.54+1
Release: 0
Summary: A hierarchical note taking application
License: GPL-3.0-or-later AND LGPL-2.1-only
Group: Productivity/Office/Other
URL: https://www.giuspen.com/cherrytree/
Source0: %{name}-%{version}.tar.xz
#PATCH-FIX-OPENSUSE cherrytree-set-git-version.patch malcolmlewis@opensuse.org -- Set git version in help about.
Patch0: cherrytree-set-git-version.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: python3-lxml
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(gspell-1)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(gtksourceviewmm-3.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml++-2.6)
BuildRequires: pkgconfig(spdlog) >= 1.5
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vte-2.91)
# For password-protected format
Recommends: p7zip-full
%description
A hierarchical note taking application, featuring rich text and syntax
highlighting, storing all the data (including images) in a single xml
file with extension ".ctd".
%lang_package
%prep
%autosetup -p1
%build
#Disable build tests as this needs cpputest and static development files!
%cmake -DBUILD_TESTING=OFF -DCT_VERSION=%{version}
%cmake_build
%install
%cmake_install
# Remove old mime registration files
rm %{buildroot}%{_datadir}/mime-info/cherrytree.*
%suse_update_desktop_file -G "Hierarchical Notes Utility" cherrytree TextEditor
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
%files
%license license.txt
%doc changelog.txt
%{_bindir}/cherrytree
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/net.giuspen.cherrytree.metainfo.xml
%{_datadir}/applications/cherrytree.desktop
%{_datadir}/cherrytree/
%{_datadir}/icons/hicolor/scalable/apps/cherrytree.svg
%{_mandir}/man1/cherrytree.1%{?ext_man}
%files lang -f %{name}.lang
%changelog