1 | Name: transmission |
---|
2 | Version: 2.22 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: A lightweight BitTorrent client |
---|
5 | Summary(ja): 軽量な BitTorrent クライアント |
---|
6 | |
---|
7 | Group: Applications/Internet |
---|
8 | License: MIT and GPLv2 |
---|
9 | URL: http://www.transmissionbt.com/ |
---|
10 | Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.xz |
---|
11 | Source1: transmission-daemon-init |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: openssl-devel |
---|
16 | BuildRequires: curl-devel >= 7.18.0 |
---|
17 | BuildRequires: dbus-glib-devel |
---|
18 | BuildRequires: glib2-devel |
---|
19 | BuildRequires: libnotify-devel |
---|
20 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
21 | BuildRequires: desktop-file-utils |
---|
22 | BuildRequires: gettext >= 0.14.1 |
---|
23 | BuildRequires: intltool >= 0.40 |
---|
24 | BuildRequires: libcanberra-devel |
---|
25 | BuildRequires: libevent-devel |
---|
26 | BuildRequires: GConf2-devel |
---|
27 | |
---|
28 | Requires: transmission-cli |
---|
29 | Requires: transmission-gtk |
---|
30 | |
---|
31 | Vendor: Project Vine |
---|
32 | Distribution: Vine Linux |
---|
33 | Packager: kudoh |
---|
34 | |
---|
35 | %description |
---|
36 | Transmission is a free, lightweight BitTorrent client. It features a |
---|
37 | simple, intuitive interface on top on an efficient, cross-platform |
---|
38 | back-end. |
---|
39 | |
---|
40 | %description -l ja |
---|
41 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
42 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
43 | |
---|
44 | |
---|
45 | %package common |
---|
46 | Summary: Common files for Transmission BitTorrent client |
---|
47 | Summary(ja): Transmission BitTorrent クライアントの共通ファイル |
---|
48 | Group: Applications/Internet |
---|
49 | Obsoletes: transmission =< 1.83 |
---|
50 | |
---|
51 | %description common |
---|
52 | Transmission is a free, lightweight BitTorrent client. This package |
---|
53 | contains the common files used by the different front-ends. |
---|
54 | |
---|
55 | %description -l ja common |
---|
56 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
57 | このパッケージは異なるフロントエンドにより使用される |
---|
58 | 共通ファイルを含みます。 |
---|
59 | |
---|
60 | %package cli |
---|
61 | Summary: Transmission command line implementation |
---|
62 | Summary(ja): Transmission のコマンドライン実装 |
---|
63 | Group: Applications/Internet |
---|
64 | Requires: transmission-common |
---|
65 | Provides: transmission = %{version}-%{release} |
---|
66 | |
---|
67 | %description cli |
---|
68 | Command line version of Transmission BitTorrent client. |
---|
69 | |
---|
70 | %description cli -l ja |
---|
71 | Transmission BitTorrent クライアントのコマンドライン版です。 |
---|
72 | |
---|
73 | %package daemon |
---|
74 | Summary: Transmission daemon |
---|
75 | Summary(ja): Transmission デーモン |
---|
76 | Group: Applications/Internet |
---|
77 | Requires: transmission-common |
---|
78 | Requires(pre): shadow-utils |
---|
79 | Requires(post): chkconfig |
---|
80 | Requires(preun): chkconfig |
---|
81 | Requires(preun): initscripts |
---|
82 | Requires(postun): initscripts |
---|
83 | Provides: transmission = %{version}-%{release} |
---|
84 | |
---|
85 | %description daemon |
---|
86 | Transmission BitTorrent client daemon. |
---|
87 | |
---|
88 | %description daemon -l ja |
---|
89 | Transmission BitTorrent クライアントのデーモンです。 |
---|
90 | |
---|
91 | %package gtk |
---|
92 | Summary: GTK Interface for Transmission BitTorrent client |
---|
93 | Summary(ja): Transmission BitTorrent client の GTK インターフェイス |
---|
94 | Group: Applications/Internet |
---|
95 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
96 | Requires: %{name}-common = %{version} |
---|
97 | Provides: %{name} = %{version}-%{release} |
---|
98 | Provides: %{name}-gui = %{version}-%{release} |
---|
99 | Obsoletes: transmission =< 1.83 |
---|
100 | |
---|
101 | %description gtk |
---|
102 | Transmission is a free, lightweight BitTorrent client. It features a |
---|
103 | simple, intuitive interface on top of an efficient back-end. |
---|
104 | |
---|
105 | This package provides the GTK Interface. |
---|
106 | |
---|
107 | %description -l ja gtk |
---|
108 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
109 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
110 | |
---|
111 | このパッケージは GTK インターフェイスを提供します。 |
---|
112 | |
---|
113 | %package qt |
---|
114 | Summary: Qt4 Interface for Transmission BitTorrent client |
---|
115 | Summary(ja): Transmission BitTorrent client の Qt4 インターフェイス |
---|
116 | Group: Applications/Internet |
---|
117 | Provides: %{name}-gui = %{version}-%{release} |
---|
118 | Requires: %{name}-common = %{version} |
---|
119 | BuildRequires: qt4-devel qt4-designer |
---|
120 | |
---|
121 | %description qt |
---|
122 | Transmission is a simple BitTorrent client. It features a very simple, |
---|
123 | intuitive interface on top on an efficient, cross-platform back-end. |
---|
124 | |
---|
125 | This package contains QTransmission, a QT4 based GUI for Transmission |
---|
126 | loosely based on the GTK+ client. |
---|
127 | |
---|
128 | %description -l ja qt |
---|
129 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
130 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
131 | |
---|
132 | このパッケージは QTransmission - GTK+ クライアントに概ね基づいた |
---|
133 | Transmission の QT4 ベース GUI - を含みます。 |
---|
134 | |
---|
135 | %pre daemon |
---|
136 | getent group transmission >/dev/null || groupadd -r transmission |
---|
137 | getent passwd transmission >/dev/null || \ |
---|
138 | useradd -r -g transmission -d /var/lib/transmission -s /sbin/nologin \ |
---|
139 | -c "transmission daemon account" transmission |
---|
140 | exit 0 |
---|
141 | |
---|
142 | %prep |
---|
143 | %setup -q |
---|
144 | |
---|
145 | %build |
---|
146 | %configure --enable-gtk --disable-static --enable-libcanberra --enable-daemon |
---|
147 | make %{?_smp_mflags} CC=%{__cc} |
---|
148 | #make CFLAGS="$RPM_OPT_FLAGS" |
---|
149 | |
---|
150 | #for QT gui build |
---|
151 | pushd qt |
---|
152 | %{_libdir}/qt4/bin/qmake qtr.pro |
---|
153 | make %{?_smp_mflags} |
---|
154 | popd |
---|
155 | |
---|
156 | %install |
---|
157 | rm -rf $RPM_BUILD_ROOT |
---|
158 | |
---|
159 | mkdir -p %{buildroot}%{_initddir} |
---|
160 | install -m755 %{SOURCE1} %{buildroot}%{_initddir}/transmission-daemon |
---|
161 | mkdir -p %{buildroot}/var/lib/transmission |
---|
162 | |
---|
163 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
164 | make install INSTALL_ROOT=%{buildroot}%{_prefix} -C qt |
---|
165 | |
---|
166 | %find_lang %{name}-gtk |
---|
167 | |
---|
168 | desktop-file-install --vendor "" \ |
---|
169 | --delete-original \ |
---|
170 | --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
171 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-gtk.desktop |
---|
172 | |
---|
173 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
174 | cat > $RPM_BUILD_ROOT%{_datadir}/applications/transmission-qt.desktop << EOF |
---|
175 | [Desktop Entry] |
---|
176 | Encoding=UTF-8 |
---|
177 | Name=Qtransmission Bittorrent Client |
---|
178 | Name[ja]=Qtransmission Bittorrent クライアント |
---|
179 | GenericName=BitTorrent Client |
---|
180 | GenericName[ja]=BitTorrent クライアント |
---|
181 | Comment=Download and share files over BitTorrent |
---|
182 | Comment[ja]=BitTorrentでファイルをダウンロード及び共有します |
---|
183 | Exec=transmission-qt %F |
---|
184 | Icon=transmission |
---|
185 | Terminal=false |
---|
186 | Type=Application |
---|
187 | MimeType=application/x-bittorrent; |
---|
188 | Categories=Network;FileTransfer;P2P;Qt; |
---|
189 | NotShowIn=GNOME;XFCE;LXDE; |
---|
190 | EOF |
---|
191 | |
---|
192 | %clean |
---|
193 | rm -rf $RPM_BUILD_ROOT |
---|
194 | |
---|
195 | %post daemon |
---|
196 | /sbin/chkconfig --add transmission-daemon |
---|
197 | |
---|
198 | |
---|
199 | %post gtk |
---|
200 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
201 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
202 | update-desktop-database > /dev/null 2>&1 || : |
---|
203 | |
---|
204 | |
---|
205 | %postun gtk |
---|
206 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
207 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
208 | update-desktop-database > /dev/null 2>&1 || : |
---|
209 | |
---|
210 | %preun daemon |
---|
211 | if [ $1 = 0 ] ; then |
---|
212 | /sbin/service transmission-daemon stop >/dev/null 2>&1 |
---|
213 | /sbin/chkconfig --del transmission-daemon |
---|
214 | fi |
---|
215 | |
---|
216 | %postun daemon |
---|
217 | if [ "$1" -ge "1" ] ; then |
---|
218 | /sbin/service transmission-daemon condrestart >/dev/null 2>&1 || : |
---|
219 | fi |
---|
220 | |
---|
221 | %files |
---|
222 | |
---|
223 | %files common |
---|
224 | %defattr(-, root, root, -) |
---|
225 | %doc AUTHORS COPYING NEWS README |
---|
226 | %{_bindir}/transmission-create |
---|
227 | %{_bindir}/transmission-edit |
---|
228 | %{_bindir}/transmission-remote |
---|
229 | %{_bindir}/transmission-show |
---|
230 | %{_datadir}/transmission/web/ |
---|
231 | %{_datadir}/pixmaps/* |
---|
232 | %{_datadir}/icons/hicolor/*/apps/transmission.* |
---|
233 | %doc %{_mandir}/man1/transmission-create* |
---|
234 | %doc %{_mandir}/man1/transmission-edit* |
---|
235 | %doc %{_mandir}/man1/transmission-remote* |
---|
236 | %doc %{_mandir}/man1/transmission-show* |
---|
237 | |
---|
238 | %files cli |
---|
239 | %defattr(-, root, root, -) |
---|
240 | %{_bindir}/transmission-cli |
---|
241 | %doc %{_mandir}/man1/transmission-cli* |
---|
242 | |
---|
243 | %files daemon |
---|
244 | %defattr(-, root, root, -) |
---|
245 | %{_bindir}/transmission-daemon |
---|
246 | %{_initddir}/transmission-daemon |
---|
247 | %attr(-,transmission, transmission)/var/lib/transmission/ |
---|
248 | %doc %{_mandir}/man1/transmission-daemon* |
---|
249 | |
---|
250 | %files gtk -f %{name}-gtk.lang |
---|
251 | %defattr(-,root,root) |
---|
252 | %{_bindir}/%{name}-gtk |
---|
253 | %{_datadir}/applications/%{name}-gtk.desktop |
---|
254 | %{_mandir}/man1/transmission-gtk.1* |
---|
255 | |
---|
256 | %files qt |
---|
257 | %defattr(-,root,root) |
---|
258 | %{_bindir}/transmission-qt |
---|
259 | %{_datadir}/applications/transmission-qt.desktop |
---|
260 | %{_mandir}/man1/transmission-qt.1* |
---|
261 | |
---|
262 | %changelog |
---|
263 | * Wed Apr 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22-1 |
---|
264 | - update to 2.22 |
---|
265 | |
---|
266 | * Sat Feb 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.20-1 |
---|
267 | - Update to upstream 2.20 |
---|
268 | |
---|
269 | * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-2 |
---|
270 | - rebuilt with openssl-1.0.0c |
---|
271 | |
---|
272 | * Sat Dec 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-1 |
---|
273 | - Update to upstream 2.13 |
---|
274 | - deleted disable option |
---|
275 | - added configure option --enable-gtk |
---|
276 | |
---|
277 | * Mon Nov 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1 |
---|
278 | - Update to upstream 2.12 |
---|
279 | |
---|
280 | * Mon Oct 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1 |
---|
281 | - Update to upstream 2.11 |
---|
282 | |
---|
283 | * Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.10-2 |
---|
284 | - fixed and changed transmission-qt.desktop |
---|
285 | - did not show transmission-qt.desktop in LXDE |
---|
286 | |
---|
287 | * Mon Oct 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.10-1 |
---|
288 | - Update to upstream 2.10 |
---|
289 | |
---|
290 | * Mon Aug 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.04-1 |
---|
291 | - Update to upstream 2.04 |
---|
292 | |
---|
293 | * Fri Jul 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.03-1 |
---|
294 | - Update to upstream 2.03 |
---|
295 | |
---|
296 | * Fri Jul 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.01-1 |
---|
297 | - Update to upstream 2.01 |
---|
298 | |
---|
299 | * Fri Jun 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00-1 |
---|
300 | - Update to upstream 2.00 |
---|
301 | |
---|
302 | * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.93-1 |
---|
303 | - Update to upstream 1.93 |
---|
304 | |
---|
305 | * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.92-1 |
---|
306 | - Update to upstream 1.92 |
---|
307 | - applied new naming policy to spec |
---|
308 | |
---|
309 | * Mon Feb 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.91-1 |
---|
310 | - Update to upstream 1.91 |
---|
311 | - changed summary, summary(ja) a little |
---|
312 | - added %configure option --enable-libcanberra --enable-daemon |
---|
313 | - added Source1 from Fedora |
---|
314 | - splitted common, cli, daemon, gtk, qt packages |
---|
315 | |
---|
316 | * Sat Jan 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.83-1 |
---|
317 | - Update to upstream 1.83 |
---|
318 | - added BuildRequires: libcanberra-devel, libevent-devel |
---|
319 | |
---|
320 | * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.82-1 |
---|
321 | - Update to upstream 1.82 |
---|
322 | |
---|
323 | * Fri Jan 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.80-1 |
---|
324 | - Update to upstream 1.80 |
---|
325 | - changed BuildRequires: intltool >= 0.40 |
---|
326 | |
---|
327 | * Sun Jan 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.77-1 |
---|
328 | - Update to upstream 1.77 |
---|
329 | - dropt Patch1 |
---|
330 | - aded BuildRequires: GConf2-devel |
---|
331 | |
---|
332 | * Mon Oct 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.76-1 |
---|
333 | - Update to upstream 1.76 |
---|
334 | |
---|
335 | * Tue Sep 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.75-2 |
---|
336 | - a few fixed transmission_ja_po.patch |
---|
337 | - added --disable-static=no to configure option |
---|
338 | - run gtk-update-icon-cache in %post, %postun |
---|
339 | - cleaned up spec |
---|
340 | |
---|
341 | * Tue Sep 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.75-1 |
---|
342 | - Update to upstream 1.75 |
---|
343 | |
---|
344 | * Sun Jul 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.73-1 |
---|
345 | - Update to upstream 1.73 |
---|
346 | |
---|
347 | * Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.72-1 |
---|
348 | - Update to upstream 1.72 |
---|
349 | - cleaned up spec |
---|
350 | |
---|
351 | * Tue Jun 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.71-1 |
---|
352 | - Update to upstream 1.71 |
---|
353 | |
---|
354 | * Sat Jun 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.70-1 |
---|
355 | - Update to upstream 1.70 |
---|
356 | |
---|
357 | * Tue May 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.61-1 |
---|
358 | - Update to upstream 1.61 |
---|
359 | - added BuildRequires: glib2-devel |
---|
360 | |
---|
361 | * Wed May 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.60-1 |
---|
362 | - Update to upstream 1.60 |
---|
363 | - spec in UTF-8 |
---|
364 | |
---|
365 | * Mon Apr 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.52-1 |
---|
366 | - Update to upstream 1.52 |
---|
367 | - fixed Desktop-file name |
---|
368 | - fixed BuildRoot |
---|
369 | |
---|
370 | * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.51-1 |
---|
371 | - Update to upstream 1.51 |
---|
372 | - changed BuildRequires: curl-devel >= 7.18.0 |
---|
373 | - dropped Patch1 |
---|
374 | |
---|
375 | * Sun Feb 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.50-1 |
---|
376 | - Update to upstream 1.50 |
---|
377 | |
---|
378 | * Thu Jan 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.42-2 |
---|
379 | - added Summary(ja) |
---|
380 | - fixed Lisense |
---|
381 | - added patch1 (transmission-1.42-libevent.patch, from Fedora) |
---|
382 | - fixed %build |
---|
383 | - changed %install |
---|
384 | - fixed %changelog |
---|
385 | |
---|
386 | * Sat Dec 27 2008 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.42-1 |
---|
387 | - initial build for VineSeed |
---|
388 | - Update to upstream 1.42 |
---|
389 | - dropped Patch0 (transmission-0.71-manpath.patch) |
---|
390 | - added patch0 (transmission_ja_po.patch, to fix ja.po) |
---|
391 | - modified %files, %install |
---|
392 | - modified BuildRoot |
---|
393 | - added BuildRequires to curl-devel, dbus-glib-devel, libnotify-devel |
---|
394 | |
---|
395 | * Thu Feb 4 2008 Denis Leroy <denis@poolshark.org> - 1.04-1 |
---|
396 | - Update to upstream 1.04 |
---|
397 | - Modified Build-Require |
---|
398 | |
---|
399 | * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 0.80-1 |
---|
400 | - Update to upstream 0.80 |
---|
401 | |
---|
402 | * Wed May 2 2007 Denis Leroy <denis@poolshark.org> - 0.72-1 |
---|
403 | - Update to 0.72 |
---|
404 | - Added libevent BR |
---|
405 | |
---|
406 | * Wed Apr 25 2007 Denis Leroy <denis@poolshark.org> - 0.71-1 |
---|
407 | - Update to 0.71 |
---|
408 | - Removed custom desktop file |
---|
409 | - Added patch to fix manpath |
---|
410 | |
---|
411 | * Thu Sep 28 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-3 |
---|
412 | - Added project icon |
---|
413 | - Honor cc variable |
---|
414 | |
---|
415 | * Mon Sep 25 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-2 |
---|
416 | - Removed ldconfig Requires |
---|
417 | |
---|
418 | * Wed Sep 13 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-1 |
---|
419 | - First version |
---|
420 | |
---|