base-specs/vinagre.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 18156 261e45ba0c97
child 19974 b5d8e70005c8
child 20201 33ac0296e01d
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6

#
# spec file for package vinagre
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner halton
#

%define OSR LFI#105446 (gnome Exec. summary):n/a

Name:           vinagre
License:        GPL v2
Group:          Development/Libraries
Version:        2.30.2
Release:        1
Distribution:   Java Desktop System
Vendor:         Gnome Community
URL:            http://www.gnome.org/projects/vinagre
Summary:        A VNC client for the GNOME Desktop
Source:         http://download.gnome.org/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
# date:2008-11-28 owner:fujiwara type:feature bugster:6777514 bugzilla:562524
Patch1:         %{name}-01-cp-utf8.diff
# date:2010-02-09 owner:halton type:branding
# remove this patch when solaris bump autoconf to 2.6.4
Patch2:         %{name}-02-autoconf.diff
# date:2010-05-06 type:bug owner:halton bugzilla:617862
Patch3:         %{name}-03-sol-ifaddrs.diff

BuildRoot:      %{_tmppath}/%{name}-%{version}-root

BuildRequires: gtk2-devel

%description
vinagre is  a VCN client for the GNOME Desktop

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
aclocal $ACLOCAL_FLAGS
autoheader
automake -a -c -f
autoconf

./configure --prefix=%{_prefix} \
            --bindir=%{_bindir} \
            --mandir=%{_mandir} \
            --libdir=%{_libdir} \
            --libexecdir=%{_libexecdir} \
            --datadir=%{_datadir} \
            --includedir=%{_includedir} \
            --sysconfdir=%{_sysconfdir} \
            --enable-avahi=yes
	
make -j $CPUS

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make -i install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_libdir}/bonobo/servers/GNOME_RemoteDesktop.server

%changelog
* Tue Jun 22 2010 - [email protected]
- Bump to 2.30.2
* Thu May 06 2010 - [email protected]
- Bump to 2.30.1
- Add patch 03-sol-ifaddrs.diff to fix bugzilla #617862
* Tue Mar 30 2009 - [email protected]
- Bump to 2.30.0
* Tue Feb 23 2010 - [email protected]
- Bump to 2.29.91
* Tue Feb 09 2010 - [email protected]
- Bump to 2.29.90
- Remove upstreamed patch 02-ifaddrs.diff
- Remove upstreamed patch 03-socket.diff
* Tue Jan 26 2010 - [email protected]
- Bump to 2.29.6
- Add patch 02-ifaddrs.diff to fix GNOME bugzilla #608121
- Add patch 03-socket.diff to fix GNOME bugzilla #608122
* Tue Oct 20 2009 - [email protected]
- Bump to 2.28.1
* Tue Sep 21 2009 - [email protected]
- Bump to 2.28.0.1
* Wed Sep 08 2009 - [email protected]
- Bump to 2.27.92
* Wed Aug 26 2009 - [email protected]
- Bump to 2.27.91
* Wed Aug 12 2009 - [email protected]
- Bump to 2.27.90
- Remove upstreamed patches: libxml-deps.diff, crash-return.diff
* Wed Jul 29 2009 - [email protected]
- Bump to 2.27.5
- Add libxml-deps.diff to fix bugzilla #590128
- Add crash-return.diff to fix bugzilla #590125
* Tue May 19 2009 - [email protected]
- Bump to 2.26.2
* Tue Apr 14 2009 - [email protected]
- Bump to 2.26.1
* Tue Mar 17 2009 - [email protected]
- Bump to 2.26.0
* Tue Mar 03 2009 - [email protected]
- Bump to 2.25.92
* Tue Feb 17 2009 - [email protected]
- Bump to 2.25.91
* Thu Feb 05 2009 - [email protected]
- Bump to 2.25.90.
* Tue Jan 22 2009 - [email protected]
- Bump to 2.25.5
* Tue Jan 06 2009 - [email protected]
- Bump to 2.25.4
* Tue Dec 23 2008 - [email protected]
- Bump to 2.25.3
- Remove upstreamed patch setlocale.diff and reorder
* Thu Dec 11 2008 - [email protected]
- Bump to 2.24.2
* Fri Nov 28 2008 - [email protected]
- Add patch setlocale.diff to to support locales.
- Add patch cp-utf8.diff to copy multibyte chars.
* Thu Nov 13 2008 - [email protected]
- Moved from SFE
* Tue Sep 09 2008 - [email protected]
- Bump to 2.23.92
* Tue Sep 02 2008 - [email protected]
- Bump to 2.23.91
- Remove upstreamed patch libsocket.diff
* Wed Aug 20 2008 - [email protected]
- Bump to 2.23.90
- Add patch libsocket.diff to fix bugzilla #548585
* Tue Mar 10 2008 - [email protected]
- Bump to 0.5.0
* Tue Mar 04 2008 - [email protected]
- Bump to 0.4.92
- Remove upstreamed patch gthread.diff
* Wed Feb 20 2008 - [email protected]
- Bump to 0.4.91
- Remove upstreamed patch wall.diff
- Add new patch gthread.diff to fix bugzilla #517603.
* Thu Dec 13 2007 - [email protected]
- Bump to 0.4
- Add patch wall.diff to fix build problem on Solaris.
* Fri Nov 30 2007 - [email protected]
- Initial version