Group :: Networking/File transfer
RPM: qbittorrent
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: qbittorrent
Version: 1.3.1
Epoch: 1
Release: alt0.M41.1
Summary: qBittorrent is a bittorrent client written in C++ / Qt4 using the good libtorrent library.
Summary(ru_RU.UTF-8): qBittorrent - bittorrent клиент написаный на C++ / Qt4, использующий библиотеку libtorrent.
License: GPL
Group: Networking/File transfer
Url: http://qbittorrent.org
Packager: Alexey Morsov <swi at altlinux.ru>
Source: %name-%version.tar
Source2: %{name}_ru.ts
Source3: %{name}_ru.qm
%define libtorrent_version 2:0.14.1-alt0.M41.2
BuildPreReq: desktop-file-utils
BuildRequires: boost-devel boost-datetime-devel boost-filesystem-devel boost-program-options-devel boost-regex-devel boost-thread-devel asio
BuildRequires: gcc-c++ libcurl-devel libqt4-devel >= 4.3
BuildRequires: libtorrent-rasterbar-devel >= %libtorrent_version
BuildRequires: zziplib-devel libImageMagick-devel
Requires: libtorrent-rasterbar0.14 >= %libtorrent_version
Requires(post,postun): desktop-file-utils
%description
qBittorrent is a bittorrent client written in C++ / Qt4 using the good
libtorrent 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++ / Qt4, использующий библиотеку
libtorrent (Arvid Nordberg). qBittorrent свободное ПО с открытм исходным
кодом, распространяющийся под лицензией GNU GPL. qBittorrent стремиться быть
хорошей альтернативой всем другим bittorrent клиентам.
Автор Christophe Dumez, французский студент в области IT.
%prep
%setup -q
sed -i "s|verticalLayout|vboxLayout|g" src/MainWindow.ui src/GUI.cpp # don't realy understand this
# repocop
sed -i "s|Qt;Application;Network;P2P|Qt;Network;P2P;|g" src/Icons/qBittorrent.desktop
cp -f %SOURCE2 %SOURCE3 src/lang/
%build
%_configure_script --prefix=%buildroot%_usr --qtdir=%_qt4dir
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING INSTALL NEWS README TODO Changelog
%_bindir/*
%_datadir/applications/*
%_man1dir/*
%_datadir/icons/hicolor/*/*/*
%changelog
…
Full changelog you can see here
Version: 1.3.1
Epoch: 1
Release: alt0.M41.1
Summary: qBittorrent is a bittorrent client written in C++ / Qt4 using the good libtorrent library.
Summary(ru_RU.UTF-8): qBittorrent - bittorrent клиент написаный на C++ / Qt4, использующий библиотеку libtorrent.
License: GPL
Group: Networking/File transfer
Url: http://qbittorrent.org
Packager: Alexey Morsov <swi at altlinux.ru>
Source: %name-%version.tar
Source2: %{name}_ru.ts
Source3: %{name}_ru.qm
%define libtorrent_version 2:0.14.1-alt0.M41.2
BuildPreReq: desktop-file-utils
BuildRequires: boost-devel boost-datetime-devel boost-filesystem-devel boost-program-options-devel boost-regex-devel boost-thread-devel asio
BuildRequires: gcc-c++ libcurl-devel libqt4-devel >= 4.3
BuildRequires: libtorrent-rasterbar-devel >= %libtorrent_version
BuildRequires: zziplib-devel libImageMagick-devel
Requires: libtorrent-rasterbar0.14 >= %libtorrent_version
Requires(post,postun): desktop-file-utils
%description
qBittorrent is a bittorrent client written in C++ / Qt4 using the good
libtorrent 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++ / Qt4, использующий библиотеку
libtorrent (Arvid Nordberg). qBittorrent свободное ПО с открытм исходным
кодом, распространяющийся под лицензией GNU GPL. qBittorrent стремиться быть
хорошей альтернативой всем другим bittorrent клиентам.
Автор Christophe Dumez, французский студент в области IT.
%prep
%setup -q
sed -i "s|verticalLayout|vboxLayout|g" src/MainWindow.ui src/GUI.cpp # don't realy understand this
# repocop
sed -i "s|Qt;Application;Network;P2P|Qt;Network;P2P;|g" src/Icons/qBittorrent.desktop
cp -f %SOURCE2 %SOURCE3 src/lang/
%build
%_configure_script --prefix=%buildroot%_usr --qtdir=%_qt4dir
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING INSTALL NEWS README TODO Changelog
%_bindir/*
%_datadir/applications/*
%_man1dir/*
%_datadir/icons/hicolor/*/*/*
%changelog
…
Full changelog you can see here