SUNWlibgsf.spec
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 14173 fe63d4719576
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for packages SUNWlibgsf
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     4
# includes module(s): libgsf
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
#
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# package are under the same license as the package itself.
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
12591
cc160146d842 2008-06-05 Rick Ju <[email protected]>
rickju
parents: 12563
diff changeset
    10
# Owner:rickju
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    11
#
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    12
%include Solaris.inc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    14
%ifarch amd64 sparcv9
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    15
%include arch64.inc
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    16
%use libgsf_64 = libgsf.spec
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    17
%endif
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    18
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    19
%include base.inc
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    20
%use libgsf = libgsf.spec
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    21
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
Name:                    SUNWlibgsf
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
Summary:                 GNOME Structured File Library
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
Version:                 %{default_pkg_version}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
SUNW_BaseDir:            %{_basedir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    26
SUNW_Copyright:          %{name}.copyright
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    27
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    28
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    29
%include default-depend.inc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    30
Requires: SUNWlibgsf-root
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
Requires: SUNWgnome-base-libs
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
Requires: SUNWgnome-component
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
Requires: SUNWgnome-vfs
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
Requires: SUNWgnome-config
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
Requires: SUNWdbus
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
Requires: SUNWdbus-bindings
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
Requires: SUNWlxml
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
Requires: SUNWbzip
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
Requires: SUNWzlib
13081
6e9dca6c7666 2008-08-08 Dave Lin <[email protected]>
davelam
parents: 12591
diff changeset
    40
Requires: SUNWlibms
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
Requires: SUNWopenssl-libraries
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
Requires: SUNWgnome-python-libs
13081
6e9dca6c7666 2008-08-08 Dave Lin <[email protected]>
davelam
parents: 12591
diff changeset
    43
BuildRequires: SUNWlibm
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
BuildRequires: SUNWgnome-base-libs-devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
BuildRequires: SUNWgnome-component-devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
BuildRequires: SUNWgnome-vfs-devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
BuildRequires: SUNWlxml-devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
BuildRequires: SUNWopenssl-include
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
BuildRequires: SUNWgnome-python-libs-devel
14173
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents: 13670
diff changeset
    50
BuildRequires: SUNWpython-setuptools
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
%package root
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    53
Summary:                 %{summary} - / filesystem
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
SUNW_BaseDir:            /
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%include default-depend.inc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
Requires: SUNWpostrun
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
%package devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
Summary:                 %{summary} - development files
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
SUNW_BaseDir:            %{_basedir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
%include default-depend.inc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
Requires:                %{name}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%if %build_l10n
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%package l10n
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
Summary:                 %{summary} - l10n files
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
SUNW_BaseDir:            %{_basedir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
%include default-depend.inc
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
Requires:                %{name}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
%endif
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
%prep
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    73
rm -rf %name-%version
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    74
mkdir %name-%version
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    75
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    76
%ifarch amd64 sparcv9
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    77
mkdir %name-%version/%_arch64
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    78
%libgsf_64.prep -d %name-%version/%_arch64
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    79
%endif
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    80
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    81
mkdir %name-%version/%{base_arch}
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    82
%libgsf.prep -d %name-%version/%{base_arch}
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    83
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
    84
%build
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    85
%ifarch amd64 sparcv9
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    86
if [ "x`basename $CC`" != xgcc ]
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    87
then
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    88
  FLAG64="-xarch=generic64"
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    89
else
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    90
  FLAG64="-m64"
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    91
fi
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    92
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    93
export LDFLAGS="$FLAG64"
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    94
export CFLAGS="%optflags64"
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    95
export RPM_OPT_FLAGS="$CFLAGS"
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    96
%libgsf_64.build -d %name-%version/%_arch64
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    97
%endif
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    98
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
    99
export LDFLAGS="%_ldflags"
13354
ed346e511689 2008-09-02 Halton Huo <[email protected]>
halton
parents: 13081
diff changeset
   100
export CFLAGS="%optflags"
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   101
export RPM_OPT_FLAGS="$CFLAGS"
13354
ed346e511689 2008-09-02 Halton Huo <[email protected]>
halton
parents: 13081
diff changeset
   102
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   103
%libgsf.build -d %name-%version/%{base_arch}
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   104
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   105
%install
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   106
rm -rf $RPM_BUILD_ROOT
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   108
%ifarch amd64 sparcv9
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   109
%libgsf_64.install -d %name-%version/%_arch64
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   110
%endif
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   111
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   112
%libgsf.install -d %name-%version/%{base_arch}
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   113
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   114
%if %build_l10n
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   115
%else
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   116
# REMOVE l10n FILES
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   117
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   118
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z][a-z]
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   119
%endif
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   120
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   121
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   122
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   123
%clean
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   124
rm -rf $RPM_BUILD_ROOT
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   125
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   126
%post root
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   127
%include gconf-install.script
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   128
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   129
%preun root
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   130
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   131
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   132
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   133
  echo '  exit 0';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   134
  echo '}';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   135
  echo 'umask 0022';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   136
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   137
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   138
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   139
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   140
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   141
  echo 'schemas="$SDIR/gsf-office-thumbnailer.schemas"';
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   142
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   143
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   144
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   145
%files
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   146
%defattr (-, root, bin)
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   147
%dir %attr (0755, root, bin) %{_bindir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   148
%{_bindir}/*
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   149
%dir %attr (0755, root, bin) %{_libdir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   150
%{_libdir}/lib*.so*
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   151
%attr (-, root, bin) %{_libdir}/python*
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   152
%dir %attr (0755, root, sys) %{_datadir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   153
%dir %attr(0755, root, bin) %{_mandir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   154
%dir %attr(0755, root, bin) %{_mandir}/man1
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   155
%{_mandir}/man1/*
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   156
%ifarch amd64 sparcv9
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   157
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   158
%{_libdir}/%{_arch64}/lib*.so*
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   159
%endif
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   160
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   161
%files root
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   162
%defattr (-, root, sys)
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   163
%attr (0755, root, sys) %dir %{_sysconfdir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   164
%{_sysconfdir}/gconf/schemas/gsf-office-thumbnailer.schemas
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   165
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   166
%files devel
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   167
%defattr (-, root, bin)
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_includedir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   169
%{_includedir}/libgsf-1
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   170
%dir %attr (0755, root, bin) %{_libdir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   171
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   172
%{_libdir}/pkgconfig/*
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   173
%dir %attr (0755, root, sys) %{_datadir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   174
%{_datadir}/gtk-doc
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   175
%ifarch amd64 sparcv9
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   176
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   177
%{_libdir}/%{_arch64}/pkgconfig/*
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   178
%endif
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   179
%doc -d %{base_arch}/libgsf-%{libgsf.version} AUTHORS ChangeLog NEWS README
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   180
%doc(bzip2) -d %{base_arch}/libgsf-%{libgsf.version} COPYING COPYING.LIB
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   181
%dir %attr (0755, root, other) %{_datadir}/doc
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   182
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   183
%if %build_l10n
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   184
%files l10n
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   185
%defattr (-, root, bin)
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   186
%dir %attr (0755, root, sys) %{_datadir}
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   187
%attr (-, root, other) %{_datadir}/locale
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   188
%endif
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   189
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   190
%changelog
13670
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   191
* Fri Sep 19 2008 - [email protected]
41334681405b 2008-09-19 Rick Ju <[email protected]>
rickju
parents: 13623
diff changeset
   192
- Add %doc for copyright files and fix an install issue.
13623
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   193
* Wed Sep 17 2008 - [email protected]
1962a480355d 2008-09-17 Rick Ju <[email protected]>
rickju
parents: 13354
diff changeset
   194
- Use gio and support 64bit build
13354
ed346e511689 2008-09-02 Halton Huo <[email protected]>
halton
parents: 13081
diff changeset
   195
* Tue Sep 02 2008 - [email protected]
ed346e511689 2008-09-02 Halton Huo <[email protected]>
halton
parents: 13081
diff changeset
   196
- Remove useless /usr/sfw stuff to CFLAGS and LDFLAGS
ed346e511689 2008-09-02 Halton Huo <[email protected]>
halton
parents: 13081
diff changeset
   197
- Add /usr/share/aclocal to ACLOCAL_FLAGS to fix build issue
13081
6e9dca6c7666 2008-08-08 Dave Lin <[email protected]>
davelam
parents: 12591
diff changeset
   198
* Fri Aug 08 2008 - [email protected]
6e9dca6c7666 2008-08-08 Dave Lin <[email protected]>
davelam
parents: 12591
diff changeset
   199
- Correct the dependency as below to fix the integration issues(CR6734966)
6e9dca6c7666 2008-08-08 Dave Lin <[email protected]>
davelam
parents: 12591
diff changeset
   200
    Requires: SUNWlibms, BuildRequires: SUNWlibm
12109
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   201
* Mon Apr 14 2008 - [email protected]
b84e142ba214 2008-04-14 Halton Huo <[email protected]>
halton
parents:
diff changeset
   202
- Spilit from SUNWdesktop-search-libs.spec