SHA256
1
0
forked from pool/cherrytree
cherrytree/cherrytree.spec
Luciano Santos 843d94d4a4 Accepting request 1070198 from home:malcolmlewis:branches:GNOME:Apps
- Update to version 0.99.55:
  + Unit tested code to convert lists to HTML.
  + Fixed list element on more lines conversion into real html,
    (gh#giuspen/cherrytree#1765).
  + Implemented conversion of multi level lists into real html
    unordered and ordered lists, (gh#giuspen/cherrytree#1765).
  + Added support for executing c-sharp code,
    (gh#giuspen/cherrytree#2234).
  + Codebox actions: keyboard shortcuts now configurable in
    preferences dialog and available in toolbar configurability.
  + Added missing dependences to Dockerfile for dev container,
    added ms cpp extension pack, (gh#giuspen/cherrytree#2231).
  + Table actions: keyboard shortcuts now configurable in
    preferences dialog and available in toolbar configurability,
    (gh#giuspen/cherrytree#2124, gh#giuspen/cherrytree#2195 and
    gh#giuspen/cherrytree#2219).
  + Removed leftover line no longer needed after latest commit
    about new pdf page bottom numbering.
  + Fixed issue with latest version of cairo in msys2 and pdf
    pages numbering no longer rendered correctly.
  + Recently added autosave options in file save storage not to be
    shown in case of export.
  + Fixed export to pdf crash, (gh#giuspen/cherrytree#2227).
  + Fixed issue with font family name getting multiplied while
    zooming.
  + Fixed autosave in case the document was never saved before, to
    prompt the user for a storage type/path,
    (gh#giuspen/cherrytree#2225).
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/1070198
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=177
2023-03-09 02:30:50 +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.55
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