Update to version 1.2.0
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=198
This commit is contained in:
commit
ca78c8499d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="manual" name="obs_scm">
|
||||||
|
<param name="url">https://github.com/giuspen/cherrytree.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="submodules">enable</param>
|
||||||
|
<param name="revision">3b2400115dacfdcebf5487d040db38b3834a32d2</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">cherrytree</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar" />
|
||||||
|
<service mode="buildtime" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="manual" name="set_version" />
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/giuspen/cherrytree.git</param>
|
||||||
|
<param name="changesrevision">3b2400115dacfdcebf5487d040db38b3834a32d2</param></service></servicedata>
|
3
cherrytree-1.1.4+1.obscpio
Normal file
3
cherrytree-1.1.4+1.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:07dbb090e8bb22342b6f45aaa566a33f905e9b44125e8cfe068f4c8cd3d352d1
|
||||||
|
size 83512846
|
3
cherrytree-1.1.4+18.obscpio
Normal file
3
cherrytree-1.1.4+18.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8672375bef6fd83c0e873c7761d64b3771527418d9b4fe150531aad8cae18c18
|
||||||
|
size 83581454
|
3
cherrytree-1.2.0+0.obscpio
Normal file
3
cherrytree-1.2.0+0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9db41bf46efbe66e31008b759a269c27772c4ab3f80c3598356ad2e768f87e54
|
||||||
|
size 83633166
|
12
cherrytree-set-git-version.patch
Normal file
12
cherrytree-set-git-version.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
--- a/CMakeLists.txt 2020-11-21 07:41:58.000000000 -0600
|
||||||
|
+++ b/CMakeLists.txt 2020-11-21 08:27:00.146401506 -0600
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
file(READ "debian/changelog" CHANGELOG)
|
||||||
|
string(REGEX MATCH "cherrytree +\\(([0-9]+)\\.([0-9]+)\\.([0-9]+)[-+]" _ ${CHANGELOG})
|
||||||
|
-set(CT_VERSION ${CMAKE_MATCH_1}.${CMAKE_MATCH_2}.${CMAKE_MATCH_3})
|
||||||
|
+option(CT_VERSION ${CMAKE_MATCH_1}.${CMAKE_MATCH_2}.${CMAKE_MATCH_3})
|
||||||
|
set(CT_VERSION_WINDOWS ${CMAKE_MATCH_1},${CMAKE_MATCH_2},${CMAKE_MATCH_3},0)
|
||||||
|
message(STATUS "CT_VERSION = ${CT_VERSION}")
|
||||||
|
|
2327
cherrytree.changes
Normal file
2327
cherrytree.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
cherrytree.obsinfo
Normal file
4
cherrytree.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: cherrytree
|
||||||
|
version: 1.2.0+0
|
||||||
|
mtime: 1728056969
|
||||||
|
commit: 3b2400115dacfdcebf5487d040db38b3834a32d2
|
87
cherrytree.spec
Normal file
87
cherrytree.spec
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
#
|
||||||
|
# spec file for package cherrytree
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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: 1.2.0+0
|
||||||
|
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(gtksourceview-4)
|
||||||
|
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}
|
||||||
|
|
||||||
|
%check
|
||||||
|
## Empty section added as per rpmlint report
|
||||||
|
|
||||||
|
%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
|
Loading…
x
Reference in New Issue
Block a user