[2403] | 1 | %define name transmission |
---|
| 2 | %define version @VERSION@ |
---|
| 3 | %define release 1 |
---|
| 4 | |
---|
[2414] | 5 | Summary: Transmission BitTorrent Client |
---|
[2403] | 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | License: MIT |
---|
| 10 | Group: Applications/Internet |
---|
[4755] | 11 | URL: http://www.transmissionbt.com/ |
---|
[2403] | 12 | Epoch: 1 |
---|
[8354] | 13 | Source0: %{name}-%{version}.tar.bz2 |
---|
[2403] | 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
[9546] | 16 | |
---|
[9926] | 17 | # MANDATORY for libtransmission |
---|
[5680] | 18 | BuildRequires: curl-devel >= @CURL_MINIMUM@ |
---|
[9926] | 19 | BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@ |
---|
| 20 | BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@ |
---|
| 21 | Requires: curl >= @CURL_MINIMUM@ |
---|
| 22 | Requires: libevent >= @LIBEVENT_MINIMUM@ |
---|
| 23 | Requires: openssl >= @OPENSSL_MINIMUM@ |
---|
| 24 | # MANDATORY for the gtk+ client |
---|
[5680] | 25 | BuildRequires: glib2-devel >= @GLIB_MINIMUM@ |
---|
| 26 | BuildRequires: gtk2-devel >= @GTK_MINIMUM@ |
---|
[9926] | 27 | Requires: glib2 >= @GLIB_MINIMUM@ |
---|
| 28 | Requires: gtk2 >= @GTK_MINIMUM@ |
---|
[2403] | 29 | |
---|
| 30 | Provides: %{name} |
---|
| 31 | |
---|
| 32 | %description |
---|
[3401] | 33 | A fast and easy BitTorrent client |
---|
[2403] | 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
| 37 | %build |
---|
| 38 | %configure --program-prefix="" |
---|
| 39 | make CFLAGS="$RPM_OPT_FLAGS" |
---|
| 40 | %install |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
[11432] | 43 | %find_lang %{name}-gtk |
---|
[2403] | 44 | %clean |
---|
| 45 | rm -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 |
---|