2024-01-05 16:59:29 +01:00
|
|
|
Name: qbittorrent
|
2024-01-05 16:59:29 +01:00
|
|
|
Version: 4.2.5
|
2024-01-05 16:59:29 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Free and reliable P2P Bittorrent client
|
|
|
|
Group: Graphical Desktop/Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
|
|
URL: http://qbittorrent.sourceforge.net/
|
|
|
|
Source: http://downloads.sourceforge.net/qbittorrent/qbittorrent-%{version}.tar.gz
|
|
|
|
Source1: qbittorrent-nox.README
|
|
|
|
Patch0: qbittorrent-3.0.9-gcc-4.8.patch
|
|
|
|
Patch1: qbittorrent-3.1.8-libqt4-4.8.5.patch
|
2024-01-05 16:59:29 +01:00
|
|
|
Patch2: qbittorrent-3.1.12-libboost-1.57.patch
|
2024-01-05 16:59:29 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 16:59:29 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-05 16:59:29 +01:00
|
|
|
BuildRequires: libqtsingleapplication-devel
|
|
|
|
BuildRequires: libqtsinglecoreapplication-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtorrent-rasterbar-devel
|
2024-01-05 16:59:29 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 16:59:29 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The qBittorrent project aims to provide a Free Software alternative to µtorrent.
|
|
|
|
qBittorrent is based on Qt4 toolkit and libtorrent-rasterbar.
|
|
|
|
|
|
|
|
%package nox
|
|
|
|
Summary: A Headless Bittorrent Client
|
|
|
|
Group: Applications/Networking
|
|
|
|
|
|
|
|
%description nox
|
|
|
|
A Headless Bittorrent Client with a feature rich Web UI allowing users to control the clinet remotely.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 16:59:29 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2024-01-05 16:59:29 +01:00
|
|
|
cp -p %{S:1} doc/README
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir build-nox build-gui
|
|
|
|
|
|
|
|
# headless version
|
|
|
|
pushd build-nox
|
|
|
|
../configure \
|
|
|
|
--prefix=%{_prefix} \
|
2024-01-05 16:59:29 +01:00
|
|
|
--disable-gui
|
|
|
|
|
|
|
|
# --with-qtsingleapplication=system
|
|
|
|
# --qtdir=%{_qt4_prefix} \
|
2024-01-05 16:59:29 +01:00
|
|
|
|
|
|
|
cp conf.pri ..
|
|
|
|
%make
|
|
|
|
mv -f ../conf.pri ../conf.pri.nox
|
|
|
|
popd
|
|
|
|
|
|
|
|
# gui version
|
|
|
|
pushd build-gui
|
|
|
|
../configure \
|
2024-01-05 16:59:29 +01:00
|
|
|
--prefix=%{_prefix}
|
|
|
|
|
|
|
|
# --with-qtsingleapplication=system
|
2024-01-05 16:59:29 +01:00
|
|
|
|
|
|
|
cp conf.pri ..
|
|
|
|
%make
|
|
|
|
mv -f ../conf.pri ../conf.pri.gui
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
# headless version
|
|
|
|
mv -f conf.pri.nox conf.pri
|
|
|
|
make install -C build-nox \
|
|
|
|
INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
# gui version
|
|
|
|
mv -f conf.pri.gui conf.pri
|
|
|
|
make install -C build-gui \
|
|
|
|
INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/qbittorrent
|
|
|
|
%{_mandir}/man1/qbittorrent.1*
|
2024-01-05 16:59:29 +01:00
|
|
|
%{_datadir}/metainfo/org.qbittorrent.qBittorrent.appdata.xml
|
2024-01-05 16:59:29 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/pixmaps/qbittorrent.png
|
2024-01-05 16:59:29 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/status/qbittorrent-tray.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/status/qbittorrent-tray*.svg
|
2024-01-05 16:59:29 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#NEWS TODO Changelog
|
2024-01-05 16:59:29 +01:00
|
|
|
|
|
|
|
%files nox
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/qbittorrent-nox
|
|
|
|
%{_mandir}/man1/qbittorrent-nox.1*
|
2024-01-05 16:59:29 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#doc/README
|
2024-01-05 16:59:29 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:59:29 +01:00
|
|
|
* Sat Apr 25 2020 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Thu Apr 23 2020 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Sat Apr 04 2020 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Wed Mar 25 2020 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Wed Dec 04 2019 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Sat Nov 02 2019 Automatic Build System <autodist@mambasoft.it> 4.1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Mon Oct 28 2019 Automatic Build System <autodist@mambasoft.it> 4.1.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Fri Sep 27 2019 Automatic Build System <autodist@mambasoft.it> 4.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 4.1.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 4.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Tue Feb 12 2019 Automatic Build System <autodist@mambasoft.it> 4.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Thu Feb 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
|
|
|
|
- update to 3.1.12
|
|
|
|
|
2024-01-05 16:59:29 +01:00
|
|
|
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 3.1.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 3.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 30 2013 Automatic Build System <autodist@mambasoft.it> 3.0.8-2mamba
|
|
|
|
- rebuilt with libtorrent-rasterbar 0.16.7
|
|
|
|
|
|
|
|
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jul 26 2011 Automatic Build System <autodist@mambasoft.it> 2.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 14 2011 Automatic Build System <autodist@mambasoft.it> 2.6.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 2.6.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.6.4-1mamba
|
|
|
|
- package created by autospec
|