Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 1m36s

This commit is contained in:
Your Name 2025-01-31 15:39:41 +00:00
parent dad47ff4d0
commit 9d78eac39e
2 changed files with 19 additions and 11 deletions

View file

@ -13,4 +13,5 @@ jobs:
with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

View file

@ -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}