author | dcarbery |
Mon, 20 Nov 2006 17:47:35 +0000 | |
changeset 8614 | 1406c859ce28 |
parent 8529 | ace8e9b8a2b7 |
child 8620 | 4231ee6fbb2d |
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 brltty |
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 |
# |
8529 | 8 |
# Owner:dcarbery |
9 |
# |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
10 |
Name: brltty |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
11 |
License: GPL |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
12 |
Group: System/Library |
6589 | 13 |
Version: 3.7.2 |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
14 |
Release: 1 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
15 |
Distribution: Java Desktop System |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
16 |
Vendor: Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
17 |
Summary: Braille Support |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
18 |
Source: http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz |
8614 | 19 |
# date:2005-08-24 owner:rich type:bug |
20 |
# patch sent upstream |
|
8470 | 21 |
Patch1: brltty-01-suncc.diff |
8614 | 22 |
# date:2006-11-01 owner:dcarbery type:bug bugster:6454451 bugzilla:37932 |
8501 | 23 |
# patch sent upstream |
8470 | 24 |
Patch2: brltty-02-lib-symlinks.diff |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
25 |
URL: http://mielke.cc/brltty/ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
27 |
Docdir: %{_defaultdocdir}/doc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
28 |
Autoreqprov: on |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
29 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
30 |
%description |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
31 |
BRLTTY is a background process (daemon) providing access to the Linux/Unix |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
32 |
console (when in text mode) for a blind person using a refreshable braille |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
33 |
display. It also provides an API for braille support. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
34 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
35 |
%prep |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
36 |
%setup -q -n brltty-%{version} |
8470 | 37 |
%patch1 -p1 |
38 |
%patch2 -p1 |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
39 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
40 |
%build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
41 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
42 |
./configure --prefix=%{_prefix} \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
43 |
--sysconfdir=%{_sysconfdir} \ |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
44 |
--mandir=%{_mandir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
45 |
make |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
46 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
47 |
%install |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
48 |
rm -rf $RPM_BUILD_ROOT |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
49 |
make install INSTALL_ROOT=$RPM_BUILD_ROOT sysconfdir=$RPM_BUILD_ROOT/etc |
6996 | 50 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
51 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
52 |
%clean |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
53 |
rm -rf $RPM_BUILD_ROOT |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
54 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
55 |
%post |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
56 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
57 |
%postun |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
58 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
59 |
%files |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
60 |
%defattr(644, root, root) |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
61 |
%{_sysconfdir}/brlapi.key |
6923 | 62 |
%{_includedir}/brltty/* |
63 |
%{_sysconfdir}/brltty/* |
|
64 |
%{_bindir}/* |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
65 |
%{_libdir}/libbrl* |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
66 |
%{_libdir}/brltty/libbrltty*.so |
6923 | 67 |
%{_mandir}/* |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
68 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
69 |
%changelog |
8470 | 70 |
* Wed Nov 01 2006 - [email protected] |
71 |
- Add patch, 02-lib-sylinks to fix 6454451. Adds code to create symlink for |
|
72 |
to a module library. Executable required the symlink. |
|
6996 | 73 |
* Tue Apr 4 2006 - [email protected] |
74 |
- Remove libbrlapi.a from the package. |
|
6589 | 75 |
* Tue Jan 17 2006 - [email protected] |
76 |
- Bump to 3.7.2. |
|
6414 | 77 |
* Tue Dec 20 2005 - [email protected] |
78 |
- Bump to 3.7.1. |
|
6186 | 79 |
* Wed Oct 26 2005 - [email protected] |
80 |
- Bump to 3.7. |
|
6015 | 81 |
* Thu Sep 27 2005 - [email protected] |
82 |
- Bump to 3.6.2. |
|
5583 | 83 |
* Tue Aug 16 2005 - [email protected] |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
84 |
- Initial Sun release |