Summary: A Gnome based H323 teleconferencing application Name: gnomemeeting Version: &&VERSION Release: &&RELEASE URL: http://www.gnomemeeting.org/ Packager: &&PACKAGER Source0: gnomemeeting-%{version}.tar.gz License: GPL Group: Applications/Communications BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: libopenh323 = &&VERSION Requires: libpwlib >= &&VERSION Requires: GConf2 >= 1.2.0 Requires: libxml2 >= 2.5.0 BuildRequires: libxml2-devel >= 2.5.0 BuildRequires: libgtk+2.0_0-devel >= 2.0.0 BuildRequires: libGConf2_4-devel >= 1.2.0 BuildRequires: libopenh323-devel = &&VERSION BuildRequires: openldap-devel BuildRequires: libpwlib-devel = &&VERSION BuildRequires: SDL-devel BuildRequires: automake BuildRequires: autoconf BuildRequires: intltool >= 0.22 BuildRequires: pkgconfig %description GnomeMeeting is a tool to communicate with video and audio over the internet, and it includes many features. It uses the H323 protocol and is compatible with Microsoft Netmeeting and more. # NOTE: for DEGUG, cause RPM automagicly strips binaries #%define __os_install_post /usr/share/spec-helper/spec-helper -s || : %prep %setup -n gnomemeeting glib-gettextize --force --copy intltoolize --copy --force --automake libtoolize --force --copy aclocal autoheader automake -a autoconf %build if pkg-config openssl ; then CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS LDFLAGS=`pkg-config --libs openssl`; export LDFLAGS fi #export CFLAGS="-g" %configure --with-ptlib-includes=/usr/include/ptlib --with-openh323-includes=/usr/include/openh323 --with-ptlib-libs=%{_libdir} --with-openh323-libs=%{_libdir} --with-openssl-libs=%{_libdir} --with-openldap-libs=%{_libdir} make %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export AM_INSTALL_PROGRAM_FLAGS="" %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL ##menus created mkdir -p $RPM_BUILD_ROOT%{_menudir} cat <$RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}): command="%{_bindir}/%{name}" needs=X11 \ icon="$RPM_BUIL_ROOT/usr/share/pixmaps/gnomemeeting-logo.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 %find_lang gnomemeeting #rm $RPM_BUILD_ROOT%{_datadir}/applications/gnomemeeting.desktop #ln -s %{_datadir}/desktop-menu-patches/redhat-gnomemeeting.desktop $RPM_BUILD_ROOT%{_datadir}/applications/redhat-gnomemeeting.desktop %clean rm -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnomemeeting.schemas > /dev/null 2>&1 gconftool-2 --shutdown [ -f /usr/bin/i586-mandrake-linux-gnu-gnomemeeting ] && ln -s /usr/bin/i586-mandrake-linux-gnu-gnomemeeting /usr/bin/gnomemeeting [ -f /usr/bin/i586-mandrake-linux-gnu-gnomemeeting-config-tool ] && ln -s /usr/bin/i586-mandrake-linux-gnu-gnomemeeting-config-tool /usr/bin/gnomemeeting-config-tool [ -f /usr/bin/i586-mandrake-linux-gnu-aserver ] && ln -s /usr/bin/i586-mandrake-linux-gnu-aserver /usr/bin/aserver [ -f /usr/share/man/man1/i586-mandrake-linux-gnu-gnomemeeting.1.bz2 ] && ln -s /usr/share/man/man1/i586-mandrake-linux-gnu-gnomemeeting.1.bz2 /usr/share/man/man1/gnomemeeting.1.bz2 %{update_menus} %postun rm -rf /usr/bin/gnomemeeting rm -rf /usr/bin/gnomemeeting-config-tool rm -rf /usr/bin/aserver rm -rf /usr/share/man/man1/gnomemeeting.1.bz2 %{clean_menus} %files -f gnomemeeting.lang %defattr(-,root,root) %{_bindir}/gnomemeeting %{_bindir}/gnomemeeting-config-tool %{_libdir}/bonobo/servers/gnomemeeting.server #%{_datadir}/applications/redhat-gnomemeeting.desktop %{_datadir}/pixmaps/* %{_datadir}/man/*/* %{_datadir}/sounds/gnomemeeting %{_datadir}/gnomemeeting #%{_sysconfdir}/sound/events/gnomemeeting.soundlist %{_sysconfdir}/gconf/schemas/gnomemeeting.schemas %_menudir/gnomemeeting %{_datadir}/applications/%name.desktop %config(noreplace) %{_sysconfdir}/gconf/schemas/* %config(noreplace) %launchers/%name.desktop %changelog * Sat Feb 07 2004 Jan Schampera 0.99.x - rewrote spec for using it on a special Mdk92 chroot * Fri Dec 26 2003 Jan Schampera 0.99.x - updated, rewrote and using for CVS snaps * Thu Aug 21 2003 Sebastian Fischer 0.98.1-1 - update to 0.98.1 * Thu Aug 21 2003 Sebastian Fischer 0.98.0-1 - adjusted specfile for using with Mandrake (menuentries) * Wed Jun 25 2003 Jan Schampera 0.98.0-1 - rewrote specfile for using with Mandrake * Thu Jan 23 2003 Alexander Larsson 0.96.0-1 - update to 0.96.0 (final) * Wed Jan 22 2003 Tim Powers 0.95.0-2 - rebuilt * Wed Jan 8 2003 Alexander Larsson 0.95.0-1 - Update to 0.95.0 * Tue Jan 7 2003 Nalin Dahyabhai 0.94.1-4 - Rebuild * Thu Dec 12 2002 Nalin Dahyabhai - Use OpenSSL's pkg-config data, if available * Thu Oct 24 2002 Alexander Larsson 0.94.1-3 - Buildrequire openh323-devel 1.9.10-4 * Thu Oct 24 2002 Alexander Larsson 0.94.1-2 - Add patch to force speex enabled * Wed Oct 23 2002 Alexander Larsson 0.94.1-1 - Update to 0.94.1 * Wed Oct 9 2002 Alexander Larsson 0.93.1-5 - Add 64bit patch - Added ldap patch - libdir fixes * Tue Aug 27 2002 Nalin Dahyabhai 0.93.1-4 - rebuild * Sat Aug 10 2002 Elliot Lee - rebuilt with gcc-3.2 (we hope) * Thu Aug 8 2002 Alexander Larsson - Fix menu desktopfile link, fixes #70652 * Tue Jul 23 2002 Alexander Larsson 0.93.0-4 - Move desktop file to redhat-menus. Add symlink instead. * Tue Jul 23 2002 Tim Powers 0.93.0-3 - build using gcc-3.2-0.1 * Wed Jul 17 2002 Alexander Larsson 0.93.0-2 - Add gnomemeeting.server to %files * Thu Jul 11 2002 Alexander Larsson 0.93.0-1 - Update to 0.93.0 * Thu Jul 4 2002 Alexander Larsson - Add configure patch for 64bit systems * Mon Mar 11 2002 Alex Larsson 0.85.1-3 - Update to new tarball from damien * Fri Mar 8 2002 Alex Larsson 0.85.1-1 - Update to 0.85.1 from upstream * Wed Feb 27 2002 Alex Larsson 0.84.0-3 - Require GConf 1.0.8-4 * Wed Feb 27 2002 Alex Larsson 0.84.0-2 - Require GConf 1.0.8-2, shutdown gconf in %post * Mon Feb 25 2002 Alex Larsson 0.84.0-1 - Update to 0.84 * Tue Dec 4 2001 Alex Larsson - Updated to 0.12.2 * Sat Dec 1 2001 Alex Larsson - Update to 0.12 * Wed Sep 27 2001 Alex Larsson 0.11-2 - Fix translations. Had wrong name in find_lang * Wed Sep 19 2001 Alex Larsson 0.11-1 - Update to 0.11 * Wed Aug 15 2001 Alexander Larsson 0.10-2 - Added include order patch * Wed Aug 15 2001 Alexander Larsson 0.10-1 - Updated to 0.10 * Thu Jul 5 2001 Alex Larsson - Initial build.