qbittorrent: 5.0.0
This commit is contained in:
parent
a7fe76222c
commit
a27c3dd521
@ -1,20 +1,10 @@
|
||||
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 8
|
||||
%ifnarch s390x
|
||||
%global _with_qt6 1
|
||||
%global _qtver Qt6
|
||||
%else
|
||||
%global _qtver Qt5
|
||||
%endif
|
||||
%else
|
||||
%global _qtver Qt5
|
||||
%endif
|
||||
# Use old cmake macro
|
||||
%global __cmake_in_source_build 1
|
||||
|
||||
Name: qbittorrent
|
||||
Summary: A Bittorrent Client
|
||||
Epoch: 1
|
||||
Version: 4.6.7
|
||||
Version: 5.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://www.qbittorrent.org
|
||||
@ -31,36 +21,25 @@ BuildRequires: gcc-toolset-13-gcc-c++ gcc-toolset-13-gcc-plugin-annobin
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: systemd
|
||||
%if 0%{?_with_qt6}
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Core) >= 6.5
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
BuildRequires: cmake(Qt6Svg)
|
||||
BuildRequires: cmake(Qt6LinguistTools)
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: qt6-linguist
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
%else
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5Svg)
|
||||
BuildRequires: qt5-linguist
|
||||
%endif
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: rb_libtorrent-devel >= 1.2.12
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: boost1.81-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: pkgconfig(openssl) >= 3.0.2
|
||||
|
||||
Requires: python3
|
||||
%if 0%{?_with_qt6}
|
||||
Recommends: (qgnomeplatform-qt6%{?_isa} if gnome-shell)
|
||||
Recommends: (qgnomeplatform-qt6%{?_isa} if cinnamon)
|
||||
Requires: qt6-qtsvg%{?_isa}
|
||||
%else
|
||||
Recommends: (qgnomeplatform-qt5%{?_isa} if gnome-shell)
|
||||
Recommends: (qgnomeplatform-qt5%{?_isa} if cinnamon)
|
||||
Requires: qt5-qtsvg%{?_isa}
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
A Bittorrent client using rb_libtorrent and a %{_qtver} Graphical User Interface.
|
||||
@ -87,9 +66,7 @@ pushd build-nox
|
||||
-DSYSTEMD=ON \
|
||||
-Wno-dev \
|
||||
-GNinja \
|
||||
%if 0%{?_with_qt6}
|
||||
-DQT6=ON \
|
||||
%endif
|
||||
-DGUI=OFF \
|
||||
..
|
||||
%cmake_build
|
||||
@ -100,9 +77,7 @@ mkdir build
|
||||
pushd build
|
||||
%cmake \
|
||||
-Wno-dev \
|
||||
%if 0%{?_with_qt6}
|
||||
-DQT6=ON \
|
||||
%endif
|
||||
-GNinja \
|
||||
..
|
||||
%cmake_build
|
||||
@ -125,6 +100,8 @@ desktop-file-install \
|
||||
|
||||
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.qbittorrent.qBittorrent.metainfo.xml
|
||||
|
||||
rm -rf %{buildroot}%{_mandir}/ru
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md AUTHORS Changelog
|
||||
@ -143,6 +120,9 @@ desktop-file-install \
|
||||
%{_mandir}/man1/qbittorrent-nox.1*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 30 2024 Raven <raven@sysadmins.ws> - 1:5.0.0-1
|
||||
- Update to 5.0.0
|
||||
|
||||
* Tue Sep 17 2024 Raven <raven@sysadmins.ws> - 1:4.6.7-1
|
||||
- Update to 4.6.7
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user