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

Last change on this file since 12578 was 12578, checked in by jordan, 11 years ago

(trunk gtk) #4372 "make notification and system sounds configurable" -- fixed.

File size: 1.9 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: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
31Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
32
33Provides: %{name}
34
35%description
36A fast and easy BitTorrent client
37
38%prep
39%setup -q
40%build
41%configure --program-prefix=""
42make CFLAGS="$RPM_OPT_FLAGS"
43%install
44rm -rf $RPM_BUILD_ROOT
45make DESTDIR=$RPM_BUILD_ROOT install
46%find_lang %{name}-gtk
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(-,root,root)
52%doc AUTHORS NEWS README
53%attr(755,root,root) %{_bindir}/%{name}*
54%{_datadir}/applications/%{name}-gtk.desktop
55%{_datadir}/pixmaps/*
56%{_datadir}/icons/*
57%{_datadir}/%{name}/web/*
58%{_datadir}/man/man1/%{name}*
59%{_datadir}/locale/*
60
61%changelog
62
63* Wed Jan 13 2010 Jordan Lee <jordan@transmissionbt.com>
64- made the GConf dependency explicit
65- annotated the Depends section to show which libraries are optional
66* Thu Mar 5 2009 Gijs <info@bsnw.nl>
67- fixed %files section
68- added Source0
69* Wed Jul 18 2006 Jordan Lee <jordan@transmissionbt.com>
70- first draft at a spec file, cribbed from Pan's spec file
Note: See TracBrowser for help on using the repository browser.