68 lines
2.1 KiB
RPMSpec
68 lines
2.1 KiB
RPMSpec
Name: dnfdragora
|
|
Version: 2.1.3
|
|
Release: 1mamba
|
|
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
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python-yui
|
|
BuildRequires: python-manatools-py3
|
|
Requires: python-yui
|
|
Requires: python-manatools-py3
|
|
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.
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build
|
|
%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
|
|
%{_sysconfdir}/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|
%{_bindir}/dnfdragora
|
|
%{_bindir}/dnfdragora-updater
|
|
%dir %{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/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
|
|
|
|
%changelog
|
|
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
|
|
- package created using the webbuild interface
|