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

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

(trunk gtk) #4366 "Use GAppInfo, rather than GConf2, for mime-type registration" -- done.

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