From 5e08610b4cc9663fb1b71792e3993331aae85323 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:59:29 +0100 Subject: [PATCH] rebuilt with libtorrent-rasterbar 1.2.10 [release 4.2.5-2mamba;Mon Sep 14 2020] --- qbittorrent.spec | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/qbittorrent.spec b/qbittorrent.spec index 1ab56e6..3eb75c3 100644 --- a/qbittorrent.spec +++ b/qbittorrent.spec @@ -1,6 +1,6 @@ Name: qbittorrent Version: 4.2.5 -Release: 1mamba +Release: 2mamba Summary: Free and reliable P2P Bittorrent client Group: Graphical Desktop/Applications/Networking Vendor: openmamba @@ -15,16 +15,17 @@ Patch2: qbittorrent-3.1.12-libboost-1.57.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libGL-devel BuildRequires: libboost-devel BuildRequires: libgcc BuildRequires: libopenssl-devel BuildRequires: libqt5-devel -BuildRequires: libqtsingleapplication-devel -BuildRequires: libqtsinglecoreapplication-devel BuildRequires: libstdc++6-devel BuildRequires: libtorrent-rasterbar-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libtorrent-rasterbar-devel >= 1.2.10 BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -39,11 +40,10 @@ Group: Applications/Networking %description nox A Headless Bittorrent Client with a feature rich Web UI allowing users to control the clinet remotely. +#% debug_package + %prep %setup -q -#%patch0 -p1 -#%patch1 -p1 -#%patch2 -p1 cp -p %{S:1} doc/README %build @@ -53,10 +53,8 @@ mkdir build-nox build-gui pushd build-nox ../configure \ --prefix=%{_prefix} \ - --disable-gui - -# --with-qtsingleapplication=system -# --qtdir=%{_qt4_prefix} \ + --disable-gui \ + --enable-systemd cp conf.pri .. %make @@ -79,12 +77,16 @@ popd [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" # headless version -mv -f conf.pri.nox conf.pri +cp conf.pri.nox conf.pri make install -C build-nox \ INSTALL_ROOT=%{buildroot} +install -d -m0755 %{buildroot}%{_unitdir} +mv %{buildroot}%{_prefix}%{_unitdir}/qbittorrent-nox@.service \ + %{buildroot}%{_unitdir}/qbittorrent-nox@.service + # gui version -mv -f conf.pri.gui conf.pri +cp conf.pri.gui conf.pri make install -C build-gui \ INSTALL_ROOT=%{buildroot} @@ -107,11 +109,15 @@ make install -C build-gui \ %files nox %defattr(-,root,root,-) %{_bindir}/qbittorrent-nox +%{_unitdir}/qbittorrent-nox@.service %{_mandir}/man1/qbittorrent-nox.1* %doc AUTHORS COPYING #doc/README %changelog +* Mon Sep 14 2020 Silvan Calarco 4.2.5-2mamba +- rebuilt with libtorrent-rasterbar 1.2.10 + * Sat Apr 25 2020 Automatic Build System 4.2.5-1mamba - automatic version update by autodist