Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37494222
en ru br
Репозитории ALT
S:4.5.5-alt1
5.1: 1.6.0-alt0.1.svn2636
4.1: 1.3.1-alt0.M41.1
4.0: 1.0.0-alt1.rc11.M40.1
www.altlinux.org/Changes

Группа :: Сети/Передача файлов
Пакет: qbittorrent

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ltr libtorrent-rasterbar-devel
%define rel alt1

Name: qbittorrent
Version: 4.5.3
Epoch: 1
Release: %rel

#ExcludeArch: ppc64le


Summary: qBittorrent is a bittorrent client written in C++ / Qt5 using the good libtorrent library
Summary(ru_RU.UTF-8): qBittorrent - bittorrent п╨п╩п╦п╣п╫я┌ п╫п╟п©п╦я│п╟п╫п╫я▀п╧ п╫п╟ C++ / Qt5, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ libtorrent.
Summary(uk_UA.UTF-8): qBittorrent - bittorrent-п╨п╩я√я■п╫я┌, п╫п╟п©п╦я│п╟п╫п╦п╧ п╫п╟ C++ / Qt5, п╡п╦п╨п╬я─п╦я│я┌п╬п╡я┐я■ п╠я√п╠п╩я√п╬я┌п╣п╨я┐ libtorrent.
License: GPLv2+
Group: Networking/File transfer
Url: http://qbittorrent.org

Source: %name-%version.tar.gz

BuildPreReq: desktop-file-utils

BuildRequires: boost-devel boost-filesystem boost-filesystem-devel boost-datetime boost-program-options-devel boost-asio-devel
BuildRequires: gcc-c++ qt5-base-devel qt5-tools qt5-svg-devel
BuildRequires: GeoIP-Lite-Country
BuildRequires: libnotify-devel
BuildRequires: zlib-devel

%if "%rel" == "alt0.M80P"
%define ltr libtorrent-rasterbar9-devel
%endif
BuildRequires: %ltr

Requires: python-modules-ctypes
Requires: GeoIP-Lite-Country

%description
qBittorrent is a bittorrent client written in C++ / Qt5 using the good
libtorrent-rasterbar library (By Arvid Nordberg). qBittorrent is
free / open-source software released under the GNU GPL license.
qBittorrent aims to be a good alternative to all other bittorrent
clients. The Author is Christophe Dumez, French Student in
computer science (IT).

%description -l ru_RU.UTF8
qBittorrent - п╨п╩п╦п╣п╫я┌ bittorrent п╫п╟п©п╦я│п╟п╫п╫я▀п╧ п╫п╟ C++ / Qt5, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧
п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ libtorrent-rasterbar (Arvid Nordberg). qBittorrent я│п╡п╬п╠п╬п╢п╫п╬п╣
п÷п· я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪, я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐я▌я┴п╦п╧я│я▐ п©п╬п╢ п╩п╦я├п╣п╫п╥п╦п╣п╧ GNU GPL.
qBittorrent я│я┌я─п╣п╪п╦я┌я│я▐ п╠я▀я┌я▄ я┘п╬я─п╬я┬п╣п╧ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╬п╧ п╡я│п╣п╪ п╢я─я┐пЁп╦п╪ bittorrent
п╨п╩п╦п╣п╫я┌п╟п╪. п░п╡я┌п╬я─ Christophe Dumez, я└я─п╟п╫я├я┐п╥я│п╨п╦п╧ я│я┌я┐п╢п╣п╫я┌ п╡ п╬п╠п╩п╟я│я┌п╦ IT.

%description -l uk_UA.UTF8
qBittorrent - п╨п╩я√я■п╫я┌ bittorrent, п╫п╟п©п╦я│п╟п╫п╦п╧ п╫п╟ C++ / Qt5, п╡п╦п╨п╬я─п╦я│я┌п╬п╡я┐я■
п╠я√п╠п╩я√п╬я┌п╣п╨я┐ libtorrent-rasterbar (Arvid Nordberg). qBittorrent я■ п╡я√п╩я▄п╫п╣
п÷п≈ п╥ п╡я√п╢п╨я─п╦я┌п╦п╪ п╡п╦я┘я√п╢п╫п╦п╪ п╨п╬п╢п╬п╪, я─п╬п╥п©п╬п╡я│я▌п╢п╤я┐я■я┌я▄я│я▐ п©я√п╢ п╩я√я├п╣п╫п╥я√я■я▌ GNU GPL.
qBittorrent п©я─п╟пЁп╫п╣ п╠я┐я┌п╦ я┘п╬я─п╬я┬п╬я▌ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╬я▌ п╡я│я√п╪ я√п╫я┬п╦п╪ bittorrent
п╨п╩я√я■п╫я┌п╟п╪. п░п╡я┌п╬я─ Christophe Dumez, я└я─п╟п╫я├я┐п╥я▄я│я▄п╨п╦п╧ я│я┌я┐п╢п╣п╫я┌ п╡ п╬п╠п╩п╟я│я┌я√ IT.

%package nox
Summary: qbittorrent version without GUI (WebUI version)
Group: Networking/File transfer

%description nox
WebUI version of qbittorrent.

Default is to listen on tcp/8080 with admin/adminadmin credentials

%description -l ru_RU.UTF8 nox
п▓п╣п╠-п╦п╫я┌п╣я─я└п╣п╧я│ п╢п╩я▐ qbittorrent

п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╬я┌п╨я─я▀п╡п╟п╣я┌я│я▐ п©п╬я─я┌ 8080 я│ п╩п╬пЁп╦п╫п╬п╪/п©п╟я─п╬п╩п╣п╪ admin/adminadmin

%description -l uk_UA.UTF8 nox
п▓п╣п╠-я√п╫я┌п╣я─я└п╣п╧я│ п╢п╩я▐ qbittorrent

п≈п╟ п╥п╟п╪п╬п╡я┤п╟п╫п╫я▐п╪ п╢п╬я│я┌я┐п©п╫п╦п╧ п╫п╟ п©п╬я─я┌я┐ 8080 п╥ п╩п╬пЁя√п╫п╬п╪/п©п╟я─п╬п╩п╣п╪ admin/adminadmin

%prep
%setup -q
#-n qBittorrent-release-%version

%ifarch %e2k
sed -i "1i #include <cstdlib>\nnamespace std { using ::aligned_alloc; }" \
src/{base/{bittorrent,rss},app,gui{,/properties,/rss,/search},webui/api}/*.cpp \
src/base/{tagset,bittorrent/{filterparserthread,session}}.h \
src/gui/{addnewtorrentdialog,properties/peersadditiondialog}.h
sed -i -E '/inline namespace/h;/^ *Q_ENUM_NS\(/{G;s/Q_ENUM_NS/&2/;s/\)\n.*inline namespace/,/;s/$/)/};/#include <QMeta(Type|Enum)>/a #define Q_ENUM_NS2(ENUM,NAME) Q_ENUMS(ENUM) inline Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &NAME::staticMetaObject; } inline Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; }' \
src/base/bittorrent/*.h
%endif

%build
%ifarch %e2k
%add_optflags -std=c++14
%endif

%ifarch %e2k ppc64le riscv64
sed -i 's,aarch64,&|riscv64|ppc64le|e2k,' m4/ax_boost_base.m4
%endif
./bootstrap.sh
%_configure_script --prefix=%buildroot%_usr
%make_build

%install
%make_install DESTDIR=%buildroot install
install -Dp -m 0644 ./dist/unix/org.qbittorrent.qBittorrent.desktop %buildroot%_desktopdir/org.qbittorrent.qBittorrent.desktop
make clean
%_configure_script --prefix=%buildroot%_usr --disable-gui
%make_build
%make_install DESTDIR=%buildroot install

%files nox
%_bindir/%name-nox
%_man1dir/%name-nox.*

%files
%doc AUTHORS COPYING INSTALL README.* Changelog
%_bindir/%name
%_desktopdir/*
%_man1dir/%name.*
%_datadir/icons/hicolor/*/*/*
%_datadir/metainfo/*.xml

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin