]>
Commit | Line | Data |
---|---|---|
d3ff5944 | 1 | %define kdeappsver 21.04.3 |
c43b4f3b WF |
2 | %define kframever 5.82.0 |
3 | %define qtver 5.15.2 | |
4 | %define kaname ktorrent | |
5 | Summary: Native KDE BitTorrent client | |
6 | Summary(de.UTF-8): Ein nativer KDE BitTorrent Klient | |
7 | Summary(pl.UTF-8): Natywny klient BitTorrenta dla KDE | |
8 | Name: ka5-%{kaname} | |
d3ff5944 WF |
9 | Version: 21.04.3 |
10 | Release: 1 | |
c43b4f3b WF |
11 | License: GPL v2+/LGPL v2.1+ |
12 | Group: X11/Libraries | |
13 | Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
d3ff5944 | 14 | # Source0-md5: f0f182cbaf3636c2c4507c078e16ce89 |
c43b4f3b WF |
15 | URL: http://www.kde.org/ |
16 | BuildRequires: Qt5Core-devel >= %{qtver} | |
17 | BuildRequires: Qt5DBus-devel >= %{qtver} | |
18 | BuildRequires: Qt5Gui-devel >= %{qtver} | |
19 | BuildRequires: Qt5Network >= %{qtver} | |
20 | BuildRequires: Qt5Positioning-devel >= %{qtver} | |
21 | BuildRequires: Qt5PrintSupport-devel >= %{qtver} | |
22 | BuildRequires: Qt5Qml-devel >= %{qtver} | |
23 | BuildRequires: Qt5Quick-devel >= %{qtver} | |
24 | BuildRequires: Qt5Test-devel >= %{qtver} | |
25 | BuildRequires: Qt5WebChannel-devel >= %{qtver} | |
26 | BuildRequires: Qt5WebEngine-devel >= %{qtver} | |
27 | BuildRequires: Qt5Widgets-devel | |
28 | BuildRequires: boost-devel | |
29 | BuildRequires: gettext-devel | |
30 | BuildRequires: ka5-libktorrent-devel >= 21.04.1 | |
31 | BuildRequires: kf5-extra-cmake-modules >= %{kframever} | |
32 | BuildRequires: kf5-karchive-devel >= %{kframever} | |
33 | BuildRequires: kf5-kauth-devel >= %{kframever} | |
34 | BuildRequires: kf5-kcmutils-devel >= %{kframever} | |
35 | BuildRequires: kf5-kcodecs-devel >= %{kframever} | |
36 | BuildRequires: kf5-kcompletion-devel >= %{kframever} | |
37 | BuildRequires: kf5-kconfig-devel >= %{kframever} | |
38 | BuildRequires: kf5-kconfigwidgets-devel >= %{kframever} | |
39 | BuildRequires: kf5-kcoreaddons-devel >= %{kframever} | |
40 | BuildRequires: kf5-kcrash-devel >= %{kframever} | |
41 | BuildRequires: kf5-kdbusaddons-devel >= %{kframever} | |
42 | BuildRequires: kf5-kdnssd-devel >= %{kframever} | |
43 | BuildRequires: kf5-kdoctools-devel >= %{kframever} | |
44 | BuildRequires: kf5-ki18n-devel >= %{kframever} | |
45 | BuildRequires: kf5-kiconthemes-devel >= %{kframever} | |
46 | BuildRequires: kf5-kio-devel >= %{kframever} | |
47 | BuildRequires: kf5-kitemviews-devel >= %{kframever} | |
48 | BuildRequires: kf5-kjobwidgets-devel >= %{kframever} | |
49 | BuildRequires: kf5-knotifications-devel >= %{kframever} | |
50 | BuildRequires: kf5-knotifyconfig-devel >= %{kframever} | |
51 | BuildRequires: kf5-kparts-devel >= %{kframever} | |
52 | BuildRequires: kf5-kplotting-devel >= %{kframever} | |
53 | BuildRequires: kf5-kross-devel >= %{kframever} | |
54 | BuildRequires: kf5-kservice-devel >= %{kframever} | |
55 | BuildRequires: kf5-ktextwidgets-devel >= %{kframever} | |
56 | BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever} | |
57 | BuildRequires: kf5-kwindowsystem-devel >= %{kframever} | |
58 | BuildRequires: kf5-kxmlgui-devel >= %{kframever} | |
59 | BuildRequires: kf5-solid-devel >= %{kframever} | |
60 | BuildRequires: kf5-sonnet-devel >= %{kframever} | |
61 | BuildRequires: kf5-syndication-devel >= %{kframever} | |
62 | BuildRequires: kp5-plasma-workspace-devel | |
63 | BuildRequires: phonon-qt5-devel | |
64 | BuildRequires: pkgconfig | |
65 | BuildRequires: taglib-devel | |
66 | BuildRequires: tar >= 1:1.22 | |
67 | BuildRequires: xz | |
68 | BuildRequires: zlib-devel | |
4e936473 | 69 | ExclusiveArch: i686 %{x8664} |
c43b4f3b WF |
70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
71 | ||
72 | %description | |
73 | KTorrent is a BitTorrent program for KDE. | |
74 | ||
75 | Its main features are: | |
76 | - Downloads torrent files | |
77 | - Upload speed capping, seeing that most people can't upload infinite | |
78 | amounts of data. | |
79 | - Internet searching using various search engines, you can even add | |
80 | your own. | |
81 | - UDP Trackers | |
82 | ||
83 | %description -l de.UTF-8 | |
84 | KTorrent ist ein BitTorrent Klient für KDE. | |
85 | ||
86 | Hauptfunktionen sind: | |
87 | - Torrent-Dateien Download | |
88 | - Begränzung des Uploades, so dass Mehrheit der Leute nicht unerlaubt | |
89 | unbegränzte Datenflüsse sendet | |
90 | - Durchsuchung des Internets mit hilfe diverser Browser, man kann | |
91 | sogar den eigenen Browser dazu schreiben | |
92 | - UDP Trackers | |
93 | ||
94 | %description -l pl.UTF-8 | |
95 | KTorrent to klient BitTorrenta dla KDE. | |
96 | ||
97 | Główne cechy to: | |
98 | - ściąganie plików torrent | |
99 | - ograniczanie szybkości uploadu, baczące żeby większość ludzi nie | |
100 | przesyłała nieograniczonej ilości danych | |
101 | - przeszukiwanie Internetu przy użyciu różnych wyszukiwarek, można | |
102 | nawet dodać własną | |
103 | - trackery UDP | |
104 | ||
105 | %prep | |
106 | %setup -q -n %{kaname}-%{version} | |
107 | ||
108 | %build | |
109 | install -d build | |
110 | cd build | |
111 | %cmake \ | |
112 | -G Ninja \ | |
113 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
114 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
115 | .. | |
116 | %ninja_build | |
117 | ||
118 | %install | |
119 | rm -rf $RPM_BUILD_ROOT | |
120 | %ninja_install -C build | |
121 | ||
122 | %find_lang %{kaname} --all-name --with-kde | |
123 | ||
124 | %clean | |
125 | rm -rf $RPM_BUILD_ROOT | |
126 | ||
127 | %post -p /sbin/ldconfig | |
128 | %postun -p /sbin/ldconfig | |
129 | ||
130 | %files -f %{kaname}.lang | |
131 | %defattr(644,root,root,755) | |
132 | %attr(755,root,root) %{_bindir}/ktmagnetdownloader | |
133 | %attr(755,root,root) %{_bindir}/ktorrent | |
134 | %attr(755,root,root) %{_bindir}/ktupnptest | |
135 | %ghost %{_libdir}/libktcore.so.16 | |
136 | %attr(755,root,root) %{_libdir}/libktcore.so.*.*.* | |
137 | %dir %{_libdir}/qt5/plugins/ktorrent | |
138 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_bwscheduler.so | |
139 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_downloadorder.so | |
140 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_infowidget.so | |
141 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_ipfilter.so | |
142 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_logviewer.so | |
143 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_magnetgenerator.so | |
144 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_mediaplayer.so | |
145 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_scanfolder.so | |
146 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_scanforlostfiles.so | |
147 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_scripting.so | |
148 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_search.so | |
149 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_shutdown.so | |
150 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_stats.so | |
151 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_syndication.so | |
152 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_upnp.so | |
153 | %attr(755,root,root) %{_libdir}/qt5/plugins/ktorrent/ktorrent_zeroconf.so | |
154 | %{_desktopdir}/org.kde.ktorrent.desktop | |
155 | %{_iconsdir}/hicolor/128x128/apps/ktorrent.png | |
156 | %{_iconsdir}/hicolor/16x16/actions/kt-add-feeds.png | |
157 | %{_iconsdir}/hicolor/16x16/actions/kt-add-filters.png | |
158 | %{_iconsdir}/hicolor/16x16/actions/kt-remove-feeds.png | |
159 | %{_iconsdir}/hicolor/16x16/actions/kt-remove-filters.png | |
160 | %{_iconsdir}/hicolor/16x16/actions/kt-stop-all.png | |
161 | %{_iconsdir}/hicolor/16x16/actions/kt-stop.png | |
162 | %{_iconsdir}/hicolor/16x16/actions/kt-upnp.png | |
163 | %{_iconsdir}/hicolor/16x16/apps/ktorrent.png | |
164 | %{_iconsdir}/hicolor/22x22/actions/kt-add-feeds.png | |
165 | %{_iconsdir}/hicolor/22x22/actions/kt-add-filters.png | |
166 | %{_iconsdir}/hicolor/22x22/actions/kt-magnet.png | |
167 | %{_iconsdir}/hicolor/22x22/actions/kt-pause.png | |
168 | %{_iconsdir}/hicolor/22x22/actions/kt-remove-feeds.png | |
169 | %{_iconsdir}/hicolor/22x22/actions/kt-remove-filters.png | |
170 | %{_iconsdir}/hicolor/22x22/actions/kt-remove.png | |
171 | %{_iconsdir}/hicolor/22x22/actions/kt-set-max-download-speed.png | |
172 | %{_iconsdir}/hicolor/22x22/actions/kt-set-max-upload-speed.png | |
173 | %{_iconsdir}/hicolor/22x22/actions/kt-speed-limits.png | |
174 | %{_iconsdir}/hicolor/22x22/actions/kt-start-all.png | |
175 | %{_iconsdir}/hicolor/22x22/actions/kt-start.png | |
176 | %{_iconsdir}/hicolor/22x22/actions/kt-stop-all.png | |
177 | %{_iconsdir}/hicolor/22x22/actions/kt-stop.png | |
178 | %{_iconsdir}/hicolor/22x22/apps/ktorrent.png | |
179 | %{_iconsdir}/hicolor/32x32/actions/kt-add-feeds.png | |
180 | %{_iconsdir}/hicolor/32x32/actions/kt-add-filters.png | |
181 | %{_iconsdir}/hicolor/32x32/actions/kt-info-widget.png | |
182 | %{_iconsdir}/hicolor/32x32/actions/kt-magnet.png | |
183 | %{_iconsdir}/hicolor/32x32/actions/kt-pause.png | |
184 | %{_iconsdir}/hicolor/32x32/actions/kt-queue-manager.png | |
185 | %{_iconsdir}/hicolor/32x32/actions/kt-remove-feeds.png | |
186 | %{_iconsdir}/hicolor/32x32/actions/kt-remove-filters.png | |
187 | %{_iconsdir}/hicolor/32x32/actions/kt-remove.png | |
188 | %{_iconsdir}/hicolor/32x32/actions/kt-set-max-download-speed.png | |
189 | %{_iconsdir}/hicolor/32x32/actions/kt-set-max-upload-speed.png | |
190 | %{_iconsdir}/hicolor/32x32/actions/kt-speed-limits.png | |
191 | %{_iconsdir}/hicolor/32x32/actions/kt-start-all.png | |
192 | %{_iconsdir}/hicolor/32x32/actions/kt-start.png | |
193 | %{_iconsdir}/hicolor/32x32/actions/kt-stop-all.png | |
194 | %{_iconsdir}/hicolor/32x32/actions/kt-stop.png | |
195 | %{_iconsdir}/hicolor/32x32/actions/kt-upnp.png | |
196 | %{_iconsdir}/hicolor/32x32/apps/ktorrent.png | |
197 | %{_iconsdir}/hicolor/48x48/actions/kt-bandwidth-scheduler.png | |
198 | %{_iconsdir}/hicolor/48x48/actions/kt-change-tracker.png | |
199 | %{_iconsdir}/hicolor/48x48/actions/kt-check-data.png | |
200 | %{_iconsdir}/hicolor/48x48/actions/kt-chunks.png | |
201 | %{_iconsdir}/hicolor/48x48/actions/kt-info-widget.png | |
202 | %{_iconsdir}/hicolor/48x48/actions/kt-magnet.png | |
203 | %{_iconsdir}/hicolor/48x48/actions/kt-pause.png | |
204 | %{_iconsdir}/hicolor/48x48/actions/kt-plugins.png | |
205 | %{_iconsdir}/hicolor/48x48/actions/kt-queue-manager.png | |
206 | %{_iconsdir}/hicolor/48x48/actions/kt-remove.png | |
207 | %{_iconsdir}/hicolor/48x48/actions/kt-restore-defaults.png | |
208 | %{_iconsdir}/hicolor/48x48/actions/kt-set-max-download-speed.png | |
209 | %{_iconsdir}/hicolor/48x48/actions/kt-set-max-upload-speed.png | |
210 | %{_iconsdir}/hicolor/48x48/actions/kt-show-hide.png | |
211 | %{_iconsdir}/hicolor/48x48/actions/kt-show-statusbar.png | |
212 | %{_iconsdir}/hicolor/48x48/actions/kt-speed-limits.png | |
213 | %{_iconsdir}/hicolor/48x48/actions/kt-start-all.png | |
214 | %{_iconsdir}/hicolor/48x48/actions/kt-start.png | |
215 | %{_iconsdir}/hicolor/48x48/actions/kt-stop-all.png | |
216 | %{_iconsdir}/hicolor/48x48/actions/kt-stop.png | |
217 | %{_iconsdir}/hicolor/48x48/actions/kt-upnp.png | |
218 | %{_iconsdir}/hicolor/48x48/apps/ktorrent.png | |
219 | %{_iconsdir}/hicolor/64x64/actions/kt-magnet.png | |
220 | %{_iconsdir}/hicolor/64x64/apps/ktorrent.png | |
221 | %{_iconsdir}/hicolor/scalable/actions/kt-magnet.svgz | |
222 | %{_iconsdir}/hicolor/scalable/actions/kt-set-max-download-speed.svgz | |
223 | %{_iconsdir}/hicolor/scalable/actions/kt-set-max-upload-speed.svgz | |
224 | %{_iconsdir}/hicolor/scalable/actions/kt-speed-limits.svgz | |
225 | %{_datadir}/knotifications5/ktorrent.notifyrc | |
226 | %{_datadir}/ktorrent | |
227 | %{_datadir}/kxmlgui5/ktorrent | |
228 | %{_datadir}/metainfo/org.kde.ktorrent.appdata.xml |