SUNWgnome-a11y-reader.spec
author henryz
Wed, 09 Apr 2008 07:35:21 +0000
changeset 12065 ec40d145a28b
parent 12016 ae9845dead4d
child 13669 33bbdd33156e
permissions -rw-r--r--
+2008-04-09 Henry Zhang <[email protected]> + + * patches/virt-manager-04-temporary-patch.diff: + Change the patch to fix AllY bug, 6686007 +
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-a11y-reader
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): orca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: dcarbery
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use orca = orca.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Name:              SUNWgnome-a11y-reader
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:           Orca screen reader/magnifier
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:           %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Source:            %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:      %{_basedir}
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11120
diff changeset
    20
SUNW_Copyright:    %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
# obsoletes SUNWgnome-orca:
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWgnome-python-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWjdsrm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWbash
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: SUNWgnome-python-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%orca.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
export PYTHON="/usr/bin/python"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
export CPPFLAGS="-I/usr/include/python2.4"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
export CFLAGS="%optflags -I%{_includedir} -I/usr/include/python2.4"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%orca.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%orca.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
11120
08278f87add1 2007-11-05 Li Yuan <[email protected]>
liyuan
parents: 10562
diff changeset
    75
%post
08278f87add1 2007-11-05 Li Yuan <[email protected]>
liyuan
parents: 10562
diff changeset
    76
%include icon-cache.script
08278f87add1 2007-11-05 Li Yuan <[email protected]>
liyuan
parents: 10562
diff changeset
    77
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%files 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%{_libdir}/python?.?
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_datadir}/orca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%dir %attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
10247
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    88
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    89
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    90
%{_datadir}/icons/hicolor/16x16/apps/orca.png
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    91
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    92
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    93
%{_datadir}/icons/hicolor/22x22/apps/orca.png
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    94
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    95
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    96
%{_datadir}/icons/hicolor/24x24/apps/orca.png
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    97
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    98
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    99
%{_datadir}/icons/hicolor/32x32/apps/orca.png
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%{_datadir}/icons/hicolor/48x48/apps/orca.png
10247
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   103
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   104
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   105
%{_datadir}/icons/hicolor/scalable/apps/orca.svg
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%{_datadir}/applications/orca.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%dir %attr(0755, root, bin) %{_mandir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%{_mandir}/*/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%changelog
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11120
diff changeset
   120
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11120
diff changeset
   121
- Add SUNW_Copyright.
11120
08278f87add1 2007-11-05 Li Yuan <[email protected]>
liyuan
parents: 10562
diff changeset
   122
* Mon Nov 05 2007 - [email protected]
08278f87add1 2007-11-05 Li Yuan <[email protected]>
liyuan
parents: 10562
diff changeset
   123
- Use icon-cache.script for %post
10562
34666b1a91cb 2007-09-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10247
diff changeset
   124
* Thu Sep 27 2007 - [email protected]
34666b1a91cb 2007-09-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10247
diff changeset
   125
- delete some unnecessary env variables
10247
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   126
* Wed Aug 01 2007 - [email protected]
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   127
- Add new icons to %files.
4cbb3ff940bb 2007-08-01 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   128
* Mon Feb 05 2007 - [email protected]
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Add Requires SUNWbash after check-deps.pl run.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Tue Dec 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Uncomment out l10n locale dir. Fixes 6499543.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Wed Nov 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Use %{default_pkg_version} instead of orca.version.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Mon Sep 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Tue Aug 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Update %files after bump to 0.9.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- Comment out 'orca' dir until build issues with 0.2.[5-8] are resolved.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Fri Jun 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- Add %{_datadir}/orca to %files for new tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
* Thu Feb 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
- Update to orca-0.2.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Wed Nov 30 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Update to orca-0.2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
- rename to SUNWgnome-a11y-orca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
- move to vendor-packages from site-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
* Tue Sep 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
- move to /usr as Python was also moved there
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
* Thu Sep 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
- define l10n subpkg; update to keep locale stuff in /usr/share
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
* Mon Aug 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
- Adjusted to put files under /usr/sfw
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
* Thu Aug 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
* Mon Aug 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
- initial version