]>
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 | |
65dda068 | 5 | Version: 2.5.3 |
2262a28a | 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 |
65dda068 | 10 | # Source0-md5: b6d0fd4fa843b7afef827503fdf76e7d |
b16a677c | 11 | Patch0: lang-hu-2.3.0.patch |
fe2d4e4e | 12 | URL: http://qbittorrent.sourceforge.net/ |
db71b801 | 13 | BuildRequires: GeoIP-devel |
c2627762 | 14 | BuildRequires: QtCore-devel >= 4.4.0 |
15 | BuildRequires: QtDBus-devel >= 4.4.0 | |
16 | BuildRequires: QtGui-devel >= 4.4.0 | |
17 | BuildRequires: QtNetwork-devel >= 4.4.0 | |
18 | BuildRequires: QtXml-devel >= 4.4.0 | |
4a2dbd68 | 19 | BuildRequires: boost-devel >= 1.36.0 |
14a51800 | 20 | BuildRequires: libtorrent-rasterbar-devel > 1:0.15.0 |
60660486 | 21 | BuildRequires: pkgconfig |
c2627762 | 22 | BuildRequires: qt4-build >= 4.4.0 |
23 | BuildRequires: qt4-qmake >= 4.4.0 | |
1e6f0590 | 24 | BuildRequires: rpmbuild(macros) >= 1.129 |
60660486 | 25 | BuildRequires: which |
0ad4a309 | 26 | Requires: libtorrent-rasterbar > 1:0.15.0 |
a0832e35 | 27 | Requires: python >= 1:2.3 |
1e6f0590 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | qTorrent - Qt4-based torrent client. | |
32 | ||
dfb55a62 ZU |
33 | %description -l hu.UTF-8 |
34 | qBittorrent - Qt4-alapĂș torrent kliens | |
35 | ||
1e6f0590 | 36 | %description -l pl.UTF-8 |
37 | qTorrent - graficzny klient torrenta oparty na Qt4. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
b16a677c | 41 | %patch0 -p1 |
1e6f0590 | 42 | |
43 | %build | |
4e50f1e9 | 44 | qmake-qt4 \ |
45 | QMAKE_CXX="%{__cxx}" \ | |
46 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" | |
47 | ||
1e6f0590 | 48 | %{__make} |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}} | |
a0832e35 | 54 | 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 | 55 | |
56 | install src/qbittorrent $RPM_BUILD_ROOT%{_bindir} | |
57 | install doc/* $RPM_BUILD_ROOT%{_mandir}/man1 | |
58 | install src/Icons/qBittorrent.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
a0832e35 JB |
59 | install src/menuicons/16x16/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps |
60 | install src/menuicons/22x22/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/apps | |
61 | install src/menuicons/24x24/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps | |
62 | install src/menuicons/32x32/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps | |
63 | install src/menuicons/36x36/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/36x36/apps | |
64 | install src/menuicons/48x48/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps | |
65 | install src/menuicons/64x64/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps | |
66 | install src/menuicons/72x72/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/72x72/apps | |
67 | install src/menuicons/96x96/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/96x96/apps | |
68 | install src/menuicons/128x128/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps | |
69 | install src/menuicons/192x192/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/192x192/apps | |
1e6f0590 | 70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS Changelog README | |
77 | %attr(755,root,root) %{_bindir}/%{name} | |
5376a5bb | 78 | %{_mandir}/man1/*.1* |
a0832e35 | 79 | %{_iconsdir}/hicolor/*/apps/* |
1e6f0590 | 80 | %{_desktopdir}/qBittorrent.desktop |