]> git.pld-linux.org Git - packages/qbittorrent.git/blame - qbittorrent.spec
- up to 2.9.8
[packages/qbittorrent.git] / qbittorrent.spec
CommitLineData
28db5fe7
ER
1#
2# Conditional build:
6bd615fd 3%bcond_without qsa # build with bundled QtSingleApplication
016e2a07 4
28db5fe7 5%define qtver 4.5
1e6f0590 6Summary: qbittorrent - Qt4-based torrent client
dfb55a62 7Summary(hu.UTF-8): qbittorrent - Qt4-alapú torrent kliens
1e6f0590 8Summary(pl.UTF-8): qbittorrent - graficzny klient torrenta oparty na Qt4
9Name: qbittorrent
f8a7f078
ER
10Version: 2.9.8
11Release: 1
11f119c8 12License: GPL v2+
1e6f0590 13Group: X11/Applications
51a66704 14Source0: http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
f8a7f078 15# Source0-md5: a93065938fadf29a531ba5ea0fd4f204
b16a677c 16Patch0: lang-hu-2.3.0.patch
fe2d4e4e 17URL: http://qbittorrent.sourceforge.net/
db71b801 18BuildRequires: GeoIP-devel
28db5fe7
ER
19BuildRequires: QtCore-devel >= %{qtver}
20BuildRequires: QtDBus-devel >= %{qtver}
21BuildRequires: QtGui-devel >= %{qtver}
22BuildRequires: QtNetwork-devel >= %{qtver}
6bd615fd 23%{?with_qsa:BuildRequires: QtSingleApplication-devel >= 2.6-5}
28db5fe7
ER
24BuildRequires: QtSvg-devel >= %{qtver}
25BuildRequires: QtXml-devel >= %{qtver}
4a2dbd68 26BuildRequires: boost-devel >= 1.36.0
28db5fe7 27BuildRequires: libnotify-devel >= 0.4.2
a46b4730 28BuildRequires: libtorrent-rasterbar-devel >= 1:0.15.9
60660486 29BuildRequires: pkgconfig
28db5fe7
ER
30BuildRequires: qt4-build >= %{qtver}
31BuildRequires: qt4-qmake >= %{qtver}
1e6f0590 32BuildRequires: rpmbuild(macros) >= 1.129
60660486 33BuildRequires: which
016e2a07 34Requires: desktop-file-utils
a46b4730 35Requires: libtorrent-rasterbar >= 1:0.15.9
a0832e35 36Requires: python >= 1:2.3
1e6f0590 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40qTorrent - Qt4-based torrent client.
41
dfb55a62
ZU
42%description -l hu.UTF-8
43qBittorrent - Qt4-alapú torrent kliens
44
1e6f0590 45%description -l pl.UTF-8
46qTorrent - graficzny klient torrenta oparty na Qt4.
47
48%prep
49%setup -q
b16a677c 50%patch0 -p1
1e6f0590 51
28db5fe7
ER
52%if %{with qsa}
53%{__rm} -r src/qtsingleapp
54%endif
55
1e6f0590 56%build
28db5fe7
ER
57# NOTE: not autoconf based configure
58./configure \
59 --prefix=%{_prefix} \
60 %{?with_qsa:--with-qtsingleapplication=system}
4e50f1e9 61
1e6f0590 62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
28db5fe7
ER
66%{__make} install \
67 INSTALL_ROOT=$RPM_BUILD_ROOT
1e6f0590 68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
016e2a07
ER
72%post
73%update_desktop_database
74
1e6f0590 75%files
76%defattr(644,root,root,755)
28db5fe7
ER
77%doc README NEWS AUTHORS TODO Changelog
78%attr(755,root,root) %{_bindir}/qbittorrent
79%{_mandir}/man1/qbittorrent.1*
80%{_iconsdir}/hicolor/*/apps/qbittorrent.png
1e6f0590 81%{_desktopdir}/qBittorrent.desktop
28db5fe7 82%{_pixmapsdir}/qbittorrent.png
This page took 0.107273 seconds and 4 git commands to generate.