Files
cherrytree/cherrytree.spec
Dominique Leuenberger 5d095414fd Accepting request 894821 from home:malcolmlewis:branches:GNOME:Apps
- Update to version 0.99.37:
  * Fix crashing Glib::convert_with_fallback(),
    (gh#giuspen/cherrytree#1593).
  * Fix after undo, redo jumps to the top of the document,
    (gh#giuspen/cherrytree#1151).
  * Assigned keyboard shortcut to move table columns Left/Right:
    Ctrl+{ and Ctrl+}.
  * Assigned keyboard shortcut to move table rows Up/Down: Ctrl+[
    and Ctrl+], (gh#giuspen/cherrytree#1626).
  * Ctrl+Arrows in tables disconnected from cells navigation,
    Ctrl+( and Ctrl+) to navigate Up/Down; Tab and Shift+Tab for
    navigate Right/Left, (gh#giuspen/cherrytree#194).
  * Help--Open Preferences Directory moved under File--Preferences.
  * Fix content in the table can be modified while the node is read
    only, (gh#giuspen/cherrytree#1674).
  * Preferences file export complete.
  * Adding preferences file import/export.
  * ct_menu_actions.cc just splitted too long lines.
  * Added dialog listing all available symbols auto replacements,
    (gh#giuspen/cherrytree#1659).
  * Preserve print page setup settings,
    (gh#giuspen/cherrytree#1664).
  * Fix URL detection doesn't recognize TAB as a delimiter,
    (gh#giuspen/cherrytree#1654).
  * Added configurable option to show the full path in the node
    name header, (gh#giuspen/cherrytree#1399).
  * Preferences dialog language selection explicit label
    'System Default' in place of '-'.
  * Fixed import of text files with extension not .txt on linux,
    (gh#giuspen/cherrytree#1656).
  * Reinstating Gtk::FileFilter::add_mime_type for importing text
    files, (gh#giuspen/cherrytree#1656).
  * Configurability of log enable/disable + directory in
    preferences dialog, tab miscellaneous,
    (gh#giuspen/cherrytree#1614).
  * Preferences dialog, custom backup directory simplified using
    Gtk::FileChooserButton.
  * Configurability of log enable/disable + directory,
    (gh#giuspen/cherrytree#1614).
  * Spell check enabled also for plain text,
    (gh#giuspen/cherrytree#1651).
  * Fix [gtk] [critical] gtk_widget_set_visible: assertion
    'GTK_IS_WIDGET (widget)' failed after,
    (gh#giuspen/cherrytree#1643).
  * Move config.cfg.tmp to config.cfg if not shutting down,
    (gh#giuspen/cherrytree#1614).
  * Added added configurable option to have bookmarks under
    dedicated menu in top menu bar, (gh#giuspen/cherrytree#1643).
  * New configurable scalable tags allow partial
    bold/italic/underline when not on by default,
    (gh#giuspen/cherrytree#1633).
  * Fix SHIFT+ENTER Able to Modify Locked Notes with Lists,
    (gh#giuspen/cherrytree#1640).
  * Translation updates.
- Changes from version 0.99.36:
  * Fix segfault on startup when configured to start on systray,
    (gh#giuspen/cherrytree#1610).
  * Translation updates.

OBS-URL: https://build.opensuse.org/request/show/894821
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=154
2021-05-28 12:08:38 +00:00

82 lines
2.6 KiB
RPMSpec

#
# spec file for package cherrytree
#
# Copyright (c) 2021 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.37
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: 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)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(uchardet)
# 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}
%files
%license license.txt
%doc changelog.txt
%{_bindir}/cherrytree
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/com.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