SUNWgnome-remote-desktop.spec revision 19107
13629N/A#
13629N/A# spec file for package SUNWgnome-remote-desktop
13629N/A#
16362N/A# includes module(s): vino, realvnc-java-client
13629N/A#
13629N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
13629N/A# This file and all modifications and additions to the pristine
13629N/A# package are under the same license as the package itself.
13629N/A#
13629N/A%define owner wangke
15291N/A#
13629N/A%include Solaris.inc
16980N/A
13629N/A%define makeinstall make install DESTDIR=$RPM_BUILD_ROOT
13629N/A%use vino = vino.spec
13629N/A%if %option_with_java
13629N/A%use rjc = realvnc-java-client.spec
16571N/A%endif
13629N/A
13629N/AName: SUNWgnome-remote-desktop
13629N/ALicense: GPL v2
14461N/ASummary: GNOME remote desktop
15240N/AVersion: %{vino.version}
15240N/ASUNW_Pkg: SUNWgnome-remote-desktop
15299N/AIPS_package_name: gnome/gnome-remote-desktop
15584N/AMeta(info.classification): %{classification_prefix}:System/X11
15637N/ASUNW_BaseDir: %{_basedir}
15584N/ASUNW_Copyright: %{name}.copyright
14461N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13629N/ASource1: %{name}-manpages-0.1.tar.gz
13629N/A
13629N/A%include default-depend.inc
13629N/ARequires: SUNWlibglade
13629N/ARequires: SUNWgnome-libs
13629N/ARequires: SUNWgnome-component
13629N/ARequires: SUNWgnome-config
13629N/ARequires: SUNWgnutls
13629N/ARequires: SUNWjpg
13629N/ARequires: SUNWlibgcrypt
13629N/ARequires: SUNWzlib
13629N/ARequires: SUNWdesktop-cache
13629N/ARequires: SUNWgnome-panel
13629N/ARequires: SUNWavahi-bridge-dsd
13629N/ARequires: SUNWlibunique
13629N/ARequires: %{name}-root
13629N/ABuildRequires: SUNWlibglade-devel
13629N/ABuildRequires: SUNWgnome-component-devel
13629N/ABuildRequires: SUNWgnome-config-devel
13629N/ABuildRequires: SUNWgnutls-devel
13629N/ABuildRequires: SUNWjpg-devel
15240N/ABuildRequires: SUNWlibgcrypt-devel
15242N/ABuildRequires: SUNWgnome-libs-devel
15299N/ABuildRequires: SUNWgnome-panel-devel
13629N/ABuildRequires: SUNWavahi-bridge-dsd-devel
13629N/ABuildRequires: SUNWlibunique-devel
13629N/A
13629N/A%if %build_l10n
13629N/A%package l10n
13629N/ASummary: %{summary} - l10n files
13629N/ASUNW_BaseDir: %{_basedir}
13629N/A%include default-depend.inc
13629N/ARequires: %{name}
13629N/A%endif
13629N/A
13629N/A%package root
13629N/ASummary: %{summary} - / filesystem
13629N/ASUNW_BaseDir: /
13629N/A%include default-depend.inc
13629N/A
13629N/A%prep
13629N/Arm -rf %name-%version
13629N/Amkdir %name-%version
13629N/A%vino.prep -d %name-%version
13629N/A%if %option_with_java
14461N/A%rjc.prep -d %name-%version
13629N/A%endif
13629N/Acd %{_builddir}/%name-%version
13629N/Agzcat %SOURCE1 | tar xf -
13629N/A
13629N/A%build
13629N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
13629N/Aexport CFLAGS="%optflags -I%{_includedir} -I/usr/sfw/include"
13629N/Aexport RPM_OPT_FLAGS="$CFLAGS"
15240N/Aexport LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
15240N/A
15240N/A%vino.build -d %name-%version
13629N/A%if %option_with_java
13629N/A%rjc.build -d %name-%version
13629N/A%endif
13629N/A
13629N/A%install
13629N/Arm -rf $RPM_BUILD_ROOT
13629N/A%vino.install -d %name-%version
13629N/A%if %option_with_java
13629N/A# install vnc client
13629N/Acd %{name}-%{version}
13629N/Acd vnc-*javasrc/java
13629N/Ainstall --mode=0755 vncviewer.jar $RPM_BUILD_ROOT%{_datadir}/vino/vino-client.jar
13629N/Ainstall --mode=0755 vino-client.html $RPM_BUILD_ROOT%{_datadir}/vino/vino-client.html
16980N/A%endif
16980N/A
16918N/A# install man page
16918N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
16571N/Acd %{_builddir}/%name-%version/sun-manpages
16571N/Amake install DESTDIR=$RPM_BUILD_ROOT
16362N/A
16362N/A%if %build_l10n
16146N/A%else
16146N/A# REMOVE l10n FILES
16146N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
16026N/A%endif
16026N/A
15837N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
15837N/A
15759N/A%clean
15759N/Arm -rf $RPM_BUILD_ROOT
15759N/A
15759N/A%post
15746N/A%restart_fmri desktop-mime-cache icon-cache gconf-cache
15746N/A
15746N/A%postun
15746N/A%restart_fmri desktop-mime-cache
15637N/A
15637N/A%files
15637N/A%doc vino-%{vino.version}/AUTHORS
15637N/A%doc vino-%{vino.version}/README
15584N/A%doc(bzip2) vino-%{vino.version}/COPYING
15584N/A%doc(bzip2) vino-%{vino.version}/NEWS
15584N/A%doc(bzip2) vino-%{vino.version}/ChangeLog
15584N/A%doc(bzip2) vino-%{vino.version}/po/ChangeLog
15584N/A%doc(bzip2) vnc-%{rjc.tarball_version}-javasrc/java/LICENCE.TXT
15584N/A%doc(bzip2) vnc-%{rjc.tarball_version}-javasrc/java/README
15584N/A%dir %attr (0755, root, other) %{_datadir}/doc
15584N/A%defattr (-, root, bin)
15584N/A%dir %attr (0755, root, bin) %{_bindir}
15584N/A%{_bindir}/*
15584N/A%dir %attr (0755, root, bin) %{_libdir}
15411N/A%{_libdir}/vino-server
15411N/A%dir %attr (0755, root, sys) %{_datadir}
15411N/A%{_datadir}/vino
15384N/A%dir %attr (0755, root, other) %{_datadir}/applications
15384N/A%{_datadir}/applications/*
15384N/A%dir %attr(0755, root, bin) %{_mandir}
15375N/A%dir %attr(0755, root, bin) %{_mandir}/*
15375N/A%{_mandir}/*/*
15375N/A%{_datadir}/dbus-1/services/org.gnome.Vino.service
15370N/A
15370N/A%if %build_l10n
15299N/A%files l10n
15299N/A%defattr (-, root, bin)
15291N/A%dir %attr (0755, root, sys) %{_datadir}
15291N/A%attr (-, root, other) %{_datadir}/locale
15279N/A%endif
15287N/A
15287N/A%files root
15279N/A%defattr (-, root, sys)
15279N/A%attr (0755, root, sys) %dir %{_sysconfdir}
15242N/A%{_sysconfdir}/gconf/schemas/vino-server.schemas
15242N/A%{_sysconfdir}/xdg/autostart/vino-server.desktop
15242N/A
15240N/A%changelog
15240N/A* Wed Mar 31 2010 - halton.huo@sun.com
15240N/A- Add %SUNW_Pkg %IPS_package_name
15240N/A* Mon Jul 27 2009 - christian.kelly@sun.com
15240N/A- Minor change to %files.
14461N/A* Fri Apr 3 2009 - laca@sun.com
14461N/A- use desktop-cache instead of postrun
14461N/A* Sat Jan 24 2009 - halton.huo@sun.com
14185N/A- Update %files, move autostart/vino-server.desktop to -root pkg.
14185N/A* Sat Jan 24 2009 - halton.huo@sun.com
14157N/A- Add Requires to libunique package
14157N/A* Wed Nov 05 2008 - halton.huo@sun.com
13920N/A- Add po/ChangeLog to %files
13920N/A* Wed Sep 10 2008 - halton.huo@sun.com
13764N/A- Add %doc to %files for new copyright
13764N/A* Thu Aug 07 2008 - halton.huo@sun.com
13629N/A- Add %{_datadir}/gnome/autostart for new gnome-session change.
13630N/A* Thu Mar 27 2008 - halton.huo@sun.com
13630N/A- Add copyright file
13630N/A* Thu Jan 3 2008 - laca@sun.com
13629N/A- use gconf-install.script instead of an inline script
13629N/A* Fri Nov 02 2007 - halton.huo@sun.com
- Remove vncviewer wrapper since C version of vncviewer will be added.
* Fri Nov 02 2007 - halton.huo@sun.com
- Add SUNWavahi-bridge-dsd to Requires
- Add SUNWavahi-bridge-dsd-devel to BuildRequires
* Wed Oct 31 2007 - damien.carbery@sun.com
- Remove %{_datadir}/icons from %files as it is not installed.
* Thu Oct 11 2007 - halton.huo@sun.com
- Use desktop-database-install.script for %post
and desktop-database-uninstall.script for %postun
* Thu Oct 11 2007 - halton.huo@sun.com
- change the inline postinstall script to an include
* Fri Sep 28 2007 - laca@sun.com
- disable building the java client when --without-java is used
- delete unneeded env variables
* Tue Jul 31 2007 - halton.huo@sun.com
- Add Requires: SUNWgnome-panel and BuildRequires: SUNWgnome-panel-devel
because vino-server now depend on libnotify, fix bugster #6585037.
* Tue Jul 10 2007 - halton.huo@sun.com
- Use $prefix/share/vino for data in favor of $prefix/share/gnome/vino,
refer bugzilla #436460.
* Fri Jun 22 2007 - halton.huo@sun.com
- Use realvnc-java-client.spec generate vino-client.jar and vino-client.html
- Add script wrapper /usr/bin/vncviewer for vino-client.jar
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Wed Nov 08 2006 - halton.huo@sun.com
- Add manpage section to fix bug, bugster #6489749
* Fri Spe 22 2006 - dermot.mccluskey@sun.com
- temporarily comment out manpage sections as source tarball does not exist
* Mon Sept 11 2006 - steven.zhang@sun.com
- update to add vnc client support with server
- update to add manpage
* Sat Aug 12 2006 - laca@sun.com
- change datadir/icons permissions back to root:other since it's a stable
interface and wasn't supposed to be changed
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Fri Jun 2 2006 - laca@sun.com
- use post/preun scripts to install schemas into the merged gconf files
* Thu May 11 2006 - halton.huo@sun.com
- Merge -share pkg(s) into the base pkg(s).
* Mon Feb 20 2006 - damien.carbery@sun.com
- Complete update of Build/Requires after running check-deps.pl script.
* Fri Feb 17 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Fri Sep 30 2005 - damien.carbery@sun.com
- Add applications and icons dirs under %{_datadir}.
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Mon Aug 23 2004 - laca@sun.com
- s/SUNWpl5u/SUNWperl584usr/
* Thu Jun 23 2004 - shirley.woo@sun.com
- more changes for change install location to /usr/lib and /usr/bin
* Tue Jun 22 2004 - shirley.woo@sun.com
- changed install location to /usr/lib and /usr/bin
* Wed Jun 2 2004 - takao.fujiwara@sun.com
- Added %{_datadir}/locale to install l10n messages
* Fri May 07 2004 - brian.cameron@sun.com
- Removed locale/C from "%files share" since it doesn't
exist.
* Thu Apr 15 2004 - brian.cameron@sun.com
- Created