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