SUNWgnome-meeting.spec revision 19578
10139N/A#
10139N/A# spec file for package SUNWgnome-meeting
10139N/A#
12198N/A# includes module(s): ptlib, opal, ekiga
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner hawklu
10139N/A#
10139N/A# DO NOT REMOVE NEXT LINE
10139N/A# PACKAGE NOT INCLUDED IN GNOME UMBRELLA ARC
12198N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%include base.inc
10139N/A%define ekiga_libdir %{_libdir}/ekiga
11922N/A%use ptlib = ptlib.spec
10139N/A%use opal = opal.spec
10139N/A
10139N/A%define ptlib_dir %{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%base_arch/ptlib-%{ptlib.version}
10139N/A%define opal_dir %{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%base_arch/opal-%{opal.version}
10139N/A%define ptlib_opt --with-ptlib-dir=%{ptlib_dir}
10142N/A%define opal_opt --with-opal-dir=%{opal_dir}
10142N/A
11314N/A%use ekiga = ekiga.spec
10139N/A
10139N/AName: SUNWgnome-meeting
11314N/AIPS_package_name: communication/conferencing/ekiga
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Sound and Video
10139N/ASummary: GNOME video conference application
10139N/AVersion: %{default_pkg_version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright:%{name}.copyright
10139N/ALicense: GNU GENERAL PUBLIC LICENSE v3
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWxorg-clientlibs
10139N/ARequires: SUNWspeex
10139N/ARequires: SUNWlibtheora
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWmlib
10139N/ARequires: SUNWlibC
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWlibmsr
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnutls
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-meeting-root
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWevolution-data-server
10139N/ARequires: SUNWgnome-audio
10139N/ARequires: SUNWavahi-bridge-dsd
10139N/ARequires: SUNWdbus
10139N/ARequires: SUNWsigcpp
10139N/ARequires: SUNWlibsdl
10139N/ARequires: SUNWopenldapu
10139N/ARequires: SUNWlibsasl
10139N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWmlibh
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWdbus-devel
10139N/ABuildRequires: SUNWlxml-python26
10139N/ABuildRequires: SUNWavahi-bridge-dsd-devel
10139N/ABuildRequires: SUNWlibsdl-devel
10139N/ABuildRequires: SUNWaudh
10139N/A
11461N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
11461N/A%if %build_l10n
10139N/A%package l10n
10142N/AIPS_package_name: communication/conferencing/ekiga/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
11314N/A%include default-depend.inc
11959N/A%include gnome-consolidation.inc
11314N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A
10139N/Amkdir %name-%version/%base_arch
10139N/A%ptlib.prep -d %name-%version/%base_arch
10139N/A%opal.prep -d %name-%version/%base_arch
10139N/A%ekiga.prep -d %name-%version/%base_arch
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/A# to fix performace CR#6401342 on sparc
10139N/A%ifarch sparc
10139N/Aexport EXTRA_CXXFLAGS="-features=tmplife -xF=lcldata,gbldata -Qoption postopt -dataredundancy=on,-tune:optimizer:data-alignment=4 -xbuiltin=%%all"
10139N/A%else
10139N/Aexport EXTRA_CXXFLAGS="-features=tmplife -xbuiltin=%%all"
10139N/A%endif
10139N/A
10139N/A%if %cc_is_gcc
10139N/A%else
10139N/Aexport CXX="${CXX} -norunpath"
10139N/A%endif
10139N/A
10139N/A#export PWLIBDIR=`pwd`/%name-%version/%base_arch/pwlib-%{pwlib.version}
10139N/Aexport PKG_CONFIG_PATH=%{_builddir}/%name-%version/%base_arch/ptlib-%{ptlib.version}:%{_builddir}/%name-%version/%base_arch/opal-%{opal.version}:%{_pkg_config_path}
10139N/A%ptlib.build -d %name-%version/%base_arch
10139N/A%opal.build -d %name-%version/%base_arch
10139N/A%ekiga.build -d %name-%version/%base_arch
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%ptlib.install -d %name-%version/%base_arch
10139N/A%opal.install -d %name-%version/%base_arch
10139N/A%ekiga.install -d %name-%version/%base_arch
10139N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/%{ekiga.name}/pkgconfig
10139N/Arm -f $RPM_BUILD_ROOT%{_libdir}/%{ekiga.name}/lib*a
10139N/A
10139N/A%if %can_isaexec
10139N/Amkdir $RPM_BUILD_ROOT%{_bindir}/%{base_isa}
10139N/Amv $RPM_BUILD_ROOT%{_bindir}/ekiga $RPM_BUILD_ROOT%{_bindir}/%{base_isa}
10139N/Acd $RPM_BUILD_ROOT%{_bindir}
11461N/Aln -s ../lib/isaexec ekiga
10139N/A%endif
11461N/A
10142N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-[a-z]*.omf
10139N/A%endif
10139N/A
10139N/A# install man page
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache icon-cache gconf-cache
10139N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/mpl-1.0.htm
10139N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/History.txt
10139N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/ReadMe.txt
10139N/A%doc(bzip2) -d %{base_arch} opal-%{opal.version}/mpl-1.0.htm
10139N/A%doc(bzip2) -d %{base_arch} ekiga-%{ekiga.version}/COPYING
10139N/A%doc -d %{base_arch} ekiga-%{ekiga.version}/AUTHORS
10139N/A%doc(bzip2) -d %{base_arch} ekiga-%{ekiga.version}/NEWS
10139N/A%doc(bzip2) -d %{base_arch} ekiga-%{ekiga.version}/ChangeLog
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%hard %{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/%{ekiga.name}
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
12198N/A%{_datadir}/applications/*
12198N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
12078N/A%{_datadir}/pixmaps/*
12078N/A%{_datadir}/sounds
11922N/A%dir %attr (0755, root, other) %{_datadir}/gnome
11922N/A%{_datadir}/gnome/help/%{ekiga.name}/C
11416N/A%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-C.omf
11416N/A%dir %attr(0755, root, bin) %{_mandir}
11314N/A%dir %attr(0755, root, bin) %{_mandir}/*
11314N/A%{_mandir}/*/*
11258N/A%dir %attr (0755, root, other) %{_datadir}/icons
11258N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/
11190N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
11190N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps/
11070N/A%{_datadir}/icons/hicolor/16x16/apps/*
11070N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/
10979N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps/
10979N/A%{_datadir}/icons/hicolor/22x22/apps/*
10911N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/
10911N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps/
10811N/A%{_datadir}/icons/hicolor/32x32/apps/*
10811N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
10746N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
10746N/A%{_datadir}/icons/hicolor/48x48/apps/*
10730N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/64x64/
10730N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/64x64/apps/
10631N/A%{_datadir}/icons/hicolor/64x64/apps/*
10631N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/72x72/
10461N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/72x72/apps/
10461N/A%{_datadir}/icons/hicolor/72x72/apps/*
10461N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128/
10285N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128/apps/
10285N/A%{_datadir}/icons/hicolor/128x128/apps/*
10199N/A%{_datadir}/dbus-1/*/*
10208N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%dir %attr(0755, root, sys) %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/ekiga.schemas
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
10139N/A%{_datadir}/omf/%{ekiga.name}/*-[a-z]*.omf
10139N/A%endif
10139N/A
10139N/A%changelog
10139N/A* Mon Nov 08 2010 - brian.lu@oracle.com
10139N/A- Add 'License' tag
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Thu Jan 07 2009 - brian.lu@sun.com
10139N/A- Change the owner to hawklu
10139N/A* Tue Oct 27 2009 - dave.lin@sun.com
10139N/A- Changed the dependency SUNWopenldap to SUNWopenldapu as there is no SUNWopenldap on Nevada.
10139N/A* Mon Oct 19 2009 - brian.lu@sun.com
10139N/A- Add SUNWopenldap and SUNWlibsasl dependencies
10139N/A* Tue Sep 15 2009 - jedy.wang@sun.com
10139N/A- Add mlib dependency.
10139N/A* Tue Jul 14 2009 - elaine.xiong@sun.com
10139N/A- Update docs relating copyright since 3.2.5 comes.
10139N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Mon Feb 23 2009 - elaine.xiong@sunc.om
10139N/A- Remove SSE2 support to fix bugster#6808201. Because there is no
10139N/A significant performance impact brought by SSE2 support since 3.0.
10139N/A Furthermore it is inappropriate to put SSE2 binaries in pentium+mmx.
10139N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
10139N/A- Update copyright entries.
10139N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
10139N/A- bump to Ekiga 3.0.
10139N/A- change some build options to fit new version.
10139N/A- rename pwlib component to ptlib.
10139N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
10139N/A- remove -xlinkopt option that causes error in SS12.
10139N/A* Tue Sep 16 2008 - elaine.xiong@sun.com
10139N/A- Add %doc to %files for new copyright.
10139N/A* Thu Mar 27 2008 - elaine.xiong@sun.com
10139N/A- Add file SUNWgnome-meeting.copyright.
10139N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
10139N/A* Wed Nov 14 2007 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWavahi-bridge-dsd/-devel as required by ekiga.
10139N/A* Thu Oct 11 2007 - damien.carbery@sun.com
10139N/A- Remove install dependency on SUNWgnome-doc-utils and change the build
10139N/A dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
10139N/A* Fri Sep 28 2007 - laca@sun.com
10139N/A- delete SUNWxw* deps -- this pkg already depends on SUNWgnome-base-libs
10139N/A* Thu Sep 13 2007 - elaine.xiong@sun.com
10139N/A- Add SGML format man page.
10139N/A* Thu Aug 30 2007 - elaine.xiong@sun.com
10139N/A- simply cancel my last checkin about DBUS.
10139N/A* Thu Jun 28 2007 - elaine.xiong@sun.com
10139N/A- pack the DBUS service files to pkg since DBUS enabled.
10139N/A* Thu Apr 26 2007 - laca@sun.com
10139N/A- set CXX to $CXX -norunpath because libtool swallows this option sometimes
10139N/A and leaves compiler paths in the binaries, fixes 6497744
10139N/A* Sat Apr 7 2007 - elaine.xiong@sun.com
10139N/A- correct if/else statement related to EXTRA_CXXFLAGS.
10139N/A* Thu Apr 5 2007 - laca@sun.com
10139N/A- explode ekiga.spec into individual spec files for each component and
10139N/A add SSE2 optimized versions
10139N/A* Tue Mar 13 2007 - elaine.xiong@sun.com
10139N/A- cancel part of last checking to make sure each env var change is solid and
10139N/A worthful.
10139N/A* Sun Mar 11 2007 - elaine.xiong@sun.com
10139N/A- add some optimization options to get more optimized binary
10139N/A* Mon Nov 20 2006 - dave.lin@sun.com
10139N/A- add patch comment
10139N/A* Thu Otc 26 2006 - dave.lin@sun.com
10139N/A- Move patch ekiga-06-opal-jitter.diff, ekiga-07-conststr.diff from
10139N/A spec-files/Solaris/patches to spec-files/patches, rename the patch
10139N/A to solve the patch number conflict there(the new name are
10139N/A ekiga-11-opal-jitter.diff, ekiga-12-conststr.diff)
10139N/A* Thu Sep 07 2006 - damien.carbery@sun.com
10139N/A- Remove upstream patch, ekiga-08-pwlib-audiodev.diff.
10139N/A* Mon Aug 28 2006 - dave.lin@sun.com
10139N/A- add patch ekiga-08-pwlib-audiodev.diff to fix the bug CR#6462870
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Mon Jul 10 2006 - dave.lin@sun.com
10139N/A- change to use Ekiga 2.0.2 release
10139N/A- add patch ekiga-08-pwlib-audiodev.diff to get Ekiga worked on Sun Ray
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Fri Jun 16 2006 - dave.lin@sun.com
10139N/A- fix the libraries missed problem
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Mon Jun 01 2006 - dave.lin@sun.com
10139N/A- add BuildRequires SUNWlxml-python
10139N/A- comment out Build/Requires SUNWdbus,SUNWdbus-devel since dbus's removed from
10139N/A the build temporarily.
10139N/A* Sat Jun 3 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Fri Jun 02 2006 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-doc-utils/-devel otherwise build fails.
10139N/A* Fri May 26 2006 - dave.lin@sun.com
10139N/A- add "-features=tmplife" in CXXFLAGS to fix hang problem
10139N/A* Mon May 15 2006 - dave.lin@sun.com
10139N/A- add patch ekiga-05-pwlib-jitter.diff, ekiga-06-opal-jitter.diff
10139N/A to fix CR#6416969, add patch ekiga-07-conststr.diff to
10139N/A fix bug CR#6401342 on i386, and to fix this bug on sparc, add options in
10139N/A CFLAGS, CXXFLAGS
10139N/A* Fri Apr 14 2006 - dave.lin@sun.com
10139N/A- delete SUNW_Category tag to use the general one
10139N/A- change all reference of "gnomemeeting" to "ekiga"
10139N/A* Fri Mar 31 2006 - dave.lin@sun.com
10139N/A- initial version created
10139N/A
10139N/A
10139N/A
10139N/A