]>
Commit | Line | Data |
---|---|---|
a48759bf | 1 | # |
db4a43e8 | 2 | %define qtver 4.5.3 |
a48759bf | 3 | |
955666dc | 4 | Summary: Native KDE BitTorrent client |
2b93197c ER |
5 | Summary(de.UTF-8): Ein nativer KDE BitTorrent Klient |
6 | Summary(pl.UTF-8): Natywny klient BitTorrenta dla KDE | |
955666dc | 7 | Name: ktorrent |
0462c496 | 8 | Version: 3.3.1 |
64380939 | 9 | Release: 1 |
955666dc ER |
10 | License: GPL |
11 | Group: Applications/Networking | |
a48759bf | 12 | Source0: http://ktorrent.org/downloads/%{version}/%{name}-%{version}.tar.bz2 |
0462c496 | 13 | # Source0-md5: 6a76e0b3a7ed14966c8096f63fde6e29 |
c15a0088 | 14 | URL: http://ktorrent.org/ |
a48759bf SP |
15 | BuildRequires: Qt3Support-devel >= %{qtver} |
16 | BuildRequires: QtCore-devel >= %{qtver} | |
17 | BuildRequires: QtNetwork-devel >= %{qtver} | |
3fcebe44 | 18 | BuildRequires: QtScript-devel >= %{qtver} |
a48759bf | 19 | BuildRequires: QtSvg-devel >= %{qtver} |
cf07f873 | 20 | BuildRequires: cmake |
c8873b34 | 21 | BuildRequires: gmp-devel |
e2539e33 | 22 | BuildRequires: kde4-kdebase-workspace-devel |
cf07f873 | 23 | BuildRequires: kde4-kdelibs-devel |
a48759bf | 24 | BuildRequires: kde4-kdepimlibs-devel |
cf07f873 | 25 | BuildRequires: qca-devel >= 2.0.0 |
2ee706b1 | 26 | BuildRequires: rpmbuild(macros) >= 1.129 |
cf07f873 | 27 | BuildRequires: strigi-devel >= 0.5.5 |
955666dc ER |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | KTorrent is a BitTorrent program for KDE. | |
32 | ||
33 | Its main features are: | |
34 | - Downloads torrent files | |
35 | - Upload speed capping, seeing that most people can't upload infinite | |
36 | amounts of data. | |
37 | - Internet searching using various search engines, you can even add | |
38 | your own. | |
39 | - UDP Trackers | |
40 | ||
7cd26d96 JR |
41 | %description -l de.UTF-8 |
42 | KTorrent ist ein BitTorrent Klient für KDE. | |
dd998d92 | 43 | |
44 | Hauptfunktionen sind: | |
45 | - Torrent-Dateien Download | |
7cd26d96 JR |
46 | - Begränzung des Uploades, so dass Mehrheit der Leute nicht unerlaubt |
47 | unbegränzte Datenflüsse sendet | |
dd998d92 | 48 | - Durchsuchung des Internets mit hilfe diverser Browser, man kann |
49 | sogar den eigenen Browser dazu schreiben | |
50 | - UDP Trackers | |
51 | ||
7cd26d96 | 52 | %description -l pl.UTF-8 |
daa022df JB |
53 | KTorrent to klient BitTorrenta dla KDE. |
54 | ||
7cd26d96 JR |
55 | Główne cechy to: |
56 | - ściąganie plików torrent | |
4d612c06 SP |
57 | - ograniczanie szybkości uploadu, baczące żeby większość ludzi nie |
58 | przesyłała nieograniczonej ilości danych | |
7cd26d96 JR |
59 | - przeszukiwanie Internetu przy użyciu różnych wyszukiwarek, można |
60 | nawet dodać własną | |
daa022df JB |
61 | - trackery UDP |
62 | ||
cf07f873 | 63 | %package devel |
4d612c06 SP |
64 | Summary: Header files for ktorrent |
65 | Summary(pl.UTF-8): Pliki nagłówkowe ktorrent | |
66 | Group: Development/Libraries | |
cf07f873 | 67 | Requires: %{name} = %{version}-%{release} |
68 | ||
69 | %description devel | |
70 | Header files for ktorrent. | |
71 | ||
72 | %description devel -l pl.UTF-8 | |
4336b52b | 73 | Pliki nagłówkowe ktorrent. |
cf07f873 | 74 | |
955666dc | 75 | %prep |
4184ce2a | 76 | %setup -q |
955666dc ER |
77 | |
78 | %build | |
cf07f873 | 79 | install -d build |
80 | cd build | |
81 | %cmake \ | |
82 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
83 | ../ | |
955666dc ER |
84 | %{__make} |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
cf07f873 | 88 | %{__make} -C build install \ |
955666dc ER |
89 | DESTDIR=$RPM_BUILD_ROOT |
90 | ||
955666dc ER |
91 | %find_lang %{name} --with-kde |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
9f8047d7 MK |
96 | %post -p /sbin/ldconfig |
97 | %postun -p /sbin/ldconfig | |
98 | ||
d5872935 | 99 | %files -f %{name}.lang |
955666dc | 100 | %defattr(644,root,root,755) |
955666dc | 101 | %attr(755,root,root) %{_bindir}/ktorrent |
dd998d92 | 102 | %attr(755,root,root) %{_bindir}/ktupnptest |
cf07f873 | 103 | %attr(755,root,root) %{_libdir}/kde4/ktbwschedulerplugin.so |
104 | %attr(755,root,root) %{_libdir}/kde4/ktinfowidgetplugin.so | |
105 | %attr(755,root,root) %{_libdir}/kde4/ktipfilterplugin.so | |
106 | %attr(755,root,root) %{_libdir}/kde4/ktlogviewerplugin.so | |
107 | %attr(755,root,root) %{_libdir}/kde4/ktscanfolderplugin.so | |
108 | %attr(755,root,root) %{_libdir}/kde4/ktsearchplugin.so | |
109 | %attr(755,root,root) %{_libdir}/kde4/ktstatsplugin.so | |
110 | %attr(755,root,root) %{_libdir}/kde4/ktupnpplugin.so | |
111 | %attr(755,root,root) %{_libdir}/kde4/ktwebinterfaceplugin.so | |
ecc1d5fe | 112 | %attr(755,root,root) %{_libdir}/kde4/ktmediaplayerplugin.so |
4d612c06 | 113 | %attr(755,root,root) %{_libdir}/kde4/ktzeroconfplugin.so |
a48759bf | 114 | %attr(755,root,root) %{_libdir}/kde4/ktdownloadorderplugin.so |
0462c496 | 115 | %attr(755,root,root) %{_libdir}/kde4/ktshutdownplugin.so |
a48759bf SP |
116 | %attr(755,root,root) %{_libdir}/kde4/ktscriptingplugin.so |
117 | %attr(755,root,root) %{_libdir}/kde4/ktsyndicationplugin.so | |
118 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_ktorrent.so | |
e2539e33 | 119 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_ktorrent.so |
64380939 | 120 | %attr(755,root,root) %ghost %{_libdir}/libbtcore.so.?? |
cf07f873 | 121 | %attr(755,root,root) %{_libdir}/libbtcore.so.*.*.* |
0462c496 | 122 | %attr(755,root,root) %ghost %{_libdir}/libktcore.so.?? |
cf07f873 | 123 | %attr(755,root,root) %{_libdir}/libktcore.so.*.*.* |
124 | %attr(755,root,root) %ghost %{_libdir}/libktupnp.so.? | |
125 | %attr(755,root,root) %{_libdir}/libktupnp.so.*.*.* | |
126 | %{_desktopdir}/kde4/ktorrent.desktop | |
127 | %{_datadir}/apps/ktorrent | |
cf07f873 | 128 | %{_datadir}/kde4/services/ktbwschedulerplugin.desktop |
129 | %{_datadir}/kde4/services/ktinfowidgetplugin.desktop | |
130 | %{_datadir}/kde4/services/ktipfilterplugin.desktop | |
131 | %{_datadir}/kde4/services/ktlogviewerplugin.desktop | |
132 | %{_datadir}/kde4/services/ktscanfolderplugin.desktop | |
133 | %{_datadir}/kde4/services/ktsearchplugin.desktop | |
134 | %{_datadir}/kde4/services/ktstatsplugin.desktop | |
135 | %{_datadir}/kde4/services/ktupnpplugin.desktop | |
136 | %{_datadir}/kde4/services/ktwebinterfaceplugin.desktop | |
137 | %{_datadir}/kde4/servicetypes/ktorrentplugin.desktop | |
ecc1d5fe | 138 | %{_datadir}/kde4/services/ktmediaplayerplugin.desktop |
4d612c06 | 139 | %{_datadir}/kde4/services/ktzeroconfplugin.desktop |
a48759bf SP |
140 | %{_datadir}/kde4/services/ktdownloadorderplugin.desktop |
141 | %{_datadir}/kde4/services/ktscriptingplugin.desktop | |
0462c496 | 142 | %{_datadir}/kde4/services/ktshutdownplugin.desktop |
a48759bf SP |
143 | %{_datadir}/kde4/services/ktsyndicationplugin.desktop |
144 | %{_datadir}/kde4/services/plasma-dataengine-ktorrent.desktop | |
e2539e33 | 145 | %{_datadir}/kde4/services/plasma-applet-ktorrent.desktop |
ecc1d5fe RT |
146 | %{_iconsdir}/*/*/actions/kt-*.png |
147 | %{_iconsdir}/*/*/apps/ktorrent.png | |
cf07f873 | 148 | |
149 | %files devel | |
150 | %defattr(644,root,root,755) | |
db4a43e8 | 151 | %{_datadir}/apps/cmake/modules/FindBTCore.cmake |
cf07f873 | 152 | %{_includedir}/libbtcore |
153 | %{_libdir}/libbtcore.so | |
154 | %{_libdir}/libktcore.so | |
155 | %{_libdir}/libktupnp.so |