forked from pool/cherrytree
Accepting request 1184318 from home:malcolmlewis:branches:GNOME:Apps
OBS-URL: https://build.opensuse.org/request/show/1184318 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=194
This commit is contained in:
commit
199a66b696
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="disabled" 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">master</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="disabled" 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">a84919afd51e1997ea3f78e1ac4cb81663ee2dd5</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
|
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}")
|
||||
|
2281
cherrytree.changes
Normal file
2281
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.1.4+1
|
||||
mtime: 1719774896
|
||||
commit: a84919afd51e1997ea3f78e1ac4cb81663ee2dd5
|
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.1.4+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: 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}
|
||||
|
||||
%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…
Reference in New Issue
Block a user