14591
|
1 |
#
|
|
2 |
# spec file for package vinagre
|
|
3 |
#
|
17433
|
4 |
# Copyright 2010 Sun Microsystems, Inc.
|
14591
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner halton
|
14591
|
9 |
#
|
|
10 |
|
16431
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
14591
|
13 |
Name: vinagre
|
14593
|
14 |
License: GPL v2
|
14591
|
15 |
Group: Development/Libraries
|
17433
|
16 |
Version: 2.29.6
|
14591
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
URL: http://www.gnome.org/projects/vinagre
|
15517
|
21 |
Summary: A VNC client for the GNOME Desktop
|
17433
|
22 |
Source: http://download.gnome.org/sources/%{name}/2.29/%{name}-%{version}.tar.bz2
|
14804
|
23 |
# date:2008-11-28 owner:fujiwara type:feature bugster:6777514 bugzilla:562524
|
|
24 |
Patch1: vinagre-01-cp-utf8.diff
|
17433
|
25 |
# date:2010-01-26 owner:halton type:bug bugzilla:608121
|
|
26 |
Patch2: vinagre-02-ifaddrs.diff
|
|
27 |
# date:2010-01-26 owner:halton type:bug bugzilla:608122
|
|
28 |
Patch3: vinagre-03-socket.diff
|
|
29 |
|
14591
|
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
31 |
|
|
32 |
BuildRequires: gtk2-devel
|
|
33 |
|
|
34 |
%description
|
|
35 |
vinagre is a VCN client for the GNOME Desktop
|
|
36 |
|
|
37 |
%prep
|
|
38 |
%setup -q
|
14677
|
39 |
%patch1 -p1
|
17433
|
40 |
%patch2 -p1
|
|
41 |
%patch3 -p1
|
14591
|
42 |
|
|
43 |
%build
|
|
44 |
%ifos linux
|
|
45 |
if [ -x /usr/bin/getconf ]; then
|
|
46 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
47 |
fi
|
|
48 |
%else
|
|
49 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
50 |
%endif
|
|
51 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
52 |
CPUS=1
|
|
53 |
fi
|
|
54 |
|
|
55 |
libtoolize --force
|
16166
|
56 |
aclocal $ACLOCAL_FLAGS
|
14591
|
57 |
autoheader
|
|
58 |
automake -a -c -f
|
|
59 |
autoconf
|
|
60 |
|
|
61 |
./configure --prefix=%{_prefix} \
|
|
62 |
--bindir=%{_bindir} \
|
|
63 |
--mandir=%{_mandir} \
|
|
64 |
--libdir=%{_libdir} \
|
|
65 |
--libexecdir=%{_libexecdir} \
|
|
66 |
--datadir=%{_datadir} \
|
|
67 |
--includedir=%{_includedir} \
|
|
68 |
--sysconfdir=%{_sysconfdir} \
|
|
69 |
--enable-avahi=yes
|
|
70 |
|
|
71 |
make -j $CPUS
|
|
72 |
|
|
73 |
%install
|
|
74 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
75 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
76 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
77 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
78 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
79 |
|
|
80 |
%clean
|
|
81 |
rm -rf $RPM_BUILD_ROOT
|
|
82 |
|
|
83 |
%post
|
|
84 |
/sbin/ldconfig
|
|
85 |
|
|
86 |
%postun
|
|
87 |
/sbin/ldconfig
|
|
88 |
|
|
89 |
%files
|
|
90 |
%defattr(-, root, root)
|
|
91 |
%doc AUTHORS ChangeLog NEWS README COPYING.LIB
|
|
92 |
%{_bindir}/*
|
|
93 |
%{_libdir}/lib*.so.*
|
|
94 |
%{_libdir}/bonobo/servers/GNOME_RemoteDesktop.server
|
|
95 |
|
|
96 |
%changelog
|
17433
|
97 |
* Tue Jan 26 2010 - [email protected]
|
|
98 |
- Bump to 2.29.6
|
|
99 |
- Add patch 02-ifaddrs.diff to fix GNOME bugzilla #608121
|
|
100 |
- Add patch 03-socket.diff to fix GNOME bugzilla #608122
|
16814
|
101 |
* Tue Oct 20 2009 - [email protected]
|
|
102 |
- Bump to 2.28.1
|
16606
|
103 |
* Tue Sep 21 2009 - [email protected]
|
|
104 |
- Bump to 2.28.0.1
|
16490
|
105 |
* Wed Sep 08 2009 - [email protected]
|
|
106 |
- Bump to 2.27.92
|
16356
|
107 |
* Wed Aug 26 2009 - [email protected]
|
|
108 |
- Bump to 2.27.91
|
16244
|
109 |
* Wed Aug 12 2009 - [email protected]
|
|
110 |
- Bump to 2.27.90
|
|
111 |
- Remove upstreamed patches: libxml-deps.diff, crash-return.diff
|
16166
|
112 |
* Wed Jul 29 2009 - [email protected]
|
|
113 |
- Bump to 2.27.5
|
|
114 |
- Add libxml-deps.diff to fix bugzilla #590128
|
|
115 |
- Add crash-return.diff to fix bugzilla #590125
|
15782
|
116 |
* Tue May 19 2009 - [email protected]
|
|
117 |
- Bump to 2.26.2
|
15611
|
118 |
* Tue Apr 14 2009 - [email protected]
|
|
119 |
- Bump to 2.26.1
|
15409
|
120 |
* Tue Mar 17 2009 - [email protected]
|
|
121 |
- Bump to 2.26.0
|
15272
|
122 |
* Tue Mar 03 2009 - [email protected]
|
|
123 |
- Bump to 2.25.92
|
15106
|
124 |
* Tue Feb 17 2009 - [email protected]
|
|
125 |
- Bump to 2.25.91
|
15030
|
126 |
* Thu Feb 05 2009 - [email protected]
|
|
127 |
- Bump to 2.25.90.
|
14959
|
128 |
* Tue Jan 22 2009 - [email protected]
|
|
129 |
- Bump to 2.25.5
|
14845
|
130 |
* Tue Jan 06 2009 - [email protected]
|
|
131 |
- Bump to 2.25.4
|
14804
|
132 |
* Tue Dec 23 2008 - [email protected]
|
|
133 |
- Bump to 2.25.3
|
|
134 |
- Remove upstreamed patch setlocale.diff and reorder
|
14749
|
135 |
* Thu Dec 11 2008 - [email protected]
|
|
136 |
- Bump to 2.24.2
|
14677
|
137 |
* Fri Nov 28 2008 - [email protected]
|
|
138 |
- Add patch setlocale.diff to to support locales.
|
|
139 |
- Add patch cp-utf8.diff to copy multibyte chars.
|
14593
|
140 |
* Thu Nov 13 2008 - [email protected]
|
|
141 |
- Moved from SFE
|
14591
|
142 |
* Tue Sep 09 2008 - [email protected]
|
|
143 |
- Bump to 2.23.92
|
|
144 |
* Tue Sep 02 2008 - [email protected]
|
|
145 |
- Bump to 2.23.91
|
|
146 |
- Remove upstreamed patch libsocket.diff
|
|
147 |
* Wed Aug 20 2008 - [email protected]
|
|
148 |
- Bump to 2.23.90
|
|
149 |
- Add patch libsocket.diff to fix bugzilla #548585
|
|
150 |
* Tue Mar 10 2008 - [email protected]
|
|
151 |
- Bump to 0.5.0
|
|
152 |
* Tue Mar 04 2008 - [email protected]
|
|
153 |
- Bump to 0.4.92
|
|
154 |
- Remove upstreamed patch gthread.diff
|
|
155 |
* Wed Feb 20 2008 - [email protected]
|
|
156 |
- Bump to 0.4.91
|
|
157 |
- Remove upstreamed patch wall.diff
|
|
158 |
- Add new patch gthread.diff to fix bugzilla #517603.
|
|
159 |
* Thu Dec 13 2007 - [email protected]
|
|
160 |
- Bump to 0.4
|
|
161 |
- Add patch wall.diff to fix build problem on Solaris.
|
|
162 |
* Fri Nov 30 2007 - [email protected]
|
|
163 |
- Initial version
|