Index: gaim.spec.in =================================================================== RCS file: /cvsroot/gaim/gaim/gaim.spec.in,v retrieving revision 1.95 diff -u -p -r1.95 gaim.spec.in --- gaim.spec.in 15 Jan 2004 22:55:09 -0000 1.95 +++ gaim.spec.in 31 May 2004 19:52:29 -0000 @@ -18,6 +18,14 @@ Provides: libgaim-remote0 Requires: gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel %endif +%{?_with_silc:BuildRequires: libsilc-devel} + +%if %{?_with_silc:1}%{!?_with_silc:0} +%package silc +Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim +Group: Applications/Internet +Requires: gaim = 1:%{version} +%endif %package devel Summary: Development headers, documentation, and libraries for Gaim. @@ -36,6 +44,11 @@ unique features, such as perl scripting, Gaim is NOT affiliated with or endorsed by America Online, Inc., Microsoft Corporation, Yahoo! Inc., or ICQ Inc. +%if %{?_with_silc:1}%{!?_with_silc:0} +%description silc +SILC (Secure Internet Live Conferencing) plugin for Gaim +%endif + %description devel The gaim-devel package contains the header files, developer @@ -53,7 +66,10 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --pr --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ - --with-perl-lib=%{buildroot}%{_prefix} + --with-perl-lib=%{buildroot}%{_prefix} \ + %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ + %{?_with_silc:--with-silc-libs=%{_libdir}/silc} + make %{?_smp_mflags} %install @@ -89,6 +105,11 @@ rm -rf %{buildroot} %{_datadir}/sounds/gaim/* %{_datadir}/applications/* +%if %{?_with_silc:1}%{!?_with_silc:0} +%files silc +%{_libdir}/gaim/libsilcgaim.* +%endif + %files devel %doc plugins/HOWTO