[meego-commits] 9383: New package devel:enterprise:1.0/vino
Yan Li
no_reply at build.meego.com
Thu Nov 11 07:50:58 UTC 2010
Hi,
Adding new package vino in project devel:enterprise:1.0. Please review and accept ASAP.
Justification for this new package:
Initial import from Fedora with NetworkManager disabled and Telepathy disabled
Thank You,
Yan Li
[This message was auto-generated]
---
Request #9383:
submit: home:yanli:branches:devel:enterprise:1.0/vino(r5)(cleanup) -> devel:enterprise:1.0/vino
Message:
Initial import from Fedora with NetworkManager disabled and Telepathy disabled
State: new 2010-11-10T23:50:54 yanli
Comment: None
This is a NEW package in devel:enterprise:1.0 project.
The files in the new package:
vino/
|__ Makefile
|__ vino-2.32.0.tar.bz2
|__ vino.changes
|__ vino.desktop
|__ vino.spec
The content of the spec file, vino.spec:
===================================================================
%define glib2_version 2.12.0
%define gtk2_version 2.6.0
%define libglade2_version 2.3.6
%define gconf2_version 2.14.0
%define libgnomeui_version 2.6.0
%define libgcrypt_version 1.2.0
%define libnotify_version 0.4.3
%define telepathy_glib_version 0.7.31
Summary: A remote desktop system for GNOME
Name: vino
Version: 2.32.0
Release: 2%{?dist}
URL: http://www.gnome.org
#VCS: git:git://git.gnome.org/vino
Source0: http://download.gnome.org/sources/vino/2.32/%{name}-%{version}.tar.bz2
License: GPLv2+
Group: User Interface/Desktops
Requires(pre): GConf2 >= %{gconf2_version}
Requires(post): GConf2 >= %{gconf2_version}
Requires(preun): GConf2 >= %{gconf2_version}
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libglade2-devel >= %{libglade2_version}
BuildRequires: GConf2-devel >= %{gconf2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libgcrypt-devel >= %{libgcrypt_version}
BuildRequires: libnotify-devel >= %{libnotify_version}
BuildRequires: telepathy-glib-devel >= %{telepathy_glib_version}
BuildRequires: libXt-devel, libXtst-devel, libXdamage-devel, avahi-glib-devel
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: dbus-glib-devel
BuildRequires: libsoup-devel
BuildRequires: libSM-devel
BuildRequires: gnome-keyring-devel
BuildRequires: unique-devel
BuildRequires: autoconf automake libtool
BuildRequires: gnome-common
%description
Vino is a VNC server for GNOME. It allows remote users to
connect to a running GNOME session using VNC.
%prep
%setup -q
%build
%configure \
--enable-avahi \
--enable-gnome-keyring \
--disable-gnutls \
--disable-http-server \
--enable-libnotify \
--disable-network-manager \
--disable-telepathy
# drop unneeded direct library deps with --as-needed
# libtool doesn't make this easy, so we do it the hard way
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \
$RPM_BUILD_ROOT%{_datadir}/applications/vino-preferences.desktop
# stuff we don't want
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
%find_lang %{name}
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas >& /dev/null || :
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas >& /dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas >& /dev/null || :
fi
%postun
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README docs/TODO docs/remote-desktop.txt
%{_datadir}/vino
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service
%{_bindir}/*
%{_libexecdir}/*
%{_sysconfdir}/gconf/schemas/*.schemas
%{_sysconfdir}/xdg/autostart/vino-server.desktop
===================================================================
More information about the MeeGo-commits
mailing list