fi
AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno")
-CANBERRA_MINIMUM=0.10
- AC_SUBST(CANBERRA_MINIMUM)
+# MANDATORY for libtransmission
CURL_MINIMUM=7.16.3
- AC_SUBST(CURL_MINIMUM)
+AC_SUBST(CURL_MINIMUM)
+LIBEVENT_MINIMUM=1.4.5
+AC_SUBST(LIBEVENT_MINIUM)
+OPENSSL_MINIMUM=0.9.4
+AC_SUBST(OPENSSL_MINIMUM)
+
+# MANDATORY for the GTK+ client
+GLIB_MINIMUM=2.6.0
+AC_SUBST(GLIB_MINIMUM)
+GTK_MINIMUM=2.6.0
+AC_SUBST(GTK_MINIMUM)
+
+# OPTIONAL for the GTK+ client
+# play the XDG "download done" sound...
+CANBERRA_MINIMUM=0.10
+AC_SUBST(CANBERRA_MINIMUM)
+# inhibit hibernation when a torrent is active...
DBUS_GLIB_MINIMUM=0.70
- AC_SUBST(DBUS_GLIB_MINIMUM)
+AC_SUBST(DBUS_GLIB_MINIMUM)
+# register the GTK+ client as a magnet link handler...
GCONF2_MINIMUM=2.20.0
- AC_SUBST(GCONF2_MINIMUM)
+AC_SUBST(GCONF2_MINIMUM)
+# implement "watch" directories to use new .torrent files...
GIO_MINIMUM=2.15.5
- AC_SUBST(GIO_MINIMUM)
-GLIB_MINIMUM=2.6.0
- AC_SUBST(GLIB_MINIMUM)
-GTK_MINIMUM=2.6.0
- AC_SUBST(GTK_MINIMUM)
-LIBEVENT_MINIMUM=1.4.5
- AC_SUBST(LIBEVENT_MINIUM)
+AC_SUBST(GIO_MINIMUM)
+# pop up a "download done" notice...
LIBNOTIFY_MINIMUM=0.4.3
- AC_SUBST(LIBNOTIFY_MINIMUM)
-OPENSSL_MINIMUM=0.9.4
- AC_SUBST(OPENSSL_MINIMUM)
+AC_SUBST(LIBNOTIFY_MINIMUM)
+
AC_PROG_CC
AC_PROG_CXX
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+# MANDATORY for libtransmission
BuildRequires: curl-devel >= @CURL_MINIMUM@
-BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
-BuildRequires: glib2-devel >= @GLIB_MINIMUM@
-BuildRequires: gtk2-devel >= @GTK_MINIMUM@
-BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
-BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
-
Requires: curl >= @CURL_MINIMUM@
-Requires: dbus-glib >= @DBUS_GLIB_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: libevent >= @LIBEVENT_MINIMUM@
Requires: libnotify >= @LIBNOTIFY_MINIMUM@
-Requires: openssl >= @OPENSSL_MINIMUM@
Provides: %{name}
%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