source: trunk/transmission-gtk.spec.in

Last change on this file was 12638, checked in by jordan, 6 years ago

(trunk gtk) bump the glib2 requirement from 2.8 to 2.26 s.t. transmission-gtk can use glib's GDBus module and drop the glib-dbus library dependency

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