add gui and updater subpackages and add requirements [release 2.1.3-2mamba;Sat Nov 12 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:51:06 +01:00
parent c4f15ada0b
commit 687f9ec0fc
2 changed files with 39 additions and 7 deletions

View File

@ -2,3 +2,4 @@
dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code. dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code.
dnfdragora is written in Python 3 and uses libYui, the widget abstraction library written by SUSE, so that it can be run using Qt 5, GTK+ 3, or ncurses interfaces. dnfdragora is written in Python 3 and uses libYui, the widget abstraction library written by SUSE, so that it can be run using Qt 5, GTK+ 3, or ncurses interfaces.

View File

@ -1,6 +1,6 @@
Name: dnfdragora Name: dnfdragora
Version: 2.1.3 Version: 2.1.3
Release: 1mamba Release: 2mamba
Summary: A dnf frontend based on libyui abstraction Summary: A dnf frontend based on libyui abstraction
Group: System/Management Group: System/Management
Vendor: openmamba Vendor: openmamba
@ -16,12 +16,34 @@ BuildRequires: python-yui
BuildRequires: python-manatools-py3 BuildRequires: python-manatools-py3
Requires: python-yui Requires: python-yui
Requires: python-manatools-py3 Requires: python-manatools-py3
Requires: libyui-mga-ncurses
BuildRequires: cmake BuildRequires: cmake
%description %description
dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code. dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code.
dnfdragora is written in Python 3 and uses libYui, the widget abstraction library written by SUSE, so that it can be run using Qt 5, GTK+ 3, or ncurses interfaces. dnfdragora is written in Python 3 and uses libYui, the widget abstraction library written by SUSE, so that it can be run using Qt 5, GTK+ 3, or ncurses interfaces.
%package gui
Group: Graphical Desktop/Applications/Administration
Summary: GUI for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libyui-mga-qt
%description gui
This package contains the GUI components for %{name}.
%package updater
Group: Graphical Desktop/Applications/Administration
Summary: Update notifier applet for %{name}
Requires: %{name}-gui = %{?epoch:%epoch:}%{version}-%{release}
Requires: python-CairoSVG-py3
Requires: python-pyxdg-py3
Requires: python-Pillow-py3
Requires: python-pystray-py3
%description updater
Update notifier applet for %{name}.
#% debug_package #% debug_package
%prep %prep
@ -43,15 +65,9 @@ dnfdragora is written in Python 3 and uses libYui, the widget abstraction librar
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/dnfdragora/dnfdragora.yaml %{_sysconfdir}/dnfdragora/dnfdragora.yaml
%{_sysconfdir}/xdg/autostart/org.mageia.dnfdragora-updater.desktop
%{_bindir}/dnfdragora %{_bindir}/dnfdragora
%{_bindir}/dnfdragora-updater
%dir %{python3_sitelib}/dnfdragora %dir %{python3_sitelib}/dnfdragora
%{python3_sitelib}/dnfdragora/* %{python3_sitelib}/dnfdragora/*
%{_datadir}/appdata/org.mageia.dnfdragora.appdata.xml
%{_datadir}/applications/org.mageia.dnfdragora-localinstall.desktop
%{_datadir}/applications/org.mageia.dnfdragora-updater.desktop
%{_datadir}/applications/org.mageia.dnfdragora.desktop
%dir %{_datadir}/dnfdragora %dir %{_datadir}/dnfdragora
%dir %{_datadir}/dnfdragora/images %dir %{_datadir}/dnfdragora/images
%{_datadir}/dnfdragora/images/*.png %{_datadir}/dnfdragora/images/*.png
@ -62,6 +78,21 @@ dnfdragora is written in Python 3 and uses libYui, the widget abstraction librar
%{_mandir}/man8/dnfdragora.8* %{_mandir}/man8/dnfdragora.8*
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%files gui
%defattr(-,root,root)
%{_datadir}/appdata/org.mageia.dnfdragora.appdata.xml
%{_datadir}/applications/org.mageia.dnfdragora-localinstall.desktop
%{_datadir}/applications/org.mageia.dnfdragora.desktop
%files updater
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/org.mageia.dnfdragora-updater.desktop
%{_bindir}/dnfdragora-updater
%{_datadir}/applications/org.mageia.dnfdragora-updater.desktop
%changelog %changelog
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba
- add gui and updater subpackages and add requirements
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba * Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
- package created using the webbuild interface - package created using the webbuild interface