Hello community, here is the log from the commit of package qbittorrent for openSUSE:Factory checked in at 2015-02-24 13:03:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qbittorrent (Old) and /work/SRC/openSUSE:Factory/.qbittorrent.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qbittorrent" Changes: -------- --- /work/SRC/openSUSE:Factory/qbittorrent/qbittorrent.changes 2014-10-29 21:09:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.qbittorrent.new/qbittorrent.changes 2015-02-24 13:07:21.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Feb 23 21:20:55 UTC 2015 - sor.alexei@meowr.ru + +- Update to 3.1.12: + + BUGFIX: Don't use internal libtorrent-rasterbar API. + + BUGFIX: Fix compilation with libtorrent-rasterbar 0.15.x. +- Spec cleanup. + +------------------------------------------------------------------- Old: ---- qbittorrent-3.1.11.tar.xz New: ---- qbittorrent-3.1.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qbittorrent.spec ++++++ --- /var/tmp/diff_new_pack.8dP65P/_old 2015-02-24 13:07:21.000000000 +0100 +++ /var/tmp/diff_new_pack.8dP65P/_new 2015-02-24 13:07:21.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package qbittorrent # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008-2014 Mariusz Fik <fisiu@opensuse.org>. # # All modifications and additions to the file contributed by third parties @@ -17,91 +17,103 @@ # -Name: qbittorrent %define _name qBittorrent -Version: 3.1.11 +Name: qbittorrent +Version: 3.1.12 Release: 0 -Summary: A Bittorrent Client built with C++ / Qt4 +Summary: A BitTorrent client in Qt License: GPL-2.0+ Group: Productivity/Networking/File-Sharing Url: http://qbittorrent.org/ -Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.xz - +Source: https://github.com/%{name}/%{_name}/archive/release-%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: boost-devel >= 1.35 BuildRequires: fdupes +BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files -BuildRequires: xz BuildRequires: pkgconfig(QtCore) >= 4.6 BuildRequires: pkgconfig(QtDBus) >= 4.6 BuildRequires: pkgconfig(QtGui) >= 4.6 BuildRequires: pkgconfig(QtNetwork) >= 4.6 BuildRequires: pkgconfig(QtXml) >= 4.6 -BuildRequires: pkgconfig(libtorrent-rasterbar) >= 0.14.4 +BuildRequires: pkgconfig(libtorrent-rasterbar) >= 0.15.0 # For geolocalization. Requires: GeoIP # For search engines. Requires: python -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -A Bittorrent client using C++ / libtorrent and a Qt4 Graphical User Interface. -It aims to be as fast as possible and to provide multi-OS, unicode support. +qBittorrent is a bittorrent client programmed in C++ / Qt that +uses libtorrent-rasterbar. + +It aims to be a good alternative to all other bittorrent clients +out there. qBittorrent is fast, stable and provides unicode support +as well as many features. %package nox -Summary: A Bittorrent Client built with C++, console version +Summary: A BitTorrent client in Qt, CLI version Group: Productivity/Networking/File-Sharing %description nox -A Bittorrent client using C++ / libtorrent, console version. -It aims to be as fast as possible and to provide multi-OS, unicode support. +qBittorrent is a bittorrent client programmed in C++ / Qt that +uses libtorrent-rasterbar, CLI version. + +It aims to be a good alternative to all other bittorrent clients +out there. qBittorrent is fast, stable and provides unicode support +as well as many features. %prep -%setup -q +%setup -q -n %{_name}-release-%{version} +sed -i 's/\(QMAKE_CXXFLAGS += \)/\1%{optflags} /' unixconf.pri %build -echo -e "\n# openSUSE way optflags\nQMAKE_CFLAGS += %{optflags}\nQMAKE_CXXFLAGS += %{optflags}" >> unixconf.pri +mkdir -p nox gui # Build noX first. -mkdir nox && cd nox +pushd nox ../configure --prefix=%{_prefix} --disable-gui -cp conf.pri ../ +cp -f conf.pri ../ make %{?_smp_mflags} -cd ../ +popd # Build GUI version. -mkdir gui && cd gui +pushd gui ../configure --prefix=%{_prefix} -cp conf.pri ../ +cp -f conf.pri ../ make %{?_smp_mflags} +popd %install -# Install noX version -cd nox && cp conf.pri ../ && cp conf.log ../ && cp Makefile ../ && sed -i '/STRIP/d' src/Makefile -make INSTALL_ROOT=%{buildroot} install -cd ../ - -# Install GUI version. -cd gui && cp conf.pri ../ && cp conf.log ../ && cp Makefile ../ && sed -i '/STRIP/d' src/Makefile -make INSTALL_ROOT=%{buildroot} install +for ui in nox gui; do + pushd $ui + cp -f conf.pri conf.log Makefile ../ + sed -i '/STRIP/d' src/Makefile + make INSTALL_ROOT=%{buildroot} install + popd +done -# Update .desktop file. %suse_update_desktop_file -r %{_name} Network P2P +%fdupes %{buildroot}%{_datadir} -# Duplicate files warning resolving. -%fdupes -s %{buildroot}%{_datadir} +%post +%desktop_database_post +%icon_theme_cache_post + +%postun +%desktop_database_postun +%icon_theme_cache_postun %files %defattr(-,root,root) %doc AUTHORS Changelog COPYING NEWS README.md TODO -%doc %{_mandir}/man1/%{name}.1.gz +%doc %{_mandir}/man?/%{name}.?%{?ext_man} %{_bindir}/%{name} %{_datadir}/applications/%{_name}.desktop -%{_datadir}/icons/hicolor/ +%{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %files nox %defattr(-,root,root) %doc AUTHORS Changelog COPYING NEWS README.md TODO -%doc %{_mandir}/man1/%{name}-nox.1.gz +%doc %{_mandir}/man?/%{name}-nox.?%{?ext_man} %{_bindir}/%{name}-nox %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org