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