transmission/transmission-gtk.spec.in

77 lines
2.1 KiB
RPMSpec
Raw Normal View History

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
URL: http://www.transmissionbt.com/
2007-07-18 23:13:30 +00:00
Epoch: 1
Source0: %{name}-%{version}.tar.bz2
2007-07-18 23:13:30 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
# MANDATORY for libtransmission
BuildRequires: curl-devel >= @CURL_MINIMUM@
BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
Requires: curl >= @CURL_MINIMUM@
Requires: libevent >= @LIBEVENT_MINIMUM@
Requires: openssl >= @OPENSSL_MINIMUM@
# MANDATORY for the gtk+ client
BuildRequires: glib2-devel >= @GLIB_MINIMUM@
BuildRequires: gtk2-devel >= @GTK_MINIMUM@
Requires: glib2 >= @GLIB_MINIMUM@
Requires: gtk2 >= @GTK_MINIMUM@
# OPTIONAL for the gtk+ client... see configure.ac for details
BuildRequires: GConf2-devel >= @GCONF2_MINIMUM@
BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
Requires: GConf2 >= @GCONF2_MINIMUM@
Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
Requires: libcanberra >= @CANBERRA_MINIMUM@
Requires: libnotify >= @LIBNOTIFY_MINIMUM@
2007-07-18 23:13:30 +00:00
Provides: %{name}
%description
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
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
2007-07-18 23:13:30 +00:00
%defattr(-,root,root)
%doc AUTHORS NEWS README
%attr(755,root,root) %{_bindir}/%{name}*
2007-07-18 23:13:30 +00:00
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*
%{_datadir}/icons/*
%{_datadir}/%{name}/web/*
%{_datadir}/man/man1/%{name}*
%{_datadir}/locale/*
2007-07-18 23:13:30 +00:00
%changelog
* Wed Jan 13 2010 Charles Kerr <charles@transmissionbt.com>
- made the GConf dependency explicit
- annotated the Depends section to show which libraries are optional
* Thu Mar 5 2009 Gijs <info@bsnw.nl>
- fixed %files section
- added Source0
2008-12-16 00:20:44 +00:00
* Wed Jul 18 2006 Charles Kerr <charles@transmissionbt.com>
- first draft at a spec file, cribbed from Pan's spec file