]> git.pld-linux.org Git - packages/qbittorrent.git/blobdiff - qbittorrent.spec
- up to 2.6.4
[packages/qbittorrent.git] / qbittorrent.spec
index 3ad4bca3b3dd5e9dcf4c063988bad6ad65bc6cc7..ce2db771738585080a168ddab6ea344d33405793 100644 (file)
@@ -2,26 +2,28 @@ Summary:      qbittorrent - Qt4-based torrent client
 Summary(hu.UTF-8):     qbittorrent - Qt4-alapĂș torrent kliens
 Summary(pl.UTF-8):     qbittorrent - graficzny klient torrenta oparty na Qt4
 Name:          qbittorrent
-Version:       1.5.2
+Version:       2.6.4
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
-# Source0-md5: 4b0440513eda51523fdd504274b057da
+Source0:       http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
+# Source0-md5: 159810e3c9c86efa5382b8f8db7b88fa
+Patch0:                lang-hu-2.3.0.patch
 URL:           http://qbittorrent.sourceforge.net/
-BuildRequires: QtCore-devel
-BuildRequires: QtDBus-devel
-BuildRequires: QtGui-devel
-BuildRequires: QtNetwork-devel
-BuildRequires: QtXml-devel
+BuildRequires: GeoIP-devel
+BuildRequires: QtCore-devel >= 4.4.0
+BuildRequires: QtDBus-devel >= 4.4.0
+BuildRequires: QtGui-devel >= 4.4.0
+BuildRequires: QtNetwork-devel >= 4.4.0
+BuildRequires: QtXml-devel >= 4.4.0
 BuildRequires: boost-devel >= 1.36.0
-BuildRequires: curl-devel
-BuildRequires: libtorrent-rasterbar-devel >= 0.14.4
+BuildRequires: libtorrent-rasterbar-devel >= 1:0.15.5
 BuildRequires: pkgconfig
-BuildRequires: qt4-build
-BuildRequires: qt4-qmake
+BuildRequires: qt4-build >= 4.4.0
+BuildRequires: qt4-qmake >= 4.4.0
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: which
+Requires:      libtorrent-rasterbar >= 1:0.15.5
 Requires:      python >= 1:2.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,10 +38,13 @@ qTorrent - graficzny klient torrenta oparty na Qt4.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-./configure \
-       --prefix=%{_prefix}
+qmake-qt4 \
+       QMAKE_CXX="%{__cxx}" \
+       QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
+
 %{__make}
 
 %install
@@ -70,6 +75,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS Changelog README
 %attr(755,root,root) %{_bindir}/%{name}
-%{_mandir}/man1/qbittorrent.*
+%{_mandir}/man1/*.1*
 %{_iconsdir}/hicolor/*/apps/*
 %{_desktopdir}/qBittorrent.desktop
This page took 0.350759 seconds and 4 git commands to generate.