From: <the...@us...> - 2006-09-11 06:16:01
|
Revision: 17245 http://svn.sourceforge.net/gaim/?rev=17245&view=rev Author: thekingant Date: 2006-09-10 23:15:58 -0700 (Sun, 10 Sep 2006) Log Message: ----------- * Don't install gaim-notifications-example when make installing * Have gaim-notifications-example placed in the doc dir when installing Gaim from RPMs * Add the gconf schema to the Gaim RPM * Alphabetize some stuff Modified Paths: -------------- trunk/gaim.spec.in trunk/libgaim/Makefile.am Modified: trunk/gaim.spec.in =================================================================== --- trunk/gaim.spec.in 2006-09-11 04:59:22 UTC (rev 17244) +++ trunk/gaim.spec.in 2006-09-11 06:15:58 UTC (rev 17245) @@ -28,17 +28,17 @@ # Generic build requirements BuildRequires: libtool, pkgconfig, intltool, gettext +%{?_with_avahi:BuildRequires: avahi-compat-howl avahi-compat-howl-devel} +%{?_with_dbus:BuildRequires: dbus-devel >= 0.35} +%{?_with_gadugadu:BuildRequires: libgadu-devel} %{!?_without_gstreamer:BuildRequires: gstreamer-devel} -%{?_with_avahi:BuildRequires: avahi-compat-howl avahi-compat-howl-devel} +%{!?_without_gtkspell:BuildRequires: gtkspell-devel} %{?_with_howl:BuildRequires: howl-devel} -%{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} %{?_with_meanwhile:BuildRequires: meanwhile-devel} -%{?_with_gadugadu:BuildRequires: libgadu-devel} -%{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} %{?_with_mono:BuildRequires: mono-devel} -%{?_with_dbus:BuildRequires: dbus-devel >= 0.35} -%{!?_without_gtkspell:BuildRequires: gtkspell-devel} %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} +%{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} +%{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} # For some reason perl isn't always automatically detected as a requirement :( Requires: perl @@ -63,6 +63,11 @@ %endif %endif +%package devel +Summary: Development headers, documentation, and libraries for Gaim. +Group: Applications/Internet +Requires: pkgconfig, gaim = %{epoch}:%{version} + %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} %package bonjour Summary: Bonjour plugin for Gaim @@ -70,9 +75,9 @@ Requires: gaim = %{epoch}:%{version} %endif -%if 0%{?_with_silc:1} -%package silc -Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim +%if 0%{?_with_gadugadu:1} +%package gadugadu +Summary: Gadu-Gadu plugin for Gaim using the libgadu library Group: Applications/Internet Requires: gaim = %{epoch}:%{version} %endif @@ -84,32 +89,27 @@ Requires: gaim = %{epoch}:%{version} %endif -%if 0%{?_with_gadugadu:1} -%package gadugadu -Summary: Gadu-Gadu plugin for Gaim using the libgadu library +%if 0%{?_with_mono:1} +%package mono +Summary: Mono .NET plugin support for Gaim Group: Applications/Internet Requires: gaim = %{epoch}:%{version} %endif -%if 0%{?_with_tcl:1} -%package tcl -Summary: Tcl scripting support for Gaim +%if 0%{?_with_silc:1} +%package silc +Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim Group: Applications/Internet Requires: gaim = %{epoch}:%{version} %endif -%if 0%{?_with_mono:1} -%package mono -Summary: Mono .NET plugin support for Gaim +%if 0%{?_with_tcl:1} +%package tcl +Summary: Tcl scripting support for Gaim Group: Applications/Internet Requires: gaim = %{epoch}:%{version} %endif -%package devel -Summary: Development headers, documentation, and libraries for Gaim. -Group: Applications/Internet -Requires: pkgconfig, gaim = %{epoch}:%{version} - %description Gaim allows you to talk to anyone using a variety of messaging protocols, including AIM, ICQ, IRC, Yahoo!, Novell Groupwise, MSN @@ -123,14 +123,19 @@ Gaim is NOT affiliated with or endorsed by America Online, Inc., Microsoft Corporation, Yahoo! Inc., or ICQ Inc. +%description devel +The gaim-devel package contains the header files, developer +documentation, and libraries required for development of gaim scripts +and plugins. + %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} %description bonjour Bonjour plugin for Gaim %endif -%if 0%{?_with_silc:1} -%description silc -SILC (Secure Internet Live Conferencing) plugin for Gaim +%if 0%{?_with_gadugadu:1} +%description gadugadu +Gadu-Gadu plugin for Gaim using the libgadu library %endif %if 0%{?_with_meanwhile:1} @@ -138,28 +143,23 @@ Lotus Sametime plugin for Gaim using the Meanwhile library %endif -%if 0%{?_with_gadugadu:1} -%description gadugadu -Gadu-Gadu plugin for Gaim using the libgadu library +%if 0%{?_with_mono:1} +%description mono +Mono plugin loader for Gaim. This package will allow you to write or +use Gaim plugins written in the .NET programming language. %endif +%if 0%{?_with_silc:1} +%description silc +SILC (Secure Internet Live Conferencing) plugin for Gaim +%endif + %if 0%{?_with_tcl:1} %description tcl Tcl plugin loader for Gaim. This package will allow you to write or use Gaim plugins written in the Tcl programming language. %endif -%if 0%{?_with_mono:1} -%description mono -Mono plugin loader for Gaim. This package will allow you to write or -use Gaim plugins written in the .NET programming language. -%endif - -%description devel -The gaim-devel package contains the header files, developer -documentation, and libraries required for development of gaim scripts -and plugins. - %prep %setup -q -n %{name}-@VERSION@ @@ -171,17 +171,16 @@ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ - --with-ao=%{_libdir} \ + %{!?_with_dbus:--disable-dbus} \ + %{?_without_gstreamer:--disable-gstreamer} \ + %{?_without_gtkspell:--disable-gtkspell} \ + %{?_with_mono:--enable-mono} \ + %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \ - %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ + %{?_with_sasl:--enable-cyrus-sasl} \ %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ %{?_with_silc:--with-silc-libs=%{_libdir}/silc} \ - %{?_with_mono:--enable-mono} \ - %{!?_with_tcl:--disable-tcl} \ - %{!?_with_dbus:--disable-dbus} \ - %{?_without_gtkspell:--disable-gtkspell} \ - %{?_with_sasl:--enable-cyrus-sasl} \ - %{?_without_gstreamer:--disable-gstreamer} + %{!?_with_tcl:--disable-tcl} make %{?_smp_mflags} @@ -197,38 +196,39 @@ make DESTDIR=$RPM_BUILD_ROOT install %endif +# Delete files that we don't want to put in any of the RPMs rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' +%if 0%{!?_with_gadugadu:1} +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libgg.so +%endif + %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libbonjour.so %endif -%if 0%{!?_with_silc:1} -rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsilcgaim.so -%endif - %if 0%{!?_with_meanwhile:1} rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsametime.so %endif -%if 0%{!?_with_gadugadu:1} -rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libgg.so +%if 0%{!?_with_mono:1} +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/mono.so +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.dll %endif +%if 0%{!?_with_silc:1} +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsilcgaim.so +%endif + %if 0%{!?_with_tcl:1} rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/tcl.so %endif -%if 0%{!?_with_mono:1} -rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/mono.so -rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.dll -%endif - find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v libbonjour.so | \ @@ -275,27 +275,37 @@ %{_libdir}/libgaim-client.so.* %{_datadir}/dbus-1/services/gaim.service %doc README.dbus +%doc libgaim/gaim-notifications-example %endif -%if 0%{?_with_howl:1} || 0%{?_with_avahi:1} -%files bonjour +%files devel %defattr(-, root, root) -%{_libdir}/gaim/libbonjour.* -%endif +%doc ChangeLog.API +%doc HACKING +%doc PLUGIN_HOWTO +%doc PROGRAMMING_NOTES -%if 0%{?_with_silc:1} -%files silc -%defattr(-, root, root) - -%{_libdir}/gaim/libsilcgaim.* +%dir %{_includedir}/gaim +%{_includedir}/gaim/*.h +%dir %{_includedir}/gaim/gnt +%{_includedir}/gaim/gnt/*.h +%dir %{_includedir}/gnt +%{_includedir}/gnt/*.h +%{_libdir}/libgaim.so +%{_libdir}/libgnt.so +%{_libdir}/pkgconfig/gaim.pc +%{_libdir}/pkgconfig/gnt.pc +%{_datadir}/aclocal/gaim.m4 +%if 0%{?_with_dbus:1} +%{_libdir}/libgaim-client.so %endif -%if 0%{?_with_meanwhile:1} -%files meanwhile +%if 0%{?_with_howl:1} || 0%{?_with_avahi:1} +%files bonjour %defattr(-, root, root) -%{_libdir}/gaim/libsametime.* +%{_libdir}/gaim/libbonjour.* %endif %if 0%{?_with_gadugadu:1} @@ -305,11 +315,11 @@ %{_libdir}/gaim/libgg.* %endif -%if 0%{?_with_tcl:1} -%files tcl +%if 0%{?_with_meanwhile:1} +%files meanwhile %defattr(-, root, root) -%{_libdir}/gaim/tcl.so +%{_libdir}/gaim/libsametime.* %endif %if 0%{?_with_mono:1} @@ -320,27 +330,18 @@ %{_libdir}/gaim/*.dll %endif -%files devel +%if 0%{?_with_silc:1} +%files silc %defattr(-, root, root) -%doc ChangeLog.API -%doc HACKING -%doc PLUGIN_HOWTO -%doc PROGRAMMING_NOTES +%{_libdir}/gaim/libsilcgaim.* +%endif -%dir %{_includedir}/gaim -%{_includedir}/gaim/*.h -%dir %{_includedir}/gaim/gnt -%{_includedir}/gaim/gnt/*.h -%dir %{_includedir}/gnt -%{_includedir}/gnt/*.h -%{_libdir}/libgaim.so -%{_libdir}/libgnt.so -%{_libdir}/pkgconfig/gaim.pc -%{_libdir}/pkgconfig/gnt.pc -%{_datadir}/aclocal/gaim.m4 -%if 0%{?_with_dbus:1} -%{_libdir}/libgaim-client.so +%if 0%{?_with_tcl:1} +%files tcl +%defattr(-, root, root) + +%{_libdir}/gaim/tcl.so %endif %changelog Modified: trunk/libgaim/Makefile.am =================================================================== --- trunk/libgaim/Makefile.am 2006-09-11 04:59:22 UTC (rev 17244) +++ trunk/libgaim/Makefile.am 2006-09-11 06:15:58 UTC (rev 17245) @@ -192,7 +192,7 @@ # scripts -bin_SCRIPTS = gaim-notifications-example gaim-remote gaim-send gaim-send-async gaim-url-handler +bin_SCRIPTS = gaim-remote gaim-send gaim-send-async gaim-url-handler endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |