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