3d7f158
# Force out of source build
3d7f158
%undefine __cmake_in_source_build
3d7f158
23d2c2b
Name:		dnfdragora
5ffe7b7
Version:	2.1.5
67d0a6f
Release:	4%{?dist}
23d2c2b
Summary:	DNF package-manager based on libYui abstraction
23d2c2b
23d2c2b
License:	GPLv3+
23d2c2b
URL:		https://github.com/manatools/%{name}
ccf4d34
Source0:	%{url}/archive/%{version}/%{name}-%{version}.tar.gz
ccf4d34
23d2c2b
BuildArch:	noarch
23d2c2b
23d2c2b
BuildRequires:	cmake			>= 3.4.0
23d2c2b
BuildRequires:	desktop-file-utils
23d2c2b
BuildRequires:	gettext
23d2c2b
BuildRequires:	libappstream-glib
23d2c2b
BuildRequires:	pkgconfig
23d2c2b
BuildRequires:	python3-devel		>= 3.4.0
083cc3d
BuildRequires:	python3-dnfdaemon	>= 0.3.20
ecfbd6c
BuildRequires:	python3-manatools	>= 0.0.3
23d2c2b
BuildRequires:	python3-PyYAML
Leigh Scott 7b08cf0
BuildRequires:	python3-setuptools
31e9f79
BuildRequires:	python3-sphinx
23d2c2b
BuildRequires:	python3-yui
ccf4d34
BuildRequires:	python3-pyxdg
ccf4d34
BuildRequires:	python3-cairosvg
ccf4d34
BuildRequires:	python3-pillow
81a00f5
BuildRequires:	python3-pystray		>= 0.16
23d2c2b
23d2c2b
Requires:	dnf			>= 1.0.9
23d2c2b
Requires:	filesystem
86cf7f2
Requires:	comps-extras
23d2c2b
Requires:	hicolor-icon-theme
5a6358a
Requires:	libyui-mga-ncurses
083cc3d
Requires:	python3-dnfdaemon	>= 0.3.20
ecfbd6c
Requires:	python3-manatools	>= 0.0.3
23d2c2b
Requires:	python3-PyYAML
23d2c2b
Requires:	python3-yui		>= 1.1.1-10
23d2c2b
9662bee
Provides:	%{name}-gui		= %{version}-%{release}
ccf4d34
Recommends:	(libyui-mga-qt if qt5-qtbase-gui)
ccf4d34
Recommends:	(libyui-mga-gtk if gtk3)
9662bee
23d2c2b
%description
23d2c2b
%{name} is a DNF frontend, based on rpmdragora from Mageia
23d2c2b
(originally rpmdrake) Perl code.
23d2c2b
23d2c2b
%{name} is written in Python 3 and uses libYui, the widget
23d2c2b
abstraction library written by SUSE, so that it can be run
23d2c2b
using Qt 5, GTK+ 3, or ncurses interfaces.
23d2c2b
23d2c2b
9662bee
%package updater
9662bee
Summary:	Update notifier applet for %{name}
0c0bbe7
0c0bbe7
Requires:	%{name}			== %{version}-%{release}
fa596ba
Requires:	libnotify
ccf4d34
Requires:	python3-pyxdg
ccf4d34
Requires:	python3-cairosvg
fa596ba
Requires:	python3-pillow
81a00f5
Requires:	python3-pystray		>= 0.16
0c0bbe7
32058b6
Obsoletes:	%{name}-gui		< 1.0.1-7
32058b6
9662bee
%description updater
0c0bbe7
%{name} is a DNF frontend, based on rpmdragora from Mageia
0c0bbe7
(originally rpmdrake) Perl code.
0c0bbe7
0c0bbe7
%{name} is written in Python 3 and uses libYui, the widget
0c0bbe7
abstraction library written by SUSE, so that it can be run
0c0bbe7
using Qt 5, GTK+ 3, or ncurses interfaces.
0c0bbe7
9662bee
This package provides the update notifier applet for %{name}.
0c0bbe7
0c0bbe7
23d2c2b
%prep
fd4a941
%autosetup -p 1
23d2c2b
23d2c2b
23d2c2b
%build
ee07ad0
%cmake \
ee07ad0
  -DCHECK_RUNTIME_DEPENDENCIES=ON \
ee07ad0
  -DENABLE_COMPS=ON               \
ee07ad0
  %{nil}
ee07ad0
%cmake_build
23d2c2b
23d2c2b
%install
ee07ad0
%cmake_install
9df4abe
%find_lang %{name}
23d2c2b
23d2c2b
23d2c2b
%check
23d2c2b
# Validate desktop-files.
ee07ad0
desktop-file-validate				\
23d2c2b
	%{buildroot}%{_datadir}/applications/*.desktop
23d2c2b
23d2c2b
# Validate AppData-files.
ee07ad0
appstream-util validate-relax --nonet		\
23d2c2b
	%{buildroot}%{_datadir}/appdata/*.appdata.xml
23d2c2b
23d2c2b
23d2c2b
%files -f %{name}.lang
23d2c2b
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.yaml
23d2c2b
%dir %{_sysconfdir}/%{name}
286e191
%doc README.md %{name}.yaml*.example
fa596ba
%exclude %{python3_sitelib}/%{name}/updater.py
fa596ba
%exclude %{python3_sitelib}/%{name}/__pycache__/updater.cpython*.py?
23d2c2b
%license AUTHORS LICENSE
23d2c2b
%{_bindir}/%{name}
23d2c2b
%{_datadir}/appdata/*%{name}.appdata.xml
fa596ba
%{_datadir}/applications/*%{name}.desktop
fa596ba
%{_datadir}/applications/*%{name}-localinstall.desktop
23d2c2b
%{_datadir}/%{name}
23d2c2b
%{_datadir}/icons/hicolor/*/apps/%{name}*
31e9f79
%{_mandir}/man5/%{name}*.5*
31e9f79
%{_mandir}/man8/%{name}*.8*
fa596ba
%dir %{python3_sitelib}/%{name}
fa596ba
%{python3_sitelib}/%{name}/*
fa596ba
23d2c2b
9662bee
%files updater
fa596ba
%{_bindir}/%{name}-updater
fa596ba
%{_datadir}/applications/*%{name}-updater.desktop
fa596ba
%{_sysconfdir}/xdg/autostart/*%{name}*.desktop
fa596ba
%{python3_sitelib}/%{name}/updater.py
fa596ba
%{python3_sitelib}/%{name}/__pycache__/updater.cpython*.py?
0c0bbe7
23d2c2b
7f0bc98
23d2c2b
%changelog
67d0a6f
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 2.1.5-4
67d0a6f
- Rebuilt for Python 3.13
67d0a6f
d12676b
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-3
d12676b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d12676b
4abc3d2
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-2
4abc3d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4abc3d2
5ffe7b7
* Wed Dec 06 2023 Jonathan Wright <jonathan@almalinux.org> - 2.1.5-1
5ffe7b7
- Update to 2.1.5 rhbz#2251548
5ffe7b7
bd00251
* Wed Aug 30 2023 Neal Gompa <ngompa@fedoraproject.org> - 2.1.4-1
bd00251
- Version 2.1.4
bd00251
Leigh Scott 7b08cf0
* Fri Aug 11 2023 Leigh Scott <leigh123linux@gmail.com> - 2.1.2-7
Leigh Scott 7b08cf0
- Add build requires python3-setuptools
Leigh Scott 7b08cf0
7cece8a
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
7cece8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7cece8a
043d0d9
* Tue Jul 04 2023 Python Maint <python-maint@redhat.com> - 2.1.2-5
043d0d9
- Rebuilt for Python 3.12
043d0d9
a81c939
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
a81c939
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
a81c939
0a95ab9
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
0a95ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0a95ab9
0bc1c8a
* Fri Jun 17 2022 Python Maint <python-maint@redhat.com> - 2.1.2-2
0bc1c8a
- Rebuilt for Python 3.11
0bc1c8a
7f0bc98
* Tue Feb 22 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 2.1.2-1
7f0bc98
- Version 2.1.2
7f0bc98
7a96bc3
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
7a96bc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7a96bc3
0321bfe
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
0321bfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0321bfe
e366347
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.0-4
e366347
- Rebuilt for Python 3.10
e366347
35dc621
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
35dc621
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
35dc621
77e6c04
* Thu Oct 08 2020 Neal Gompa <ngompa13@gmail.com> - 2.1.0-2
77e6c04
- Backport fix from upstream to fix dnfdragora-updater (#1886178)
77e6c04
ecfbd6c
* Mon Oct 05 2020 Neal Gompa <ngompa13@gmail.com> - 2.1.0-1
ecfbd6c
- Update to 2.1.0 (#1876299)
ecfbd6c
86cf7f2
* Tue Aug 25 2020 Neal Gompa <ngompa13@gmail.com> - 2.0.4-2
86cf7f2
- Add missing dep on comps-extras for comps group icons (#1872359)
86cf7f2
286e191
* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 2.0.4-1
286e191
- Update to 2.0.4 (#1823345)
286e191
265f718
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
265f718
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
265f718
dd7f19d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-3
dd7f19d
- Rebuilt for Python 3.9
dd7f19d
6dbb9ac
* Sun Apr 05 2020 Neal Gompa <ngompa13@gmail.com> - 2.0.0-2
6dbb9ac
- Backport fix from upstream for crash on non-existing user prefs config file
6dbb9ac
083cc3d
* Sat Apr 04 2020 Neal Gompa <ngompa13@gmail.com> - 2.0.0-1
083cc3d
- Rebase to 2.0.0 (#1703486)
083cc3d
fd2a50d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
fd2a50d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fd2a50d
3e2536d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-5
3e2536d
- Rebuilt for Python 3.8.0rc1 (#1748018)
3e2536d
5ab9f81
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-4
5ab9f81
- Rebuilt for Python 3.8
5ab9f81
4c4d238
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
4c4d238
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4c4d238
5676155
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
5676155
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5676155
ccf4d34
* Thu Jan 17 2019 Neal Gompa <ngompa13@gmail.com> - 1.1.1-1
ccf4d34
- Rebase to 1.1.1
ccf4d34
- Drop merged patches
ccf4d34
- Add patch to fix metainfo file and drop unused import
ccf4d34
571e803
* Mon Sep 17 2018 Adam Williamson <awilliam@redhat.com> - 1.0.1-13.git20180108.b0e8a66
571e803
- Backport PR#116 for RHBZ#1624652 (dnf callback-related crash)
571e803
8613fc1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12.git20180108.b0e8a66
8613fc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8613fc1
1991f31
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-11.git20180108.b0e8a66
1991f31
- Rebuilt for Python 3.7
1991f31
aeeb1fe
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10.git20180108.b0e8a66
aeeb1fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aeeb1fe
32058b6
* Tue Jan 09 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.1-9.git20180108.b0e8a66
32058b6
- Updated to snapshot fixing rhbz#1510632
32058b6
- Fix rhbz#1531118
32058b6
- Remove the obsolete scriptlets for updating icon-cache
32058b6
d32c693
* Fri Dec 29 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-8.git20171229.24e4647
d32c693
- Add proper Obsoletes
d32c693
9662bee
* Fri Dec 29 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-7.git20171229.24e4647
9662bee
- Updated to snapshot fixing several issues
9662bee
- Rename dnfdragora-gui to dnfdragora-updater
9662bee
- Add Provides for dnfdragora-gui to dnfdragora
9662bee
4f01f03
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6.git20170505.2a3b056
4f01f03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4f01f03
c6f857a
* Thu May 04 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-5.git20170505.2a3b056
c6f857a
- Updated to snapshot adding new translations
c6f857a
174119b
* Thu May 04 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-4.git20170504.c525448
174119b
- Updated to snapshot containing all patches and improvements
174119b
155cdca
* Thu May 04 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-3.git20170503.ca79256
155cdca
- Updated to snapshot adding some stability improvements
155cdca
fa596ba
* Wed May 03 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-2.git20170503.368ee94
fa596ba
- Updated to snapshot adding dnfdragora-updater
fa596ba
a54dec9
* Sat Apr 15 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.1-1
a54dec9
- New upstream release
a54dec9
5a6358a
* Wed Apr 12 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-19.git20170411.3662635
5a6358a
- Updated to new snapshot obsoleting patches
5a6358a
- Fixed dependency on libyui-mga-ncurses
5a6358a
d9010a2
* Tue Apr 11 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-18.git20170411.6098816
d9010a2
- Add fix from anaselli: `RecursionError: maximum recursion depth exceeded`
d9010a2
  (rhbz#1439247, #1436508, #1436451, #1440570, #1440565, #1440174)
d9010a2
c250e3b
* Mon Apr 10 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-17.git20170409.6138805
c250e3b
- Updated to snapshot fixing several translations
c250e3b
- Use rich-dependencies instead of requiring a virtual package
c250e3b
7e6a449
* Mon Apr 10 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-16.git20170407.769c37d
7e6a449
- Adjusted Obsoletes for Yumex-DNF
7e6a449
2dd5a24
* Fri Apr 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-15.git20170407.769c37d
2dd5a24
- Updated to snapshot fixing several translations
2dd5a24
a3eccbd
* Wed Apr 05 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-14.git20170405.cca9412
a3eccbd
- Updated to snapshot fixing rhbz#1436451
a3eccbd
09bb78b
* Wed Apr 05 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-13.git20170404.63fe191
09bb78b
- Updated to snapshot fixing several translations
09bb78b
7444719
* Sun Apr 02 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-12.git20170402.f3ca28b
7444719
- Updated to snapshot with improved icons and some fixed translations
7444719
6a370c0
* Sat Apr 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-11.git20170401.b97db68
6a370c0
- Updated to snapshot fixing some issues with the build-system
6a370c0
31e9f79
* Sat Apr 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-10.git20170401.d018d08
31e9f79
- Updated to snapshot adding manpages and fixing some translations
31e9f79
8dc5e15
* Fri Mar 31 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-9.git20170330.f30c75c
8dc5e15
- Replace and obsolete Yumex-DNF
8dc5e15
  See:  https://pagure.io/fesco/issue/1690#comment-434558
8dc5e15
aab46f5
* Thu Mar 30 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-8.git20170330.f30c75c
aab46f5
- Updated to snapshot fixing a missing comma
e140f14
- Pick up desktop-file for installing local rpms
aab46f5
2816c48
* Thu Mar 30 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-7.git20170330.6f50912
2816c48
- Updated to snapshot fixing new dbus-signal with dnf >= 2.2.0
2816c48
f826fe4
* Tue Mar 28 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-6.git20170325.b8545aa
f826fe4
- Updated to snapshot fixing several translations
f826fe4
0c0bbe7
* Thu Mar 23 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-5.git20170322.798975a
0c0bbe7
- Add gui-subpkg
0c0bbe7
- Prepare obsoletion of Yumex-DNF
0c0bbe7
a39af0f
* Thu Mar 23 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-4.git20170322.798975a
a39af0f
- Updated to snapshot fixing an issue with the ncurses interface
a39af0f
392bf30
* Sun Feb 26 2017 Christian Dersch <lupinix@mailbox.org> - 1.0.0-3.git20170226.ae5163e
392bf30
- updated to snapshot fixing behaviour on start without network
392bf30
0a9a4d8
* Sun Feb 26 2017 Christian Dersch <lupinix@mailbox.org> - 1.0.0-2.git20170226.b0b2c9a
0a9a4d8
- updated to snapshot fixing some minor issues
0a9a4d8
fd4a941
* Sun Feb 19 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.0-1
fd4a941
- New upstream release (rhbz#1424827)
fd4a941
5b34e1d
* Sun Feb 19 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.114.git20170218.58bd424
5b34e1d
- New snapshot
5b34e1d
Igor Gnatenko faafc0e
* Wed Feb 15 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.0.0-0.113.git20170213.289d170
Igor Gnatenko faafc0e
- Rebuild for brp-python-bytecompile
Igor Gnatenko faafc0e
b233518
* Tue Feb 14 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.112.git20170213.289d170
b233518
- New snapshot
b233518
6c0a7bf
* Wed Feb 08 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.111.git20170207.783aede
6c0a7bf
- New snapshot
6c0a7bf
c8bd9fc
* Sun Feb 05 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.110.git20170205.d929620
c8bd9fc
- New snapshot
c8bd9fc
6596ce2
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.109.git20170204.2c34e52
6596ce2
- New snapshot
6596ce2
- Drop patch, upstreamed
6596ce2
- Run CMake with '-Wno-dev'-flag
6596ce2
ff21bc3
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.108.git20170204.f2bb4da
ff21bc3
- Swap date and commit-sha in release-tag
ff21bc3
9df4abe
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.107.gitf2bb4da.20170204
9df4abe
- Add patch to build and install translations with CMake
9df4abe
e0c92ff
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.106.gitf2bb4da.20170204
e0c92ff
- New snapshot
e0c92ff
c1bf2ac
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.105.git708a8a8.20170204
c1bf2ac
- Drop Requires: libyui-mga-ncurses, dnf should be smart enough
c1bf2ac
  to select the MGA-UI with the least deps during installation
c1bf2ac
67c7488
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.104.git708a8a8.20170204
67c7488
- New snapshot
67c7488
e62672d
* Sat Feb 04 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.103.gita3492da.20170204
e62672d
- New snapshot
e62672d
2da27c4
* Fri Feb 03 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.102.git4d872ab.20170202
2da27c4
- New snapshot
2da27c4
aeeb6f7
* Fri Feb 03 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.101.gitcc4e556.20170202
aeeb6f7
- Add Requires: libyui-mga-ncurses for functionality with low dependencies
aeeb6f7
23d2c2b
* Thu Feb 02 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.100.gitcc4e556.20170202
23d2c2b
- Initial import (rhbz#1418788)
23d2c2b
- Bump to 0.100 to superseed builds from COPR
23d2c2b
23d2c2b
* Thu Feb 02 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.0-0.1.gitcc4e556.20170202
23d2c2b
- Initial rpm-release (rhbz#1418788)