author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19780 | 4d0888d154d9 |
permissions | -rw-r--r-- |
1391 | 1 |
# |
19693 | 2 |
# spec file for package vino |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
1391 | 7 |
# |
8 |
||
9 |
Name: vino |
|
10 |
License: GPL |
|
11 |
Group: System/GUI/GNOME |
|
19371 | 12 |
Version: 2.10.0 |
19359 | 13 |
Release: 1 |
19693 | 14 |
Distribution: Java Desktop System |
1391 | 15 |
Vendor: Sun Microsystems, Inc. |
16 |
Summary: GNOME Remote Desktop |
|
19359 | 17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.10/%{name}-%{version}.tar.bz2 |
18 |
Patch1: vino-01-allow-resolution-change.diff |
|
19733 | 19 |
Patch2: vino-02-fix-a11y-hang.diff |
19780
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
20 |
Patch3: vino-03-libgnomeui-include.diff |
1391 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
22 |
Docdir: %{_defaultdocdir}/doc |
|
23 |
Autoreqprov: on |
|
24 |
||
25 |
%define gnutls_version 0.9.5 |
|
26 |
%define gtk2_version 2.2.0 |
|
27 |
%define GConf_version 2.2.0 |
|
28 |
%define libglade_version 2.0.0 |
|
29 |
%define intltool_version 0.25 |
|
1892 | 30 |
%define libgnomeui_version 2.4.0 |
1391 | 31 |
|
32 |
Requires: gnutls >= %{gnutls_version} |
|
33 |
Requires: gtk2 >= %{gtk2_version} |
|
34 |
Requires: GConf >= %{GConf_version} |
|
35 |
Requires: libglade >= %{libglade_version} |
|
1892 | 36 |
Requires: libgnomeui >= %{libgnomeui_version} |
1391 | 37 |
BuildRequires: gnutls-devel >= %{gnutls_version} |
38 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
39 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
40 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
41 |
BuildRequires: intltool >= %{intltool_version} |
|
42 |
||
43 |
%description |
|
44 |
Vino is an integrated GNOME VNC server and a VNC client written in Java. |
|
45 |
||
46 |
||
47 |
%prep |
|
48 |
%setup -q |
|
19359 | 49 |
%patch1 -p1 |
19733 | 50 |
%patch2 -p1 |
19780
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
51 |
%patch3 -p1 |
1391 | 52 |
|
4455 | 53 |
|
1391 | 54 |
%build |
3263 | 55 |
%ifos linux |
56 |
if [ -x /usr/bin/getconf ]; then |
|
57 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
58 |
fi |
|
59 |
%else |
|
3846 | 60 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 61 |
%endif |
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
63 |
CPUS=1 |
|
64 |
fi |
|
65 |
||
2958 | 66 |
export PATH="/usr/java/jdk1.4.2_03/bin:$PATH" |
1391 | 67 |
libtoolize --force |
19243 | 68 |
aclocal $ACLOCAL_FLAGS |
1391 | 69 |
automake -a -c -f |
70 |
autoconf |
|
71 |
||
72 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
73 |
./configure --prefix=%{_prefix} \ |
|
1628 | 74 |
--sysconfdir=%{_sysconfdir} \ |
75 |
--libexecdir=%{_libexecdir} |
|
3263 | 76 |
make -j $CPUS |
1391 | 77 |
|
78 |
||
79 |
%install |
|
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
82 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
83 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
84 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
85 |
||
86 |
||
87 |
%clean |
|
88 |
rm -rf $RPM_BUILD_ROOT |
|
89 |
||
90 |
%post |
|
91 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
92 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas >/dev/null |
|
93 |
||
94 |
%files |
|
95 |
%defattr(-,root,root) |
|
96 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
97 |
%doc docs/remote-desktop.txt |
|
98 |
%doc docs/TODO |
|
99 |
%{_bindir}/* |
|
19371 | 100 |
%{_libdir}/bonobo/servers/* |
1628 | 101 |
%{_libexecdir}/* |
19371 | 102 |
%{_datadir}/applications/ |
1391 | 103 |
%{_datadir}/gnome/vino/* |
19371 | 104 |
%{_datadir}/icons/ |
1628 | 105 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
1391 | 106 |
%config %{_sysconfdir}/gconf/schemas/* |
107 |
||
1628 | 108 |
%changelog |
19780
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
109 |
* Wed Sep 07 2005 - [email protected] |
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
110 |
- Add patch to move a #include outside '#ifdef HAVE_GNUTLS' code so that it |
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
111 |
builds. Bugzilla: 315459. Fixed in 2.11. |
4d0888d154d9
* vino.spec: Add patch to move a #include outside '#ifdef HAVE_GNUTLS'
dc144907
parents:
19733
diff
changeset
|
112 |
|
19360 | 113 |
* Thu May 26 2005 - [email protected] |
114 |
- Bump to 2.10.1 |
|
115 |
||
19643 | 116 |
* Fri May 20 2005 - [email protected] |
117 |
- Added vino-08-fix-a11y-hang.diff to fix the gnome-session hang |
|
118 |
with a11y and remote desktop enabled. Fixes bug #6272397. |
|
119 |
||
5170 | 120 |
* Wed Mar 02 2005 - [email protected] |
121 |
- Added vino-07-allow-resolution-change.diff to fix the crash when |
|
122 |
trying to change resolution from the client. Fixes bug #4965618. |
|
123 |
||
3983
53d52af5767d
Updating vino.spec to include vino-05-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
124 |
* Thu Sep 16 2004 - [email protected] |
53d52af5767d
Updating vino.spec to include vino-05-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
125 |
* Added vino-05-g11n-alllinguas.diff to include cs,hu linguas |
53d52af5767d
Updating vino.spec to include vino-05-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
126 |
|
3758 | 127 |
* Thu Aug 26 2004 - [email protected] |
128 |
- Help invocation for vino is implemented. |
|
129 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
130 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
131 |
- Updated l10n content to vino-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
132 |
|
3263 | 133 |
* Wed Jul 07 2004 - [email protected] |
134 |
- added "-j $CPUS" to make to speed up builds |
|
135 |
||
2958 | 136 |
* Sun May 30 2004 - [email protected] |
137 |
- New JDK |
|
138 |
||
2770
81509b5f772b
* patches/gtk+-07-imcontext.diff: fixed typo in the prev patch.
tajima
parents:
2736
diff
changeset
|
139 |
* Wed May 14 2004 - [email protected] |
81509b5f772b
* patches/gtk+-07-imcontext.diff: fixed typo in the prev patch.
tajima
parents:
2736
diff
changeset
|
140 |
- added vino-03-fix-stdint.diff to fix build error on S9 |
81509b5f772b
* patches/gtk+-07-imcontext.diff: fixed typo in the prev patch.
tajima
parents:
2736
diff
changeset
|
141 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
142 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
143 |
- Updated l10n content to vino-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
144 |
|
2475 | 145 |
* Thu Apr 14 2004 - [email protected] |
146 |
- Add ACLOCAL_FLAGS to aclocal call for Solaris build. |
|
147 |
||
2355 | 148 |
* Wed Mar 31 2004 - [email protected] |
149 |
- replace tar jxf with the more solaris friendly |
|
150 |
bzcat piped through tar |
|
151 |
||
2350 | 152 |
* Mon Mar 29 2004 - [email protected] |
153 |
- Updated l10n content to vino-l10n-po-1.0.tar.bz2 |
|
154 |
||
1628 | 155 |
* Wed Feb 11 2004 - <[email protected]> |
156 |
- Update to 0.14 + port |
|
1391 | 157 |
|
158 |
* Thu Nov 06 2003 - <[email protected]> |
|
159 |
- Initial spec file |