]>
Commit | Line | Data |
---|---|---|
1e6f0590 | 1 | Summary: qbittorrent - Qt4-based torrent client |
dfb55a62 | 2 | Summary(hu.UTF-8): qbittorrent - Qt4-alapĂș torrent kliens |
1e6f0590 | 3 | Summary(pl.UTF-8): qbittorrent - graficzny klient torrenta oparty na Qt4 |
4 | Name: qbittorrent | |
e1c261ec | 5 | Version: 2.2.9 |
0561b342 | 6 | Release: 1 |
11f119c8 | 7 | License: GPL v2+ |
1e6f0590 | 8 | Group: X11/Applications |
51a66704 | 9 | Source0: http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz |
e1c261ec | 10 | # Source0-md5: f855b39ce8edf692f5e575394e441174 |
1e6f0590 | 11 | URL: http://qbittorrent.sourceforge.net/ |
12 | BuildRequires: QtCore-devel | |
13 | BuildRequires: QtGui-devel | |
11f119c8 | 14 | BuildRequires: QtNetwork-devel |
9dc2c907 | 15 | BuildRequires: QtXml-devel |
4a2dbd68 | 16 | BuildRequires: boost-devel >= 1.36.0 |
a33dad94 | 17 | BuildRequires: libtorrent-rasterbar-devel < 1:0.15.0 |
60660486 | 18 | BuildRequires: pkgconfig |
1e6f0590 | 19 | BuildRequires: qt4-build |
20 | BuildRequires: qt4-qmake | |
21 | BuildRequires: rpmbuild(macros) >= 1.129 | |
60660486 | 22 | BuildRequires: which |
a33dad94 | 23 | Requires: libtorrent-rasterbar < 1:0.15.0 |
a0832e35 | 24 | Requires: python >= 1:2.3 |
1e6f0590 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | qTorrent - Qt4-based torrent client. | |
29 | ||
dfb55a62 ZU |
30 | %description -l hu.UTF-8 |
31 | qBittorrent - Qt4-alapĂș torrent kliens | |
32 | ||
1e6f0590 | 33 | %description -l pl.UTF-8 |
34 | qTorrent - graficzny klient torrenta oparty na Qt4. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
1e6f0590 | 38 | |
39 | %build | |
4e50f1e9 | 40 | qmake-qt4 \ |
41 | QMAKE_CXX="%{__cxx}" \ | |
42 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" | |
43 | ||
1e6f0590 | 44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}} | |
a0832e35 | 50 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{128x128/apps,16x16/apps,192x192/apps,22x22/apps,24x24/apps,32x32/apps,36x36/apps,48x48/apps,64x64/apps,72x72/apps,96x96/apps} |
1e6f0590 | 51 | |
52 | install src/qbittorrent $RPM_BUILD_ROOT%{_bindir} | |
53 | install doc/* $RPM_BUILD_ROOT%{_mandir}/man1 | |
54 | install src/Icons/qBittorrent.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
a0832e35 JB |
55 | install src/menuicons/16x16/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps |
56 | install src/menuicons/22x22/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/apps | |
57 | install src/menuicons/24x24/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps | |
58 | install src/menuicons/32x32/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps | |
59 | install src/menuicons/36x36/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/36x36/apps | |
60 | install src/menuicons/48x48/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps | |
61 | install src/menuicons/64x64/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps | |
62 | install src/menuicons/72x72/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/72x72/apps | |
63 | install src/menuicons/96x96/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/96x96/apps | |
64 | install src/menuicons/128x128/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps | |
65 | install src/menuicons/192x192/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/192x192/apps | |
1e6f0590 | 66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS Changelog README | |
73 | %attr(755,root,root) %{_bindir}/%{name} | |
5376a5bb | 74 | %{_mandir}/man1/*.1* |
a0832e35 | 75 | %{_iconsdir}/hicolor/*/apps/* |
1e6f0590 | 76 | %{_desktopdir}/qBittorrent.desktop |