Files
cherrytree/cherrytree.spec
Malcolm Lewis a711cb842a Accepting request 926962 from home:polslinux:branches:GNOME:Apps
- Update to version 0.99.42:
  * Unified search in nodes name+tags and search in nodes content.
  * Fixed search in multiple nodes with the option first from
    selection/first in all range.
  * Fixed issue with password protected data extraction on windows
    and non ascii paths.
  * Link to node insert/edit dialog, added search for anchor
    name in the tree.
  * Implemented node property to exclude node and/or
    subnodes from search.
  * Applying a colour to foreground/background of text
    to use default gtk3 palette.
  * Added in preferenced dialog, tab theme, possibility
    to choose 2 new icon themes.
  * Added option to hide the status bar.
  * Added configurability of selected node's background/foreground
    colour in the tree.
  * Tree explorer added view option to show lines connecting
    the nodes parent-children.
  * Added syntax highlighting for AutoHotkey.
  * Added in preferences dialog, tab fonts, buttons to reset the
    fonts to default values.
  * At F8/current day node do not visit year/month if already
    existing, only day.
  * Support for portable mode in non-windows os looking for
    config/config.cfg beside cherrytree binary executable.
  * Tree sorting menu items: moved siblings only sorting first
    and after separator sorting whole tree.
  * Added experimantal option menubar_in_titlebar that can be
    activated in config.cfg, but off by default.

OBS-URL: https://build.opensuse.org/request/show/926962
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=158
2021-10-25 14:55:46 +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.42+3
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) >= 1.5
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