specs/SUNWgtk-vnc.spec
author chrisk
Thu, 22 Apr 2010 11:22:59 +0000
changeset 17902 a077563a1cf5
parent 17789 SUNWgtk-vnc.spec@79e576c49542
child 17937 664c0536875a
permissions -rw-r--r--
2010-04-22 Christian Kelly <[email protected]> * *.spec, specs/*.spec, closed/*.spec, indiana/*.spec: Move all of the spec files to the specs/ dir. This is preparation work for moving to jucr.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for package SUNWgtk-vnc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     4
# includes module(s): gtk-vnc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
#
17789
79e576c49542 2010-04-01 Halton Huo <[email protected]>
halton
parents: 17453
diff changeset
     6
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# package are under the same license as the package itself.
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15650
diff changeset
    10
%define owner halton
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    11
#
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    12
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
%include Solaris.inc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    14
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    16
%include arch64.inc
14655
4de1acea2aeb 2008-11-26 Halton Huo <[email protected]>
halton
parents: 14629
diff changeset
    17
%define with_64 1
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    18
%define with_brower_plugin 0
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    19
%define pythonver 2.4
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    20
%use gvnc_64 = gtk-vnc.spec
16759
eb9f2a20e888 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16758
diff changeset
    21
%define pythonver 2.6
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    22
%use gvnc_64_py26 = gtk-vnc.spec
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
%include base.inc
14655
4de1acea2aeb 2008-11-26 Halton Huo <[email protected]>
halton
parents: 14629
diff changeset
    26
%define with_64 0
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    27
%define with_brower_plugin 1
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    28
%define pythonver 2.4
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    29
%use gvnc = gtk-vnc.spec
16759
eb9f2a20e888 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16758
diff changeset
    30
%define pythonver 2.6
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    31
%use gvnc_py26 = gtk-vnc.spec
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
Name:               SUNWgtk-vnc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
Summary:            gtk-vnc - A GTK widget for VNC clients
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
Version:            %{gvnc.version}
17789
79e576c49542 2010-04-01 Halton Huo <[email protected]>
halton
parents: 17453
diff changeset
    36
SUNW_Pkg:           SUNWgtk-vnc
79e576c49542 2010-04-01 Halton Huo <[email protected]>
halton
parents: 17453
diff changeset
    37
IPS_package_name:   library/desktop/gtk-vnc
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
SUNW_Copyright:     %{name}.copyright
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
SUNW_BaseDir:       %{_basedir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
Source1:            %{name}-manpages-0.1.tar.gz
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
%include default-depend.inc
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15489
diff changeset
    44
Requires:      SUNWgtk2
14798
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
    45
Requires:      SUNWgnutls
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
    46
Requires:      SUNWxwplt
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
    47
Requires:      SUNWzlibr
16758
b04c0b0c5ceb 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16434
diff changeset
    48
Requires:      SUNWlibsasl
16936
6a30035a3209 2009-11-10 Halton Huo <[email protected]>
halton
parents: 16915
diff changeset
    49
BuildRequires: SUNWxwinc
6a30035a3209 2009-11-10 Halton Huo <[email protected]>
halton
parents: 16915
diff changeset
    50
BuildRequires: SUNWprd
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15489
diff changeset
    51
BuildRequires: SUNWgtk2-devel
14798
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
    52
BuildRequires: SUNWgnutls-devel
17453
199d82bc0552 2010-01-27 Halton Huo <[email protected]>
halton
parents: 16936
diff changeset
    53
BuildRequires: SUNWfirefox-devel
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%package devel
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
Summary:       %{summary} - development files
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
SUNW_BaseDir:  %{_basedir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
%include default-depend.inc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
Requires:      %{name}
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15489
diff changeset
    60
Requires:      SUNWgtk2-devel
15489
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
    61
Requires:      SUNWgnutls-devel
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    63
%package python24
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    64
Summary:       %{summary} - Python 2.4 binding files
17789
79e576c49542 2010-04-01 Halton Huo <[email protected]>
halton
parents: 17453
diff changeset
    65
IPS_package_name: library/python-2/python-gtk-vnc-24
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    66
SUNW_BaseDir:  %{_basedir}
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    67
%include default-depend.inc
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    68
Requires:      %{name}
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    69
Requires:      SUNWPython
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    70
Requires:      SUNWgnome-python-libs
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    71
BuildRequires: SUNWPython-devel
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    72
BuildRequires: SUNWpython-setuptools
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    73
BuildRequires: SUNWgnome-python-libs-devel
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
    74
15162
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    75
%package python26
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    76
Summary:       %{summary} - Python 2.6 binding files
17789
79e576c49542 2010-04-01 Halton Huo <[email protected]>
halton
parents: 17453
diff changeset
    77
IPS_package_name: library/python-2/python-gtk-vnc-26
15162
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    78
SUNW_BaseDir:  %{_basedir}
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    79
%include default-depend.inc
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    80
Requires:      %{name}
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    81
Requires:      SUNWPython26
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    82
Requires:      SUNWgnome-python26-libs
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    83
BuildRequires: SUNWPython26-devel
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    84
BuildRequires: SUNWpython26-setuptools
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    85
BuildRequires: SUNWgnome-python26-libs-devel
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
    86
16824
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    87
%if %build_l10n
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    88
%package l10n
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    89
Summary:       %{summary} - l10n files
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    90
SUNW_BaseDir:  %{_basedir}
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    91
%include default-depend.inc
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    92
Requires:      %{name}
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    93
%endif
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
    94
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    95
%prep
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    96
rm -rf %name-%version
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
mkdir -p %name-%version
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    98
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   100
mkdir %name-%version/%{_arch64}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   101
%gvnc_64.prep -d %name-%version/%{_arch64}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   102
mkdir %name-%version/%{_arch64}-py26
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   103
%gvnc_64_py26.prep -d %name-%version/%{_arch64}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   104
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   105
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   106
mkdir %name-%version/%{base_arch}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
%gvnc.prep -d %name-%version/%{base_arch}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   108
mkdir %name-%version/%{base_arch}-py26
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   109
%gvnc_py26.prep -d %name-%version/%{base_arch}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   110
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   111
cd %{_builddir}/%name-%version
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   112
gzcat %SOURCE1 | tar xf -
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   113
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   114
%build
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   115
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   116
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   117
export LDFLAGS="$FLAG64"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   118
export CFLAGS="%optflags64"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   119
export RPM_OPT_FLAGS="$CFLAGS"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   120
%gvnc_64.build -d %name-%version/%{_arch64}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   121
%gvnc_64_py26.build -d %name-%version/%{_arch64}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   122
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   123
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   124
export LDFLAGS="%_ldflags"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   125
export CFLAGS="%optflags"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   126
export RPM_OPT_FLAGS="$CFLAGS"
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   127
%gvnc.build -d %name-%version/%{base_arch}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   128
%gvnc_py26.build -d %name-%version/%{base_arch}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   129
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   130
%install
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   131
rm -rf $RPM_BUILD_ROOT
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   132
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   133
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   134
%gvnc_64.install -d %name-%version/%{_arch64}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   135
%gvnc_64_py26.install -d %name-%version/%{_arch64}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   136
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   137
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   138
%gvnc.install -d %name-%version/%{base_arch}
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   139
%gvnc_py26.install -d %name-%version/%{base_arch}-py26
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   140
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   141
# rename plugin dir to firefox
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   142
cd $RPM_BUILD_ROOT%{_libdir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   143
mv mozilla firefox
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   144
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   145
# remove empty bindir, refer to bugzilla #560112
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   146
rmdir $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   147
rmdir $RPM_BUILD_ROOT%{_bindir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   148
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   149
# install man page
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   150
rm -rf $RPM_BUILD_ROOT%{_mandir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   151
cd %{_builddir}/%name-%version/sun-manpages
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   152
make install DESTDIR=$RPM_BUILD_ROOT
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   153
16824
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   154
%if %build_l10n
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   155
%else
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   156
# REMOVE l10n FILES
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   157
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   158
%endif
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   159
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   160
%clean
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   161
rm -rf $RPM_BUILD_ROOT
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   162
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   163
%files
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   164
%doc -d %{base_arch}/gtk-vnc-%{gvnc.version} README AUTHORS
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   165
%doc(bzip2) -d %{base_arch}/gtk-vnc-%{gvnc.version} COPYING.LIB ChangeLog NEWS
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   166
%dir %attr (0755, root, other) %{_datadir}/doc
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   167
%defattr (-, root, bin)
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_libdir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   169
%{_libdir}/lib*.so*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   170
%dir %attr (0755, root, bin) %{_libdir}/firefox
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   171
%dir %attr (0755, root, bin) %{_libdir}/firefox/plugins
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   172
%{_libdir}/firefox/plugins/gtk-vnc-plugin.so
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   173
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   174
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   175
%{_libdir}/%{_arch64}/lib*.so*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   176
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   177
%dir %attr (0755, root, sys) %{_datadir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   178
%dir %attr(0755, root, bin) %{_mandir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   179
%dir %attr(0755, root, bin) %{_mandir}/*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   180
%{_mandir}/*/*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   181
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   182
%files devel
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   183
%defattr (-, root, bin)
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   184
%dir %attr (0755, root, bin) %{_includedir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   185
%{_includedir}/*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   186
%dir %attr (0755, root, bin) %{_libdir}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   187
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   188
%{_libdir}/pkgconfig/*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   189
%ifarch amd64 sparcv9
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   190
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   191
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   192
%{_libdir}/%{_arch64}/pkgconfig/*
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   193
%endif
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   194
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   195
%files python24
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   196
%defattr (-, root, bin)
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   197
%dir %attr (0755, root, bin) %{_libdir}
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   198
%dir %attr (0755, root, bin) %{_libdir}/python2.4
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   199
%dir %attr (0755, root, bin) %{_libdir}/python2.4/vendor-packages
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   200
%{_libdir}/python2.4/vendor-packages/gtkvnc.so
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   201
%dir %attr (0755, root, bin) %{_libdir}/python2.4/vendor-packages/64
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   202
%{_libdir}/python2.4/vendor-packages/64/gtkvnc.so
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   203
15162
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   204
%files python26
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   205
%defattr (-, root, bin)
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   206
%dir %attr (0755, root, bin) %{_libdir}
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   207
%dir %attr (0755, root, bin) %{_libdir}/python2.6
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   208
%dir %attr (0755, root, bin) %{_libdir}/python2.6/vendor-packages
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   209
%{_libdir}/python2.6/vendor-packages/gtkvnc.so
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   210
%dir %attr (0755, root, bin) %{_libdir}/python2.6/vendor-packages/64
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   211
%{_libdir}/python2.6/vendor-packages/64/gtkvnc.so
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   212
16824
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   213
%if %build_l10n
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   214
%files l10n
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   215
%defattr (-, root, bin)
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   216
%dir %attr (0755, root, sys) %{_datadir}
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   217
%attr (-, root, other) %{_datadir}/locale
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   218
%endif
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   219
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   220
%changelog
17453
199d82bc0552 2010-01-27 Halton Huo <[email protected]>
halton
parents: 16936
diff changeset
   221
* Wed Jan 27 2010 - [email protected]
199d82bc0552 2010-01-27 Halton Huo <[email protected]>
halton
parents: 16936
diff changeset
   222
- Add BuildRequires:SUNWfirefox-devel for the plugin
16936
6a30035a3209 2009-11-10 Halton Huo <[email protected]>
halton
parents: 16915
diff changeset
   223
* Tue Nov 11 2009 - [email protected]
6a30035a3209 2009-11-10 Halton Huo <[email protected]>
halton
parents: 16915
diff changeset
   224
- Add BuildRequires to SUNWxwinc and SUNWprd
16915
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   225
* Thu Nov 05 2009 - [email protected]
ab051dcf74f8 2009-11-05 Halton Huo <[email protected]>
halton
parents: 16824
diff changeset
   226
- Add pkg -python24 back because virt-manager still use it.
16824
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   227
* Wed Oct 21 2009 - [email protected]
9d69b0e23962 2009-10-21 Halton Huo <[email protected]>
halton
parents: 16759
diff changeset
   228
- Add pkg -l10n
16758
b04c0b0c5ceb 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16434
diff changeset
   229
* Thu Oct 15 2009 - [email protected]
b04c0b0c5ceb 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16434
diff changeset
   230
- Add Requires: SUNWlibsasl
16759
eb9f2a20e888 2009-10-15 Halton Huo <[email protected]>
halton
parents: 16758
diff changeset
   231
- Remove pkg -python24
15489
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   232
* Tue Mar 24 2009 - [email protected]
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   233
- Since /usr/lib/amd64/pkgconfig/gtk-vnc-1.0.pc (SUNWgtk-vnc-devel) requires
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   234
  /usr/lib/amd64/pkgconfig/gtk+-2.0.pc which is found in
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   235
  SUNWgnome-base-libs-devel, add the dependency.
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   236
- Since /usr/lib/amd64/pkgconfig/gtk-vnc-1.0.pc (SUNWgtk-vnc-devel) requires
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   237
  /usr/lib/amd64/pkgconfig/gnutls.pc which is found in SUNWgnutls-devel,
43159d231547 2009-03-24 Jeff Cai <[email protected]>
qc161282
parents: 15422
diff changeset
   238
  add the dependency.
15422
975cdfe087b8 2009-03-18 Halton Huo <[email protected]>
halton
parents: 15162
diff changeset
   239
* Wed Mar 18 2009 - [email protected]
975cdfe087b8 2009-03-18 Halton Huo <[email protected]>
halton
parents: 15162
diff changeset
   240
- Remove -python25 pkg
15162
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   241
* Thu Feb 19 2009 - [email protected]
ea6d8190a853 2009-02-19 Halton Huo <[email protected]>
halton
parents: 14933
diff changeset
   242
- Add -python26 pkg
14798
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
   243
* Mon Dec 22 2008 - [email protected]
4b577803f701 2008-12-22 Halton Huo <[email protected]>
halton
parents: 14656
diff changeset
   244
- update deps after run check-deps.pl
14655
4de1acea2aeb 2008-11-26 Halton Huo <[email protected]>
halton
parents: 14629
diff changeset
   245
* Wed Nov 26 2008 - [email protected]
4de1acea2aeb 2008-11-26 Halton Huo <[email protected]>
halton
parents: 14629
diff changeset
   246
- Add -python25 pkg
4de1acea2aeb 2008-11-26 Halton Huo <[email protected]>
halton
parents: 14629
diff changeset
   247
- Add 64-bit gtkvnc python moudle
14629
2862b53045c6 2008-11-14 Halton Huo <[email protected]>
halton
parents: 14593
diff changeset
   248
* Thu Nov 20 2008 - [email protected]
2862b53045c6 2008-11-14 Halton Huo <[email protected]>
halton
parents: 14593
diff changeset
   249
- Remove -l10n pkg
14593
751c99543e80 2008-11-13 Halton Huo <[email protected]>
halton
parents: 14590
diff changeset
   250
* Thu Nov 13 2008 - [email protected]
751c99543e80 2008-11-13 Halton Huo <[email protected]>
halton
parents: 14590
diff changeset
   251
- Moved from SFE
751c99543e80 2008-11-13 Halton Huo <[email protected]>
halton
parents: 14590
diff changeset
   252
- Enable 64-bit build
751c99543e80 2008-11-13 Halton Huo <[email protected]>
halton
parents: 14590
diff changeset
   253
- Add package -python24
14590
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   254
* Tue May 06 2008 - [email protected]
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   255
- Remove ast stuff.
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   256
* Thu Oct 25 2007 - [email protected]
0aead06d5d9f 2008-11-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   257
- Initial spec
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15489
diff changeset
   258