]> git.pld-linux.org Git - packages/transmission.git/blob - transmission.spec
- rel. 1
[packages/transmission.git] / transmission.spec
1 # TODO: use system libevent
2 Summary:        A versatile and multi-platform BitTorrent client
3 Summary(pl.UTF-8):      Wszechstronny i wieloplatformowy klient BitTorrenta
4 Name:           transmission
5 Version:        1.40
6 Release:        1
7 License:        MIT
8 Group:          Applications/Communications
9 Source0:        http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2
10 # Source0-md5:  490d13c141ba7b4a96582541ea83a461
11 Patch0:         %{name}-ckb_po.patch
12 URL:            http://transmission.m0k.org/
13 BuildRequires:  curl-devel >= 7.15.0
14 BuildRequires:  dbus-glib-devel >= 0.70
15 BuildRequires:  glib2-devel >= 1:2.16.0
16 BuildRequires:  gtk+2-devel >= 2:2.6.0
17 BuildRequires:  intltool >= 0.35.5
18 #BuildRequires: libevent-devel
19 BuildRequires:  libnotify-devel >= 0.4.4
20 BuildRequires:  openssl-devel >= 0.9.4
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 1.357
23 Requires(post,postun):  hicolor-icon-theme
24 Requires(post,postun):  gtk+2
25 Requires:       gtk+2 >= 2:2.6.0
26 Obsoletes:      Transmission <= 1.05
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _appdir         %{_datadir}/%{name}/web
30
31 %description
32 Transmission has been built from the ground up to be a lightweight,
33 yet powerful BitTorrent client. Its simple, intuitive interface is
34 designed to integrate tightly with whatever computing environment you
35 choose to use. Transmission strikes a balance between providing useful
36 functionality without feature bloat.
37
38 %description -l pl.UTF-8
39 Transmission został stworzony od podstaw, aby być lekkim lecz mającym
40 duże możliwości klientem BitTorrenta. Jego prosty, intuicyjny
41 interfejs jest zaprojektowany spójnie z dowolnym środowiskiem wybranym
42 przez użytkownika. Transmission stawia na równowagę zapewnienia
43 przydatnej funkcjonalności bez nadmiaru opcji.
44
45 %prep
46 %setup -q -c -n transmission-%{version}
47 mv transmission-%{version}/* .
48 %patch0 -p1
49 rm -f po/ckb.po
50
51 %build
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %find_lang %{name} --all-name --with-gnome
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_desktop_database_post
68 %update_icon_cache hicolor
69
70 %postun
71 %update_desktop_database_postun
72 %update_icon_cache hicolor
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README
77 %attr(755,root,root) %{_bindir}/transmission
78 %attr(755,root,root) %{_bindir}/transmissioncli
79 %attr(755,root,root) %{_bindir}/transmission-daemon
80 %attr(755,root,root) %{_bindir}/transmission-remote
81 %{_mandir}/man1/*.1*
82 %{_desktopdir}/transmission.desktop
83 %{_pixmapsdir}/transmission.png
84 %{_iconsdir}/hicolor/*/apps/transmission.png
85 %{_iconsdir}/hicolor/*/apps/transmission.svg
86 %dir %{_datadir}/%{name}
87 %dir %{_appdir}
88 %{_appdir}/images
89 %{_appdir}/javascript
90 %{_appdir}/stylesheets
91 %{_appdir}/index.html
This page took 0.064314 seconds and 4 git commands to generate.