From 9d78eac39e27f005ade91557c09b173e5d4c911b Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 31 Jan 2025 15:39:41 +0000 Subject: [PATCH] Add .gitignore and .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 1 + cherrytree.spec | 29 ++++++++++++++++++----------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d5b8b48..dd7cf08 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,4 +13,5 @@ jobs: with: CI_DEPLOY: ${{ secrets.CI_DEPLOY }} PUBLICATOR: ${{ secrets.PUBLICATOR }} + REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }} diff --git a/cherrytree.spec b/cherrytree.spec index ddecc08..ee95336 100644 --- a/cherrytree.spec +++ b/cherrytree.spec @@ -1,15 +1,20 @@ Summary: Hierarchical note taking application Name: cherrytree -Version: 0.38.5 +Version: 0.99.15 Release: 1 License: GPLv3+ Group: Office -Url: http://www.giuspen.com/cherrytree/ -Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz -Source1: CherrytreeManual.ctb.tar.xz -Source2: %{name}-0.38.4-%{name}.1 -Patch0: %{name}-0.38.4-desktop.patch -BuildArch: noarch +URL: http://www.giuspen.com/cherrytree/ +Source0: https://github.com/giuspen/cherrytree/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz +#Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz +#Source1: CherrytreeManual.ctb.tar.xz +#Source2: %{name}-0.38.4-%{name}.1 +#Patch0: %{name}-0.38.4-desktop.patch +#BuildArch: noarch +BuildRequires: cmake +BuildRequires: pkgconfig(gtkmm-3.0) +BuildRequires: pkgconfig(gtksourceviewmm-3.0) +BuildRequires: pkgconfig(glibmm-2.4) >= 2.64 BuildRequires: pkgconfig(python) BuildRequires: gettext Requires: python @@ -49,11 +54,13 @@ Cherrytree is a hierarchical note taking application. The Main Features: #---------------------------------------------------------------------------- %prep -%setup -q -a 1 -%patch0 -p1 +%setup -q +#-a 1 +#patch0 -p1 %build -python setup.py build +#python setup.py build +%cmake %install python setup.py install --prefix=%{buildroot}/usr -f @@ -65,6 +72,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop # Fix icon file permissions chmod 0644 %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg # Add man in Russian -install -D %SOURCE2 %{buildroot}%{_mandir}/ru/man1/%{name}.1 +#install -D %SOURCE2 %{buildroot}%{_mandir}/ru/man1/%{name}.1 %find_lang %{name}