source: trunk/transmission-gtk.spec.in @ 11121

Last change on this file since 11121 was 11121, checked in by charles, 11 years ago

(trunk) rename "transmission" as "transmission-gtk" and "transmissioncli" as "transmission-cli" for consistency with the other transmission apps

File size: 2.1 KB
Line 
1%define name transmission
2%define version @VERSION@
3%define release 1
4
5Summary:   Transmission BitTorrent Client
6Name:      %{name}
7Version:   %{version}
8Release:   %{release}
9License:   MIT
10Group:     Applications/Internet
11URL:       http://www.transmissionbt.com/
12Epoch:     1
13Source0:   %{name}-%{version}.tar.bz2
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16
17# MANDATORY for libtransmission
18BuildRequires: curl-devel >= @CURL_MINIMUM@
19BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
20BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
21Requires: curl >= @CURL_MINIMUM@
22Requires: libevent >= @LIBEVENT_MINIMUM@
23Requires: openssl >= @OPENSSL_MINIMUM@
24# MANDATORY for the gtk+ client
25BuildRequires: glib2-devel >= @GLIB_MINIMUM@
26BuildRequires: gtk2-devel >= @GTK_MINIMUM@
27Requires: glib2 >= @GLIB_MINIMUM@
28Requires: gtk2 >= @GTK_MINIMUM@
29# OPTIONAL for the gtk+ client... see configure.ac for details
30BuildRequires: GConf2-devel >= @GCONF2_MINIMUM@
31BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
32BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
33BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
34Requires: GConf2 >= @GCONF2_MINIMUM@
35Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
36Requires: libcanberra >= @CANBERRA_MINIMUM@
37Requires: libnotify >= @LIBNOTIFY_MINIMUM@
38
39Provides: %{name}
40
41%description
42A fast and easy BitTorrent client
43
44%prep
45%setup -q
46%build
47%configure --program-prefix=""
48make CFLAGS="$RPM_OPT_FLAGS"
49%install
50rm -rf $RPM_BUILD_ROOT
51make DESTDIR=$RPM_BUILD_ROOT install
52%find_lang %{name}
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(-,root,root)
58%doc AUTHORS NEWS README
59%attr(755,root,root) %{_bindir}/%{name}*
60%{_datadir}/applications/%{name}.desktop
61%{_datadir}/pixmaps/*
62%{_datadir}/icons/*
63%{_datadir}/%{name}/web/*
64%{_datadir}/man/man1/%{name}*
65%{_datadir}/locale/*
66
67%changelog
68
69* Wed Jan 13 2010 Charles Kerr <charles@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 Charles Kerr <charles@transmissionbt.com>
76- first draft at a spec file, cribbed from Pan's spec file
Note: See TracBrowser for help on using the repository browser.