SUNWlibatk.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 15833 7f9243acbaba
child 17641 23ff24ccd62a
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     1
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     2
# spec file for package SUNWlibatk
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     3
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     4
# includes module(s): atk
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     5
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     8
# package are under the same license as the package itself.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15833
diff changeset
    10
%define owner liyuan
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    11
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    12
%include Solaris.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    13
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    14
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    15
%include arch64.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    16
%use atk_64 = atk.spec
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    17
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    18
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    19
%include base.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    20
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    21
%use atk = atk.spec
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    22
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    23
Name:                    SUNWlibatk
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    24
Summary:                 GNOME accesibility toolkit libraries
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    25
Version:                 %{atk.version}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    26
Source:                  %{name}-manpages-0.1.tar.gz
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    27
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    28
SUNW_Copyright:          %{name}.copyright
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    29
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    30
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    31
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    32
Requires: SUNWglib2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    33
BuildRequires: SUNWglib2-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    34
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    35
%package devel		
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    36
Summary:                 %{summary} - development files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    38
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    39
Requires: SUNWlibatk
15833
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15558
diff changeset
    40
Requires: SUNWglib2-devel
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    41
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    42
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    43
%package l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    44
Summary:                 %{summary} - l10n content
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    45
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    46
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    47
Requires: %{name}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    48
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    49
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    50
%prep
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    51
rm -rf %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    52
mkdir %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    53
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    54
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    55
mkdir %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    56
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    57
%atk_64.prep -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    58
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    59
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    60
mkdir %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    61
%atk.prep -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    62
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    63
cd %{_builddir}/%name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    64
gzcat %SOURCE0 | tar xf -
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    65
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    66
%build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    67
PKG_CONFIG_DISABLE_UNINSTALLED=
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    68
unset PKG_CONFIG_DISABLE_UNINSTALLED
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    69
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    70
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    71
%atk_64.build -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    72
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    73
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    74
%atk.build -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    75
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    76
%install
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    78
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    79
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    80
%atk_64.install -d %name-%version/%_arch64
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    81
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    82
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    83
%atk.install -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    84
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT%{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    86
cd %{_builddir}/%name-%version/sun-manpages
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    87
make install DESTDIR=$RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    88
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    89
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    90
%else
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    91
# REMOVE l10n FILES
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    92
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    93
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    94
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    95
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    96
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    97
%clean
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    98
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    99
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   100
%files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   101
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   102
%dir %attr (0755, root, bin) %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   103
%{_libdir}/lib*.so*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   104
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   105
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   106
%{_libdir}/%{_arch64}/lib*.so*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   107
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   108
%dir %attr (0755, root, sys) %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   109
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   110
%files devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   111
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   112
%dir %attr (0755, root, bin) %dir %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   113
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   114
%{_libdir}/pkgconfig/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   115
%dir %attr (0755, root, bin) %dir %{_includedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   116
%{_includedir}/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   117
%ifarch amd64 sparcv9
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   118
%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   119
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   120
%{_libdir}/%{_arch64}/pkgconfig/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   121
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   122
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   123
%{_datadir}/gtk-doc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   124
%dir %attr(0755, root, bin) %{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   125
%dir %attr(0755, root, bin) %{_mandir}/man3
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   126
%{_mandir}/man3/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   127
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   128
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   129
%files l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   130
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   131
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   132
%attr (-, root, other) %{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   133
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   134
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   135
%changelog
15833
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15558
diff changeset
   136
* Tue Jun 02 2009 - [email protected]
7f9243acbaba fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents: 15558
diff changeset
   137
- fixed dependency issue(CR6843654).
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   138
* Tue Mar 31 2009 - [email protected]
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   139
- initial version(split from SUNWgnome-base-libs)