SUNWgnome-meeting.spec revision 20060
10139N/A#
10139N/A# spec file for package SUNWgnome-meeting
10139N/A#
15354N/A# includes module(s): ptlib, opal, ekiga
10139N/A#
16307N/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#
18030N/A%define owner hawklu
10139N/A#
10139N/A# DO NOT REMOVE NEXT LINE
16333N/A# PACKAGE NOT INCLUDED IN GNOME UMBRELLA ARC
10139N/A#
10139N/A%include Solaris.inc
10430N/A
10430N/A%include base.inc
10430N/A%define ekiga_libdir %{_libdir}/ekiga
15354N/A%use ptlib = ptlib.spec
10430N/A%use opal = opal.spec
10430N/A
15354N/A%define ptlib_dir ../ptlib-%{ptlib.version}
16772N/A%define opal_dir ../opal-%{opal.version}
15354N/A%define ptlib_opt --with-ptlib-dir=%{ptlib_dir}
16772N/A%define opal_opt --with-opal-dir=%{opal_dir}
10430N/A
10139N/A%use ekiga = ekiga.spec
10139N/A
10139N/AName: SUNWgnome-meeting
18688N/AIPS_package_name: communication/conferencing/ekiga
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Sound and Video
10139N/ASummary: GNOME video conference application
10430N/AVersion: %{ekiga.version}
11232N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12677N/ASUNW_Copyright:%{name}.copyright
10139N/ALicense: GNU GENERAL PUBLIC LICENSE v3
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
16401N/A%include default-depend.inc
16401N/A%include gnome-consolidation.inc
16401N/ARequires: SUNWxorg-clientlibs
16401N/ARequires: SUNWspeex
17317N/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
16307N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-meeting-root
10139N/ARequires: SUNWdesktop-cache
11931N/ARequires: SUNWevolution-data-server
15354N/ARequires: SUNWgnome-audio
15354N/ARequires: SUNWavahi-bridge-dsd
15354N/ARequires: SUNWdbus
17613N/ARequires: SUNWsigcpp
17560N/ARequires: SUNWlibsdl
16401N/ARequires: SUNWopenldapu
17317N/ARequires: SUNWlibsasl
10139N/ABuildRequires: SUNWgtk2-devel
11387N/ABuildRequires: SUNWmlibh
15354N/ABuildRequires: SUNWgnome-config-devel
18993N/ABuildRequires: SUNWgnome-doc-utils
11931N/ABuildRequires: SUNWdbus-devel
10430N/ABuildRequires: SUNWlxml-python26
18850N/ABuildRequires: SUNWavahi-bridge-dsd-devel
10139N/ABuildRequires: SUNWlibsdl-devel
10139N/ABuildRequires: SUNWaudh
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: communication/conferencing/ekiga/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10430N/ARequires: %{name}
10430N/A%endif
10430N/A
15354N/A%prep
10430N/Arm -rf %name-%version
10430N/Amkdir %name-%version
11232N/A
11232N/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
17560N/Agzcat %SOURCE0 | tar xf -
10434N/A
10430N/A%build
10139N/A# to fix performace CR#6401342 on sparc
10430N/A%ifarch sparc
10533N/Aexport EXTRA_CXXFLAGS="-features=tmplife -xF=lcldata,gbldata -Qoption postopt -dataredundancy=on,-tune:optimizer:data-alignment=4 -xbuiltin=%%all"
10533N/A%else
10533N/Aexport EXTRA_CXXFLAGS="-features=tmplife -xbuiltin=%%all"
10533N/A%endif
10533N/A
15354N/A%if %cc_is_gcc
15354N/A%else
15354N/Aexport CXX="${CXX} -norunpath"
10430N/A%endif
10430N/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}
10430N/A%ptlib.build -d %name-%version/%base_arch
10430N/A%opal.build -d %name-%version/%base_arch
15354N/A%ekiga.build -d %name-%version/%base_arch
10430N/A
10430N/A%install
15354N/Arm -rf $RPM_BUILD_ROOT
15354N/A
10430N/A%ptlib.install -d %name-%version/%base_arch
10430N/A%opal.install -d %name-%version/%base_arch
10430N/A%ekiga.install -d %name-%version/%base_arch
10430N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/%{ekiga.name}/pkgconfig
10430N/Arm -f $RPM_BUILD_ROOT%{_libdir}/%{ekiga.name}/lib*a
10430N/A
10430N/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}
10139N/Aln -s ../lib/isaexec ekiga
10139N/A%endif
10139N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
11232N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
11232N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
11232N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-[a-z]*.omf
11232N/A%endif
11232N/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}
16307N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
16307N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache icon-cache gconf-cache
15354N/A
15354N/A%postun
15354N/A%restart_fmri desktop-mime-cache
14347N/A
14347N/A%files
14347N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/mpl-1.0.htm
14347N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/History.txt
14347N/A%doc(bzip2) -d %{base_arch} ptlib-%{ptlib.version}/ReadMe.txt
14347N/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
10430N/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
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
10139N/A%{_datadir}/sounds
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
15354N/A%{_datadir}/gnome/help/%{ekiga.name}/C
15354N/A%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-C.omf
15354N/A%dir %attr(0755, root, bin) %{_mandir}
15354N/A%dir %attr(0755, root, bin) %{_mandir}/*
15354N/A%{_mandir}/*/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps/
15354N/A%{_datadir}/icons/hicolor/16x16/apps/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps/
15354N/A%{_datadir}/icons/hicolor/22x22/apps/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps/
15354N/A%{_datadir}/icons/hicolor/32x32/apps/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
15354N/A%{_datadir}/icons/hicolor/48x48/apps/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/64x64/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/64x64/apps/
15354N/A%{_datadir}/icons/hicolor/64x64/apps/*
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/72x72/
15354N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/72x72/apps/
10139N/A%{_datadir}/icons/hicolor/72x72/apps/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128/
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128/apps/
10139N/A%{_datadir}/icons/hicolor/128x128/apps/*
10139N/A%{_datadir}/dbus-1/*/*
10139N/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
18850N/A%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
18850N/A%{_datadir}/omf/%{ekiga.name}/*-[a-z]*.omf
18030N/A%endif
18030N/A
17613N/A%changelog
17613N/A* Mon Nov 08 2010 - brian.lu@oracle.com
17560N/A- Add 'License' tag
17560N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
17317N/A- Updated BuildRequires to fit SourceJuicer.
17317N/A* Thu Jan 07 2009 - brian.lu@sun.com
16772N/A- Change the owner to hawklu
16772N/A* Tue Oct 27 2009 - dave.lin@sun.com
16307N/A- Changed the dependency SUNWopenldap to SUNWopenldapu as there is no SUNWopenldap on Nevada.
16307N/A* Mon Oct 19 2009 - brian.lu@sun.com
15957N/A- Add SUNWopenldap and SUNWlibsasl dependencies
15957N/A* Tue Sep 15 2009 - jedy.wang@sun.com
15957N/A- Add mlib dependency.
15957N/A* Tue Jul 14 2009 - elaine.xiong@sun.com
15351N/A- Update docs relating copyright since 3.2.5 comes.
15356N/A* Fri Apr 3 2009 - laca@sun.com
15356N/A- use desktop-cache instead of postrun
15354N/A* Mon Feb 23 2009 - elaine.xiong@sunc.om
15354N/A- Remove SSE2 support to fix bugster#6808201. Because there is no
15354N/A significant performance impact brought by SSE2 support since 3.0.
15354N/A Furthermore it is inappropriate to put SSE2 binaries in pentium+mmx.
15351N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
14347N/A- Update copyright entries.
14347N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
12677N/A- bump to Ekiga 3.0.
12677N/A- change some build options to fit new version.
12112N/A- rename pwlib component to ptlib.
12112N/A* Fri Nov 14 2008 - elaine.xiong@sun.com
11931N/A- remove -xlinkopt option that causes error in SS12.
11931N/A* Tue Sep 16 2008 - elaine.xiong@sun.com
11387N/A- Add %doc to %files for new copyright.
11387N/A* Thu Mar 27 2008 - elaine.xiong@sun.com
11387N/A- Add file SUNWgnome-meeting.copyright.
11311N/A* Thu Jan 3 2008 - laca@sun.com
11311N/A- use gconf-install.script instead of an inline script
11232N/A* Wed Nov 14 2007 - damien.carbery@sun.com
11232N/A- Add Build/Requires SUNWavahi-bridge-dsd/-devel as required by ekiga.
11148N/A* Thu Oct 11 2007 - damien.carbery@sun.com
11148N/A- Remove install dependency on SUNWgnome-doc-utils and change the build
10879N/A dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
10879N/A* Fri Sep 28 2007 - laca@sun.com
10533N/A- delete SUNWxw* deps -- this pkg already depends on SUNWgnome-base-libs
10533N/A* Thu Sep 13 2007 - elaine.xiong@sun.com
10533N/A- Add SGML format man page.
10434N/A* Thu Aug 30 2007 - elaine.xiong@sun.com
10434N/A- simply cancel my last checkin about DBUS.
10430N/A* Thu Jun 28 2007 - elaine.xiong@sun.com
10430N/A- pack the DBUS service files to pkg since DBUS enabled.
10430N/A* Thu Apr 26 2007 - laca@sun.com
10277N/A- set CXX to $CXX -norunpath because libtool swallows this option sometimes
10430N/A and leaves compiler paths in the binaries, fixes 6497744
10430N/A* Sat Apr 7 2007 - elaine.xiong@sun.com
10277N/A- correct if/else statement related to EXTRA_CXXFLAGS.
10277N/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.
16654N/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
16401N/A 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