author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7625 | edfa83a1fde8 |
child 7743 | b9bc3fb4d8b2 |
permissions | -rw-r--r-- |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
1 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
2 |
# spec file for package orca |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
3 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
5 |
# This file and all modifications and additions to the pristine |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
6 |
# package are under the same license as the package itself. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
7 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
8 |
Name: orca |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
9 |
License: LGPL |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
10 |
Group: System/Library |
7625 | 11 |
Version: 0.2.6 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
12 |
Release: 1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
13 |
Distribution: Java Desktop System |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
14 |
Vendor: Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
15 |
Summary: Orca Screen Reader/Magnifier |
6830 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/orca/0.2/orca-%{version}.tar.bz2 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
17 |
URL: http://www.gnome.org |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
19 |
Docdir: %{_defaultdocdir}/doc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
20 |
Autoreqprov: on |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
21 |
|
6193 | 22 |
%define python_version 2.4 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
23 |
%define pyorbit_version 2.0.1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
24 |
%define pygtk2_version 2.6.2 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
25 |
%define gnome_python_version 2.6.2 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
26 |
%define brltty_version 3.6.1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
27 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
28 |
Requires: pygtk2 >= %{pygtk2_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
29 |
Requires: pyorbit >= %{pyorbit_version} |
5586 | 30 |
Requires: gnome-python >= %{gnome_python_version} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
31 |
Requires: brltty >= %{brltty_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
32 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
33 |
BuildRequires: pygtk2-devel >= %{pygtk2_version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
34 |
BuildRequires: pyorbit-devel >= %{pyorbit_version} |
5586 | 35 |
BuildRequires: gnome-python-devel >= %{gnome_python_version} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
36 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
37 |
%description |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
38 |
Orca a scriptable screen reader/magnifier that is under development. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
39 |
As such it is highly unstable and undergoes frequent changes. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
40 |
To read more about Orca, please refer to the "Programmer's Guide" in |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
41 |
the docs/programmers-guide directory. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
42 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
43 |
%prep |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
44 |
%setup -q -n orca-%{version} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
45 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
46 |
%build |
5884 | 47 |
libtoolize --force |
48 |
glib-gettextize --copy --force |
|
49 |
aclocal $ACLOCAL_FLAGS -I . |
|
50 |
autoconf |
|
51 |
autoheader |
|
52 |
automake -a -c -f |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
53 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
54 |
./configure --prefix=%{_prefix} \ |
5884 | 55 |
--libdir=%{_libdir} \ |
56 |
--bindir=%{_bindir} \ |
|
57 |
--datadir=%{_datadir} \ |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
58 |
--sysconfdir=%{_sysconfdir} |
6749 | 59 |
|
60 |
# FIXME: hack: stop the build from looping |
|
61 |
touch po/stamp-it |
|
62 |
||
6193 | 63 |
make \ |
64 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
65 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
66 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
67 |
%install |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
68 |
rm -rf $RPM_BUILD_ROOT |
6193 | 69 |
make DESTDIR=$RPM_BUILD_ROOT install \ |
70 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
71 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
72 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
73 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';' |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
74 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
75 |
%clean |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
76 |
rm -rf $RPM_BUILD_ROOT |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
77 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
78 |
%post |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
79 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
80 |
%postun |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
81 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
82 |
%files |
6923 | 83 |
%defattr(-, root, root) |
84 |
%{_libdir}/python?.?/vendor-packages/orca |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
85 |
%{_bindir}/orca |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
86 |
%{_bindir}/orca-setup |
5608 | 87 |
%{_datadir}/locale |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
88 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
89 |
%doc AUTHORS NEWS README ChangeLog |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
90 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
91 |
%changelog |
7625 | 92 |
* Wed Jul 12 2006 - [email protected] |
93 |
- Update to 0.2.6 |
|
7448 | 94 |
* Wed Jun 14 2006 - [email protected] |
95 |
- Update to 0.2.5 |
|
7195 | 96 |
* Tue May 02 2006 - [email protected] |
97 |
- Remove unneeded intltoolize call. |
|
6960 | 98 |
* Sat Mar 18 2006 - [email protected] |
99 |
- Bump to 0.2.2. |
|
6830 | 100 |
* Thu Feb 23 2006 - [email protected] |
101 |
- Use bzip source tarball. It's smaller. |
|
6825 | 102 |
* Thu Feb 23 2006 - [email protected] |
103 |
- Update to orca-0.2.1 |
|
6749 | 104 |
* Tue Feb 14 2006 - [email protected] |
105 |
- Add hack to fix infinite loop problem in po/Makefile. |
|
6312 | 106 |
* Wed Nov 30 2005 - [email protected] |
107 |
- Update to orca-0.2.0 |
|
6200 | 108 |
* Thu Oct 27 2005 - [email protected] |
109 |
- move from site-packages to vendor-packages |
|
5884 | 110 |
* Thu Sep 15 2005 - [email protected] |
111 |
- autotoolize |
|
112 |
- add patch bindir.diff |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
113 |
* Mon Aug 15 2005 - [email protected] |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
114 |
- Initial Sun release |