rebuilt with libtorrent-rasterbar 1.2.10 [release 4.2.5-2mamba;Mon Sep 14 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:59:29 +01:00
parent 9e674ff8e7
commit 5e08610b4c

View File

@ -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 <silvan.calarco@mambasoft.it> 4.2.5-2mamba
- rebuilt with libtorrent-rasterbar 1.2.10
* Sat Apr 25 2020 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
- automatic version update by autodist