%define their_ver 0.96.1 %define ver 0.96.1 %define rel 2mdk %define last_name gnomemeeting %define pwlib_version 1.4.7-2mdk %define openh323_version 1.11.2-4mdk Summary: Gnome H.323 compatible client Name: gnomemeeting Version: %{ver} Release: %{rel} License: GPL Group: Video BuildRequires: libgnomeui2-devel >= 2.0.0 Buildrequires: libldap2-devel libsasl7-devel openssl-devel BuildRequires: openh323_1-devel >= %{openh323_version} Buildrequires: pwlib1-devel >= %{pwlib_version} BuildRequires: libGConf-devel BuildRequires: libSDL1.2-devel BuildRequires: automake, libjpeg62-devel, libdb3.3-devel BuildRequires: autoconf, pam-devel BuildRequires: intltool >= 0.25 Source: http://130.104.229.225/gnomemeeting/downloads/%{last_name}-%{their_ver}.tar.bz2 Source1:%{name}_icons.tar.bz2 URL: http://www.gnomemeeting.org BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: pwlib1 >= %{pwlib_version} Requires: openh323_1 >= %{openh323_version} Requires: GConf2 >= 1.2.0 Conflicts: dynamic <= 0.3-2mdk %description GnomeMeeting is a tool to communicate with video and audio over the internet. It uses the H323 protocol and is compatible with Microsoft Netmeeting. %prep %setup -q -n %{last_name}-%{their_ver} tar xfj %{SOURCE1} glib-gettextize --force --copy intltoolize --copy --force --automake libtoolize --force --copy aclocal autoheader automake -a autoconf %build export WANT_AUTOCONF_2_5=1 #sh ./autogen.sh %configure2_5x --with-openh323-includes=%{_includedir}/openh323 \ --disable-install-schemas --program-prefix="" #find . -name Makefile | xargs perl -p -i -e 's@-lpthread@-lpthread -lartsc@'; make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT %makeinstall %find_lang gnomemeeting #icons entries mkdir -p $RPM_BUILD_ROOT%{_iconsdir} mkdir -p $RPM_BUILD_ROOT%{_liconsdir} mkdir -p $RPM_BUILD_ROOT%{_miconsdir} cp -a %{name}-16.png $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png cp -a %{name}-32.png $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png cp -a %{name}-48.png $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png #%menu entries mkdir -p $RPM_BUILD_ROOT%{_menudir} cat << EOF >$RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}): command="%{_bindir}/%{name}" needs="x11" \ icon="%{name}.png" section="Multimedia/Video" \ title="Gnomemeeting" longtitle="Gnomemeeting" EOF #chmod 0644 $RPM_BUILD_DIR/%{last_name}-%{their_ver}/{README,COPYING,ChangeLog,FAQ,AUTHORS,INSTALL,TODO} %define launchers /etc/dynamic/launchers/webcam # dynamic support mkdir -p $RPM_BUILD_ROOT%launchers cat > $RPM_BUILD_ROOT%launchers/%name.desktop << EOF [Desktop Entry] Name=Gnomemeeting \$device Comment=Gnomemeeting TryExec=/usr/bin/gnomemeeting Exec=/usr/bin/gnomemeeting Terminal=false Icon=gnomemeeting.png Type=Application EOF %post GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnomemeeting.schemas > /dev/null %{update_menus} update-alternatives --install %{launchers}/kde.desktop webcam.kde.dynamic %launchers/%name.desktop 40 update-alternatives --install %{launchers}/gnome.desktop webcam.gnome.dynamic %launchers/%name.desktop 40 %postun %{clean_menus} if [ $1 = 0 ]; then update-alternatives --remove webcam.kde.dynamic %launchers/%name.desktop update-alternatives --remove webcam.gnome.dynamic %launchers/%name.desktop fi %clean rm -rf $RPM_BUILD_ROOT %files -f gnomemeeting.lang %defattr(-,root,root) %doc README COPYING ChangeLog FAQ AUTHORS INSTALL TODO %{_bindir}/* %{_datadir}/applications/%name.desktop %{_libdir}/bonobo/servers/%name.server %{_datadir}/pixmaps/* %{_datadir}/sounds/%{name} %{_datadir}/%{name} %{_mandir}/*/* %config(noreplace) %{_sysconfdir}/sound/events/* %{_menudir}/%{name} %{_miconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %config(noreplace) %{_sysconfdir}/gconf/schemas/* %config(noreplace) %launchers/%name.desktop %changelog * Mon Mar 03 2003 Florin <florin@mandrakesoft.com> 0.96.1-2mdk - update the pwlib and openh323 Requires versions * Mon Mar 03 2003 Florin <florin@mandrakesoft.com> 0.96.1-1mdk - 0.96.1 * Fri Feb 28 2003 Florin <florin@mandrakesoft.com> 0.96-4mdk - rebuild * Mon Feb 24 2003 Florin <florin@mandrakesoft.com> 0.96-3mdk - add the MicroTelco patch * Mon Jan 27 2003 Florin <florin@mandrakesoft.com> 0.96-2mdk - really final release * Thu Jan 23 2003 Florin <florin@mandrakesoft.com> 0.96-1mdk - 0.96 * Mon Jan 20 2003 Florin <florin@mandrakesoft.com> 0.95-0.20030120.1mdk - 2003-20-01 - fix the gconf-related commands (thx to F. Crozat) - add some BuildRequires (thx to Michael Reinsch) * Fri Oct 25 2002 Florin <florin@mandrakesoft.com> 0.94-0.1.1mdk - 0.94.1 - new icons - move to the video group - several new fixes/adaptions * Wed Aug 14 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.93-3mdk - Automated rebuild with gcc 3.2-0.3mdk * Mon Aug 05 2002 Florin <florin@mandrakesoft.com> 0.93-2mdk - 0.93.1 * Thu Aug 01 2002 Florin <florin@mandrakesoft.com> 0.93-1mdk - 0.93 - ugly add of a -lartsc - add the bonobo file * Thu Jul 25 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.92-0.4mdk - Automated rebuild with gcc3.2 * Mon Jul 22 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.92-0.3mdk - Fix BuildRequires * Mon Jun 17 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.92-0.2mdk - Fix schema registration * Mon Jun 17 2002 Florin <florin@mandrakesoft.com> 0.92-0.1mdk - 0.92.1 * Wed Jun 12 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.86-0.2mdk - Relax Requires: for pwlib and openh323. Florin may change that... - Patch0: Include the correct <config.h> header. It will correctly define ENABLE_NLS so that further including <libintl.h> won't be messed up. * Mon May 06 2002 Florin <florin@mandrakesoft.com> 0.86-0.1mdk - 0.86 snapshot * Thu Mar 21 2002 Florin <florin@mandrakesoft.com> 0.85-2mdk - add libGConf-devel in BuildRequires (thx to DUCLOS Andre) * Tue Mar 12 2002 Florin <florin@mandrakesoft.com> 0.85-1mdk - 0.85.0 * Tue Feb 26 2002 Florin <florin@mandrakesoft.com> 0.84-1mdk - 0.84.0 - compile with disable gconf and add it in post - use png icons - add the schemas file in the file list * Wed Dec 05 2001 Florin <florin@mandrakesoft.com> 0.12-4mdk - a new source 0.12-2 that fixes some bugs * Fri Nov 30 2001 Florin <florin@mandrakesoft.com> 0.12-3mdk - new sources that fix some connexion bug * Thu Nov 29 2001 Florin <florin@mandrakesoft.com> 0.12-2mdk - remove the --disable-crash-dialog - Thx to F.Crozat * Thu Nov 29 2001 Florin <florin@mandrakesoft.com> 0.12-1mdk - 0.12 - re --noapplet with --disable-crash-dialog * Tue Nov 20 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.12-0.2mdk - fix x86 specific perl -pi calls in spec file - should be arch neutral now * Mon Nov 19 2001 Florin <florin@mandrakesoft.com> 0.12-0.1mdk - 18-11-01 * Mon Nov 19 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11-4mdk - Enforce dependencies - Patch0: fix compilation with latest version of GNOME1 platform * Tue Oct 23 2001 Florin <florin@mandrakesoft.com> 0.11-3mdk - new pwlib1 and openh323_1 * Fri Oct 19 2001 Florin <florin@mandrakesoft.com> 0.11-2mdk - rebuild for db3 * Wed Sep 19 2001 Florin <florin@mandrakesoft.com> 0.11-1mdk - 0.11 * Mon Sep 17 2001 Stefan van der Eijk <stefan@eijk.nu> 0.11-0.PRE3.3mdk - BuildRequires: gettext-devel - Remove redundant BuildRequires * Wed Sep 12 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.11-0.PRE3.2mdk - added dynamic desktop entry * Sun Aug 26 2001 Florin <florin@mandrakesoft.com> 0.11-0.PRE3.1mdk - update the versions in Requires & Buildrequires sections - use /usr/include/openh323 instead of /usr/include/oh323 - use -lh323_linux_x86_r instead if -loh323 - 0.11PRE3 * Sun Aug 26 2001 Florin <florin@mandrakesoft.com> 0.10-8mdk - add the versions in the Require section - fix the permissions of some doc files * Mon Aug 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.10-7mdk - Fix menu entry for applet support - Add missing directory * Mon Aug 20 2001 Florin <florin@mandrakesoft.com> 0.10-6mdk - rebuild due too pwlib fixes * Sun Aug 19 2001 Florin <florin@mandrakesoft.com> 0.10-5mdk - update the xpm icons * Sun Aug 19 2001 Florin <florin@mandrakesoft.com> 0.10-4mdk - new modified sources * Sat Aug 18 2001 Florin <florin@mandrakesoft.com> 0.10-3mdk - slighlty modified sources - use the new PTLIB_INCLUDE_DIR & OPENH323_INCLUDE_DIR var - don't need the old patches anymore - add the ptlib patch because of pwlib * Thu Aug 16 2001 Florin <florin@mandrakesoft.com> 0.10-2mdk - added patches (more elegant) * Tue Aug 14 2001 Florin <florin@mandrakesoft.com> 0.10-1mdk - first Mandrake release