]>
Commit | Line | Data |
---|---|---|
0f16bf9a | 1 | Summary: A versatile and multi-platform BitTorrent client |
bb59eb4f | 2 | Summary(pl.UTF-8): Wszechstronny i wieloplatformowy klient BitTorrenta |
905dacdd | 3 | Name: transmission |
3d84d3af | 4 | Version: 1.22 |
8d8e5f66 | 5 | Release: 1 |
0f16bf9a PZ |
6 | License: MIT |
7 | Group: Applications/Communications | |
bac64279 | 8 | Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2 |
3d84d3af | 9 | # Source0-md5: aa0a2db19b0f3dbfd75a0fb354d6c47d |
0f16bf9a | 10 | URL: http://transmission.m0k.org/ |
ce107e06 | 11 | BuildRequires: curl-devel |
0f16bf9a PZ |
12 | BuildRequires: gtk+2-devel >= 2:2.6.0 |
13 | BuildRequires: intltool >= 0.35.5 | |
09c73228 | 14 | BuildRequires: libevent-devel |
0f16bf9a PZ |
15 | BuildRequires: openssl-devel |
16 | BuildRequires: pkgconfig | |
ce107e06 | 17 | BuildRequires: readline-devel |
0f16bf9a | 18 | BuildRequires: rpmbuild(macros) >= 1.357 |
e65cafbb | 19 | Requires(post,postun): hicolor-icon-theme |
0f16bf9a PZ |
20 | Requires(post,postun): gtk+2 |
21 | Requires: gtk+2 >= 2:2.6.0 | |
fa0bbffb | 22 | Obsoletes: Transmission <= 1.05 |
0f16bf9a PZ |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Transmission has been built from the ground up to be a lightweight, | |
27 | yet powerful BitTorrent client. Its simple, intuitive interface is | |
28 | designed to integrate tightly with whatever computing environment you | |
29 | choose to use. Transmission strikes a balance between providing useful | |
30 | functionality without feature bloat. | |
31 | ||
bb59eb4f JB |
32 | %description -l pl.UTF-8 |
33 | Transmission został stworzony od podstaw, aby być lekkim lecz mającym | |
34 | duże możliwości klientem BitTorrenta. Jego prosty, intuicyjny | |
35 | interfejs jest zaprojektowany spójnie z dowolnym środowiskiem wybranym | |
36 | przez użytkownika. Transmission stawia na równowagę zapewnienia | |
37 | przydatnej funkcjonalności bez nadmiaru opcji. | |
38 | ||
0f16bf9a | 39 | %prep |
0fc49842 | 40 | %setup -q -c -n transmission-%{version} |
bac64279 | 41 | mv transmission-%{version}/* . |
0f16bf9a PZ |
42 | |
43 | %build | |
44 | %configure | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
bac64279 | 53 | #mv $RPM_BUILD_ROOT/usr{,/share}/man |
09c73228 | 54 | |
0f16bf9a PZ |
55 | %find_lang %{name} --all-name --with-gnome |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_desktop_database_post | |
e65cafbb | 62 | %update_icon_cache hicolor |
0f16bf9a PZ |
63 | |
64 | %postun | |
65 | %update_desktop_database_postun | |
e65cafbb | 66 | %update_icon_cache hicolor |
0f16bf9a PZ |
67 | |
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS NEWS README | |
293e2f51 | 71 | %attr(755,root,root) %{_bindir}/benc2php |
bac64279 | 72 | %attr(755,root,root) %{_bindir}/transmission |
95c51d91 | 73 | %attr(755,root,root) %{_bindir}/transmissioncli |
09c73228 | 74 | %attr(755,root,root) %{_bindir}/transmission-daemon |
09c73228 PZ |
75 | %attr(755,root,root) %{_bindir}/transmission-proxy |
76 | %attr(755,root,root) %{_bindir}/transmission-remote | |
67e4f493 | 77 | %{_mandir}/man1/*.1* |
bac64279 | 78 | %{_desktopdir}/transmission.desktop |
0f16bf9a | 79 | %{_pixmapsdir}/transmission.png |
e65cafbb PZ |
80 | %{_iconsdir}/hicolor/*/apps/transmission.png |
81 | %{_iconsdir}/hicolor/*/apps/transmission.svg |