2024-01-05 21:51:06 +01:00
|
|
|
Name: dnfdragora
|
2024-01-11 14:27:31 +01:00
|
|
|
Version: 2.1.6
|
2024-01-14 10:35:38 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 21:51:06 +01:00
|
|
|
Summary: A dnf frontend based on libyui abstraction
|
|
|
|
Group: System/Management
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/manatools/dnfdragora
|
|
|
|
Source: https://github.com/manatools/dnfdragora.git/%{version}/dnfdragora-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-14 10:35:38 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 21:51:06 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: python-yui
|
2024-01-14 10:35:38 +01:00
|
|
|
BuildRequires: python-manatools-py3
|
2024-01-05 21:51:07 +01:00
|
|
|
Requires: dnfdaemon >= 0.3.22-3mamba
|
2024-01-05 21:51:06 +01:00
|
|
|
Requires: python-yui
|
2024-01-14 10:35:38 +01:00
|
|
|
Requires: python-manatools-py3
|
2024-01-05 21:51:06 +01:00
|
|
|
Requires: libyui-mga-ncurses
|
2024-01-05 21:51:06 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
%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}
|
2024-01-14 10:35:38 +01:00
|
|
|
Requires: python-CairoSVG-py3
|
|
|
|
Requires: python-pyxdg-py3
|
|
|
|
Requires: python-Pillow-py3
|
|
|
|
Requires: python-pystray-py3
|
2024-01-05 21:51:06 +01:00
|
|
|
|
|
|
|
%description updater
|
|
|
|
Update notifier applet for %{name}.
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-14 10:35:38 +01:00
|
|
|
#sed -i "s|python3[[:space:]]*$|python3.10|" bin/dnfdragora{,-updater} man/conf.py.in tools/*.py
|
2024-01-05 21:51:06 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:51:07 +01:00
|
|
|
%cmake -d build \
|
2024-01-14 10:35:38 +01:00
|
|
|
-DPYTHON_EXECUTABLE=%{__python3}
|
2024-01-05 21:51:07 +01:00
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/dnfdragora/dnfdragora.yaml
|
|
|
|
%{_bindir}/dnfdragora
|
2024-01-14 10:35:38 +01:00
|
|
|
%dir %{python3_sitelib}/dnfdragora
|
|
|
|
%{python3_sitelib}/dnfdragora/*
|
2024-01-05 21:51:06 +01:00
|
|
|
%dir %{_datadir}/dnfdragora
|
|
|
|
%dir %{_datadir}/dnfdragora/images
|
|
|
|
%{_datadir}/dnfdragora/images/*.png
|
|
|
|
%{_datadir}/dnfdragora/images/*.svg
|
|
|
|
%{_datadir}/dnfdragora/images/*/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/dnfdragora.png
|
|
|
|
%{_mandir}/man5/dnfdragora.yaml.5*
|
|
|
|
%{_mandir}/man8/dnfdragora.8*
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
%changelog
|
2024-01-14 10:35:38 +01:00
|
|
|
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-2mamba
|
|
|
|
- rebuilt with python3 (3.11)
|
|
|
|
|
2024-01-11 14:27:31 +01:00
|
|
|
* Wed Jan 10 2024 Automatic Build System <autodist@openmamba.org> 2.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:51:08 +01:00
|
|
|
* Sat Nov 25 2023 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:51:07 +01:00
|
|
|
* Fri Mar 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-4mamba
|
|
|
|
- fix patching python 3.10 shebangs for bin/dnfdragora
|
|
|
|
|
|
|
|
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-3mamba
|
|
|
|
- fix shebangs and requirements for python 3.10
|
|
|
|
|
|
|
|
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 21:51:07 +01:00
|
|
|
* Mon Jan 16 2023 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-3mamba
|
|
|
|
- require dnfdaemon
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2mamba
|
|
|
|
- add gui and updater subpackages and add requirements
|
|
|
|
|
2024-01-05 21:51:06 +01:00
|
|
|
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
|
|
|
|
- package created using the webbuild interface
|