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: with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }} CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }} PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

View file

@ -1,15 +1,20 @@
Summary: Hierarchical note taking application Summary: Hierarchical note taking application
Name: cherrytree Name: cherrytree
Version: 0.38.5 Version: 0.99.15
Release: 1 Release: 1
License: GPLv3+ License: GPLv3+
Group: Office Group: Office
Url: http://www.giuspen.com/cherrytree/ URL: http://www.giuspen.com/cherrytree/
Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz Source0: https://github.com/giuspen/cherrytree/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
Source1: CherrytreeManual.ctb.tar.xz #Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.xz
Source2: %{name}-0.38.4-%{name}.1 #Source1: CherrytreeManual.ctb.tar.xz
Patch0: %{name}-0.38.4-desktop.patch #Source2: %{name}-0.38.4-%{name}.1
BuildArch: noarch #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: pkgconfig(python)
BuildRequires: gettext BuildRequires: gettext
Requires: python Requires: python
@ -49,11 +54,13 @@ Cherrytree is a hierarchical note taking application. The Main Features:
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%prep %prep
%setup -q -a 1 %setup -q
%patch0 -p1 #-a 1
#patch0 -p1
%build %build
python setup.py build #python setup.py build
%cmake
%install %install
python setup.py install --prefix=%{buildroot}/usr -f python setup.py install --prefix=%{buildroot}/usr -f
@ -65,6 +72,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
# Fix icon file permissions # Fix icon file permissions
chmod 0644 %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg chmod 0644 %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
# Add man in Russian # 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} %find_lang %{name}