SHA256
1
0
forked from pool/cherrytree
cherrytree/cherrytree.spec
Dominique Leuenberger 7214591001 Accepting request 875551 from home:malcolmlewis:branches:GNOME:Apps
- Update to version 0.99.31+1:
  * Fix for building with ninja/cmake generator for ninja
    (-GNinja).
  * Amsys2 script to prepare standalone folder added user-style.xml
    required for user custom styles(themes).
  * Added few more icons as selectable for custom node icon,
   (gh#giuspen/cherrytree#1514).
  * Preferences dialog menu languages added flags,
    (gh#giuspen/cherrytree#1511)
  * Fixed import from keepnote missing images,
    (gh#giuspen/cherrytree#1516).
  * Added button to reset the two user style schemes to the default
    palettes.
  * Fix cmake install target, (gh#giuspen/cherrytree#1521).
  * Two user style schemes, one with a light default and one with
    a dark default.
  * Reworked pref dialog tab themes to make room for second user
    style scheme.
  * Independent style scheme for plain text and code.
  * Working on user theme editor, (gh#giuspen/cherrytree#1362).
  * Split pref dlg source file for upcoming work on theme editor.
  * Removed default global shortcut Ctrl+Delete to delete tree node
    because overrides text editor standard,
    (gh#giuspen/cherrytree#1513).
  * Insert special symbols chenged from submenu items to dialog,
    (gh#giuspen/cherrytree#1503).
  * Renamed filesystem path methods .string_native() and
    .string_unix().
  * New unit test for export to html.
  * New unit test for export to pdf.
    + unit test for export to txt; unit tests now in 3 binaries
      'run_tests_no_x', 'run_tests_with_x_1', 'run_tests_with_x_2'.
  * Implemented 'format clone' at cursor which can be applied with
    existing 'format latest', (gh#giuspen/cherrytree#600).
  * Translation updates.

OBS-URL: https://build.opensuse.org/request/show/875551
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=146
2021-03-02 14:08:51 +00:00

81 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.31+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: gcc-c++
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