forked from pool/cherrytree
- Update to version 0.99.21+git20201121.e0afb5a6: * Fix typos in README, (gh#giuspen/cherrytree#1357) * Fix 7za sources License.txt issue, (gh#giuspen/cherrytree#1356). * Fix unit tests after latest changes for new arg option --new-window. * Adds --new-window option, (gh#giuspen/cherrytree#1355). * Fix issue with clipboard on windows, (gh#giuspen/cherrytree#1336, gh#giuspen/cherrytree#1344 and gh#giuspen/cherrytree#1341). * Suppress error when test a wrong password, (gh#giuspen/cherrytree#1350). * Table will contain right amount of column widths; removes table to xml copy-paste, (gh#giuspen/cherrytree#1349). * Fixes crash in html parser due to <li> without <ul>, (gh#giuspen/cherrytree#1348). * Fix crash when triying to move a table column, (gh#giuspen/cherrytree#1342). * Fix crash when pasting HTML, (gh#giuspen/cherrytree#1346). * Translation updates. - Added cherrytree-set-git-version.patch and rebase since we are pulling from git again. OBS-URL: https://build.opensuse.org/request/show/849863 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=127
78 lines
2.5 KiB
RPMSpec
78 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package cherrytree.spec
|
|
#
|
|
# # Copyright (c) 2020 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: cherrytree
|
|
Version: 0.99.21+git20201121.e0afb5a6
|
|
Release: 0
|
|
Summary: A hierarchical note taking application
|
|
License: GPL-3.0-or-later and LGPL-2.1
|
|
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(gspell-1)
|
|
BuildRequires: pkgconfig(gtkmm-3.0)
|
|
BuildRequires: pkgconfig(gtksourceviewmm-3.0)
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libxml++-2.6)
|
|
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
|