2007-07-18 23:13:30 +00:00
|
|
|
%define name transmission
|
|
|
|
%define version @VERSION@
|
|
|
|
%define release 1
|
|
|
|
|
2007-07-19 01:21:13 +00:00
|
|
|
Summary: Transmission BitTorrent Client
|
2007-07-18 23:13:30 +00:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
License: MIT
|
|
|
|
Group: Applications/Internet
|
2008-01-20 14:53:38 +00:00
|
|
|
URL: http://www.transmissionbt.com/
|
2007-07-18 23:13:30 +00:00
|
|
|
Epoch: 1
|
2009-05-08 03:00:46 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2007-07-18 23:13:30 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2009-11-22 18:55:24 +00:00
|
|
|
|
2010-01-13 22:32:46 +00:00
|
|
|
# MANDATORY for libtransmission
|
2008-04-24 12:02:15 +00:00
|
|
|
BuildRequires: curl-devel >= @CURL_MINIMUM@
|
2009-06-03 15:47:08 +00:00
|
|
|
BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
|
2009-11-22 18:55:24 +00:00
|
|
|
BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
|
2008-04-24 12:02:15 +00:00
|
|
|
Requires: curl >= @CURL_MINIMUM@
|
2010-01-13 22:32:46 +00:00
|
|
|
Requires: libevent >= @LIBEVENT_MINIMUM@
|
|
|
|
Requires: openssl >= @OPENSSL_MINIMUM@
|
|
|
|
# MANDATORY for the gtk+ client
|
|
|
|
BuildRequires: glib2-devel >= @GLIB_MINIMUM@
|
|
|
|
BuildRequires: gtk2-devel >= @GTK_MINIMUM@
|
2008-04-24 12:02:15 +00:00
|
|
|
Requires: glib2 >= @GLIB_MINIMUM@
|
|
|
|
Requires: gtk2 >= @GTK_MINIMUM@
|
2007-07-18 23:13:30 +00:00
|
|
|
|
|
|
|
Provides: %{name}
|
|
|
|
|
|
|
|
%description
|
2007-10-13 17:33:53 +00:00
|
|
|
A fast and easy BitTorrent client
|
2007-07-18 23:13:30 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%configure --program-prefix=""
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2010-11-22 12:50:42 +00:00
|
|
|
%find_lang %{name}-gtk
|
2007-07-18 23:13:30 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-05-08 03:00:46 +00:00
|
|
|
%files
|
2007-07-18 23:13:30 +00:00
|
|
|
%defattr(-,root,root)
|
2016-09-02 19:34:29 +00:00
|
|
|
%doc AUTHORS NEWS README.md
|
2009-05-08 03:00:46 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/%{name}*
|
2010-11-22 12:50:42 +00:00
|
|
|
%{_datadir}/applications/%{name}-gtk.desktop
|
2007-07-18 23:13:30 +00:00
|
|
|
%{_datadir}/pixmaps/*
|
2009-05-08 03:00:46 +00:00
|
|
|
%{_datadir}/icons/*
|
|
|
|
%{_datadir}/%{name}/web/*
|
|
|
|
%{_datadir}/man/man1/%{name}*
|
|
|
|
%{_datadir}/locale/*
|
2007-07-18 23:13:30 +00:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
2011-01-03 05:58:58 +00:00
|
|
|
* Wed Jan 13 2010 Jordan Lee <jordan@transmissionbt.com>
|
2010-01-13 22:32:46 +00:00
|
|
|
- made the GConf dependency explicit
|
|
|
|
- annotated the Depends section to show which libraries are optional
|
2009-05-08 03:00:46 +00:00
|
|
|
* Thu Mar 5 2009 Gijs <info@bsnw.nl>
|
|
|
|
- fixed %files section
|
|
|
|
- added Source0
|
2011-01-03 05:58:58 +00:00
|
|
|
* Wed Jul 18 2006 Jordan Lee <jordan@transmissionbt.com>
|
2009-06-03 15:47:08 +00:00
|
|
|
- first draft at a spec file, cribbed from Pan's spec file
|