Files
OBS/3. LINUX/FEDORA/Установка termius методом.md
2025-03-06 14:02:17 +04:00

29 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
>[!info] копирование репозитория и установка зависимостей.
>1) `git clone https://github.com/Wallvon/termius-rpm`
>2) `cd termius-rpm`
>[!info] Установка зависимостей
> `sudo dnf install -y rpmdevtools rpm-build rpm-devel rpmlint bsdtar`
>[!info] Настройка дерева сборки, загрузка в него deb-файл Termius и сборка пакета
>1) `rpmdev-setuptree`
>2) `spectool -g -R termius-app.spec`
>3) `sudo dnf install libXScrnSaver libappindicator-gtk3`
>4) `sudo dnf install rpm-build dnf-plugins-core`
>5) `sudo dnf builddep termius-app.spec`
>>[!info] Исправление предупреждения о changelog
>> 1)`nano termius-app.spec`
>>>[!bug] Добавьте раздел changelog в конец файла (пример):
```
%changelog
* Wed Sep 11 2024 Your Name <your.email@example.com> - 9.16.0-1
- Initial package build
```
>[!info] Теперь собираем пакет.
>> 6) rpmbuild --target x86_64 -bb termius-app.spec
>[!tip] Теперь, нужно найти наш пакет по пути
>`/home/`name_user`/rpmbuild/RPMS/x86_64
>и установить его.