Changeset 9926


Ignore:
Timestamp:
Jan 13, 2010, 10:32:46 PM (12 years ago)
Author:
charles
Message:

(trunk) try to help packagers a bit by adding annotation to say which prerequisites are mandatory and which are optional

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r9913 r9926  
    3838AM_CONDITIONAL(TR_UNSTABLE, test "x$supported_build" = "xno")
    3939
     40# MANDATORY for libtransmission
     41CURL_MINIMUM=7.16.3
     42AC_SUBST(CURL_MINIMUM)
     43LIBEVENT_MINIMUM=1.4.5
     44AC_SUBST(LIBEVENT_MINIUM)
     45OPENSSL_MINIMUM=0.9.4
     46AC_SUBST(OPENSSL_MINIMUM)
     47
     48# MANDATORY for the GTK+ client
     49GLIB_MINIMUM=2.6.0
     50AC_SUBST(GLIB_MINIMUM)
     51GTK_MINIMUM=2.6.0
     52AC_SUBST(GTK_MINIMUM)
     53
     54# OPTIONAL for the GTK+ client
     55# play the XDG "download done" sound...
    4056CANBERRA_MINIMUM=0.10
    41  AC_SUBST(CANBERRA_MINIMUM)
    42 CURL_MINIMUM=7.16.3
    43  AC_SUBST(CURL_MINIMUM)
     57AC_SUBST(CANBERRA_MINIMUM)
     58# inhibit hibernation when a torrent is active...
    4459DBUS_GLIB_MINIMUM=0.70
    45  AC_SUBST(DBUS_GLIB_MINIMUM)
     60AC_SUBST(DBUS_GLIB_MINIMUM)
     61# register the GTK+ client as a magnet link handler...
    4662GCONF2_MINIMUM=2.20.0
    47  AC_SUBST(GCONF2_MINIMUM)
     63AC_SUBST(GCONF2_MINIMUM)
     64# implement "watch" directories to use new .torrent files...
    4865GIO_MINIMUM=2.15.5
    49  AC_SUBST(GIO_MINIMUM)
    50 GLIB_MINIMUM=2.6.0
    51  AC_SUBST(GLIB_MINIMUM)
    52 GTK_MINIMUM=2.6.0
    53  AC_SUBST(GTK_MINIMUM)
    54 LIBEVENT_MINIMUM=1.4.5
    55  AC_SUBST(LIBEVENT_MINIUM)
     66AC_SUBST(GIO_MINIMUM)
     67# pop up a "download done" notice...
    5668LIBNOTIFY_MINIMUM=0.4.3
    57  AC_SUBST(LIBNOTIFY_MINIMUM)
    58 OPENSSL_MINIMUM=0.9.4
    59  AC_SUBST(OPENSSL_MINIMUM)
     69AC_SUBST(LIBNOTIFY_MINIMUM)
     70
    6071
    6172AC_PROG_CC
  • trunk/transmission.spec.in

    r9546 r9926  
    1515BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
    1616
     17# MANDATORY for libtransmission
    1718BuildRequires: curl-devel >= @CURL_MINIMUM@
    18 BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
     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
    1925BuildRequires: glib2-devel >= @GLIB_MINIMUM@
    2026BuildRequires: gtk2-devel >= @GTK_MINIMUM@
    21 BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
    22 BuildRequires: libevent-devel >= @LIBEVENT_MINIMUM@
    23 BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
    24 BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
    25 
    26 Requires: curl >= @CURL_MINIMUM@
    27 Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
    2827Requires: glib2 >= @GLIB_MINIMUM@
    2928Requires: gtk2 >= @GTK_MINIMUM@
     29# OPTIONAL for the gtk+ client... see configure.ac for details
     30BuildRequires: GConf2-devel >= @GCONF2_MINIMUM@
     31BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
     32BuildRequires: libcanberra-devel >= @CANBERRA_MINIMUM@
     33BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
     34Requires: GConf2 >= @GCONF2_MINIMUM@
     35Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
    3036Requires: libcanberra >= @CANBERRA_MINIMUM@
    31 Requires: libevent >= @LIBEVENT_MINIMUM@
    3237Requires: libnotify >= @LIBNOTIFY_MINIMUM@
    33 Requires: openssl >= @OPENSSL_MINIMUM@
    3438
    3539Provides: %{name}
     
    6367%changelog
    6468
     69* Wed Jan 13 2010 Charles Kerr <charles@transmissionbt.com>
     70- made the GConf dependency explicit
     71- annotated the Depends section to show which libraries are optional
    6572* Thu Mar 5 2009 Gijs <info@bsnw.nl>
    6673- fixed %files section
Note: See TracChangeset for help on using the changeset viewer.