MiniDLNA update: 1.0.19.1 to 1.0.20
[tomato.git] / release / src / router / transmission / transmission-gtk.spec.in
blobfe80f866e5a5e35e221305bd6dc1cfe21ffe91fb
1 %define name transmission
2 %define version @VERSION@
3 %define release 1
5 Summary: Transmission BitTorrent Client
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 License: MIT
10 Group: Applications/Internet
11 URL: http://www.transmissionbt.com/
12 Epoch: 1
13 Source0: %{name}-%{version}.tar.bz2
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17 # MANDATORY for libtransmission
18 BuildRequires: curl-devel >= @CURL_MINIMUM@
19 BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
20 BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
21 Requires: curl >= @CURL_MINIMUM@
22 Requires: libevent >= @LIBEVENT_MINIMUM@
23 Requires: openssl >= @OPENSSL_MINIMUM@
24 # MANDATORY for the gtk+ client
25 BuildRequires: glib2-devel >= @GLIB_MINIMUM@
26 BuildRequires: gtk2-devel >= @GTK_MINIMUM@
27 Requires: glib2 >= @GLIB_MINIMUM@
28 Requires: gtk2 >= @GTK_MINIMUM@
29 # OPTIONAL for the gtk+ client... see configure.ac for details
30 BuildRequires: GConf2-devel >= @GCONF2_MINIMUM@
31 BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
32 BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
33 BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
34 Requires: GConf2 >= @GCONF2_MINIMUM@
35 Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
36 Requires: libcanberra >= @CANBERRA_MINIMUM@
37 Requires: libnotify >= @LIBNOTIFY_MINIMUM@
39 Provides: %{name}
41 %description
42 A fast and easy BitTorrent client
44 %prep
45 %setup -q
46 %build
47 %configure --program-prefix=""
48 make CFLAGS="$RPM_OPT_FLAGS"
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 make DESTDIR=$RPM_BUILD_ROOT install
52 %find_lang %{name}-gtk
53 %clean
54 rm -rf $RPM_BUILD_ROOT
56 %files
57 %defattr(-,root,root)
58 %doc AUTHORS NEWS README
59 %attr(755,root,root) %{_bindir}/%{name}*
60 %{_datadir}/applications/%{name}-gtk.desktop
61 %{_datadir}/pixmaps/*
62 %{_datadir}/icons/*
63 %{_datadir}/%{name}/web/*
64 %{_datadir}/man/man1/%{name}*
65 %{_datadir}/locale/*
67 %changelog
69 * Wed Jan 13 2010 Jordan Lee <jordan@transmissionbt.com>
70 - made the GConf dependency explicit
71 - annotated the Depends section to show which libraries are optional
72 * Thu Mar 5 2009 Gijs <info@bsnw.nl>
73 - fixed %files section
74 - added Source0
75 * Wed Jul 18 2006 Jordan Lee <jordan@transmissionbt.com>
76 - first draft at a spec file, cribbed from Pan's spec file