Compare commits

...

2 Commits

Author SHA1 Message Date
91577e06d7 upgrade vulkan stuff 2024-10-22 18:29:38 +06:00
a27c3dd521 qbittorrent: 5.0.0 2024-09-30 17:47:09 +06:00
3 changed files with 29 additions and 35 deletions

View File

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

View File

@ -1,5 +1,5 @@
## START: Set by rpmautospec ## START: Set by rpmautospec
## (rpmautospec version 0.6.3) ## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1; release_number = 1;
@ -10,7 +10,7 @@
%global __python %{__python3} %global __python %{__python3}
Name: vulkan-headers Name: vulkan-headers
Version: 1.3.283.0 Version: 1.3.290.0
Release: %autorelease Release: %autorelease
Summary: Vulkan Header files and API registry Summary: Vulkan Header files and API registry
@ -19,7 +19,9 @@ URL: https://github.com/KhronosGroup/Vulkan-Headers
Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Headers-sdk-%{version}.tar.gz Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Headers-sdk-%{version}.tar.gz
BuildRequires: cmake3 BuildRequires: cmake3
BuildRequires: ninja-build
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++
BuildArch: noarch BuildArch: noarch
%description %description
@ -30,7 +32,7 @@ Vulkan Header files and API registry
%build %build
%cmake3 -DCMAKE_INSTALL_LIBDIR=%{_libdir} %cmake3 -DCMAKE_INSTALL_LIBDIR=%{_libdir} -GNinja
%cmake_build %cmake_build
@ -51,6 +53,12 @@ Vulkan Header files and API registry
%changelog %changelog
## START: Generated by rpmautospec ## START: Generated by rpmautospec
* Wed Aug 14 2024 José Expósito <jexposit@redhat.com> - 1.3.290.0-1
- Update to 1.3.290.0 SDK
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.283.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon May 27 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-1 * Mon May 27 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-1
- Update to 1.3.283.0 SDK - Update to 1.3.283.0 SDK

View File

@ -1,15 +1,15 @@
## START: Set by rpmautospec ## START: Set by rpmautospec
## (rpmautospec version 0.6.3) ## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2; release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1); print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
Name: vulkan-loader Name: vulkan-loader
Version: 1.3.283.0 Version: 1.3.290.0
Release: %autorelease Release: %autorelease
Summary: Vulkan ICD desktop loader Summary: Vulkan ICD desktop loader
@ -103,6 +103,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
%changelog %changelog
## START: Generated by rpmautospec ## START: Generated by rpmautospec
* Wed Aug 14 2024 José Expósito <jexposit@redhat.com> - 1.3.290.0-1
- Update to 1.3.290.0 SDK
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.283.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jun 06 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-2 * Thu Jun 06 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-2
- Own %%{_libdir}/cmake/VulkanLoader/ - Own %%{_libdir}/cmake/VulkanLoader/