source: trunk/transmission-gtk.spec.in

Last change on this file was 12638, checked in by jordan, 11 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
RevLine 
[2403]1%define name transmission
2%define version @VERSION@
3%define release 1
4
[2414]5Summary:   Transmission BitTorrent Client
[2403]6Name:      %{name}
7Version:   %{version}
8Release:   %{release}
9License:   MIT
10Group:     Applications/Internet
[4755]11URL:       http://www.transmissionbt.com/
[2403]12Epoch:     1
[8354]13Source0:   %{name}-%{version}.tar.bz2
[2403]14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
[9546]16
[9926]17# MANDATORY for libtransmission
[5680]18BuildRequires: curl-devel >= @CURL_MINIMUM@
[9926]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
[5680]25BuildRequires: glib2-devel >= @GLIB_MINIMUM@
26BuildRequires: gtk2-devel >= @GTK_MINIMUM@
[9926]27Requires: glib2 >= @GLIB_MINIMUM@
28Requires: gtk2 >= @GTK_MINIMUM@
[2403]29
30Provides: %{name}
31
32%description
[3401]33A fast and easy BitTorrent client
[2403]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
[11432]43%find_lang %{name}-gtk
[2403]44%clean
45rm -rf $RPM_BUILD_ROOT
46
[8354]47%files
[2403]48%defattr(-,root,root)
[8354]49%doc AUTHORS NEWS README
50%attr(755,root,root) %{_bindir}/%{name}*
[11432]51%{_datadir}/applications/%{name}-gtk.desktop
[2403]52%{_datadir}/pixmaps/*
[8354]53%{_datadir}/icons/*
54%{_datadir}/%{name}/web/*
55%{_datadir}/man/man1/%{name}*
56%{_datadir}/locale/*
[2403]57
58%changelog
59
[11626]60* Wed Jan 13 2010 Jordan Lee <jordan@transmissionbt.com>
[9926]61- made the GConf dependency explicit
62- annotated the Depends section to show which libraries are optional
[8354]63* Thu Mar 5 2009 Gijs <info@bsnw.nl>
64- fixed %files section
65- added Source0
[11626]66* Wed Jul 18 2006 Jordan Lee <jordan@transmissionbt.com>
[8599]67- first draft at a spec file, cribbed from Pan's spec file
Note: See TracBrowser for help on using the repository browser.