9397
|
1 |
#
|
|
2 |
# spec file for package brltty
|
|
3 |
#
|
18066
|
4 |
# Copyright (c) 2005-2010 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner liyuan
|
9397
|
9 |
#
|
16425
|
10 |
|
|
11 |
%define OSR 12277:4.0
|
|
12 |
|
9397
|
13 |
Name: brltty
|
18066
|
14 |
License: GPLv2. Text, attributes, and contraction tables and subtables are LGPLv2.1
|
9397
|
15 |
Group: System/Library
|
18066
|
16 |
Version: 4.2
|
9397
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17893
|
19 |
Vendor: mielke.cc/brltty
|
9397
|
20 |
Summary: Braille Support
|
|
21 |
Source: http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz
|
15912
|
22 |
# date:2005-08-24 owner:ww36193 type:bug
|
|
23 |
# Patch submitted upstream for their consideration
|
9397
|
24 |
Patch1: brltty-01-suncc.diff
|
|
25 |
URL: http://mielke.cc/brltty/
|
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
Docdir: %{_defaultdocdir}/doc
|
|
28 |
Autoreqprov: on
|
|
29 |
|
|
30 |
%description
|
|
31 |
BRLTTY is a background process (daemon) providing access to the Linux/Unix
|
|
32 |
console (when in text mode) for a blind person using a refreshable braille
|
|
33 |
display. It also provides an API for braille support.
|
|
34 |
|
|
35 |
%prep
|
|
36 |
%setup -q -n brltty-%{version}
|
|
37 |
%patch1 -p1
|
|
38 |
|
|
39 |
%build
|
12763
|
40 |
CFLAGS="%optflags"
|
|
41 |
LDFLAGS="%{_ldflags} %optflags"
|
13313
|
42 |
bash ./configure --prefix=%{_prefix} \
|
9397
|
43 |
--sysconfdir=%{_sysconfdir} \
|
10470
|
44 |
--disable-tcl-bindings \
|
12763
|
45 |
--libdir=%{_libdir} \
|
|
46 |
--bindir=%{_bindir} \
|
15912
|
47 |
--mandir=%{_mandir} \
|
16740
|
48 |
--localstatedir=%{_localstatedir} \
|
15912
|
49 |
--disable-speech-support
|
9397
|
50 |
make
|
|
51 |
|
|
52 |
%install
|
12763
|
53 |
#rm -rf $RPM_BUILD_ROOT
|
9397
|
54 |
make install INSTALL_ROOT=$RPM_BUILD_ROOT sysconfdir=$RPM_BUILD_ROOT/etc
|
|
55 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
16740
|
56 |
rm -rf $RPM_BUILD_ROOT%{_localstatedir}
|
10217
|
57 |
# Move python site-packages dir to vendor-packages.
|
12763
|
58 |
if [ -x $RPM_BUILD_ROOT%{_libdir}/python?.? ] ; then
|
10217
|
59 |
cd $RPM_BUILD_ROOT%{_libdir}/python?.?
|
|
60 |
mv site-packages vendor-packages
|
12763
|
61 |
fi
|
9397
|
62 |
|
|
63 |
%clean
|
|
64 |
rm -rf $RPM_BUILD_ROOT
|
|
65 |
|
|
66 |
%post
|
|
67 |
|
|
68 |
%postun
|
|
69 |
|
|
70 |
%files
|
|
71 |
%defattr(644, root, root)
|
|
72 |
%{_sysconfdir}/brlapi.key
|
|
73 |
%{_includedir}/brltty/*
|
|
74 |
%{_sysconfdir}/brltty/*
|
|
75 |
%{_bindir}/*
|
|
76 |
%{_libdir}/libbrl*
|
|
77 |
%{_libdir}/brltty/libbrltty*.so
|
|
78 |
%{_mandir}/*
|
|
79 |
|
|
80 |
%changelog
|
18066
|
81 |
* Wed Jun 02 2010 - [email protected]
|
|
82 |
- Bump to 4.2.
|
16740
|
83 |
* Tue Oct 13 2009 - [email protected]
|
|
84 |
- Bump to 4.1 to fix major crasher.
|
16324
|
85 |
* Fri Aug 21 2009 - [email protected]
|
|
86 |
- Change owner to liyuan.
|
15912
|
87 |
* Tue Jun 16 2009 - [email protected]
|
|
88 |
- Bump to 4.0. Remove brltty-02-dlsym patch since 4.0 fixed the issue.
|
13313
|
89 |
* Fri Aug 29 2008 - [email protected]
|
|
90 |
- add patch dlsym.diff
|
12763
|
91 |
* Mon Jul 07 2008 - [email protected]
|
|
92 |
- Fix 6697334. Add 64 bit libraries support.
|
11186
|
93 |
* Tue Nov 13 2007 - [email protected]
|
|
94 |
- Bump to 3.9.
|
10217
|
95 |
* Wed Jul 25 2007 - [email protected]
|
|
96 |
- Bump to 3.8. Remove upstream patch, 02-lib-symlinks. Add code to handle new
|
|
97 |
python libs.
|
9397
|
98 |
* Wed Nov 01 2006 - [email protected]
|
|
99 |
- Add patch, 02-lib-sylinks to fix 6454451. Adds code to create symlink for
|
|
100 |
to a module library. Executable required the symlink.
|
|
101 |
* Tue Apr 4 2006 - [email protected]
|
|
102 |
- Remove libbrlapi.a from the package.
|
|
103 |
* Tue Jan 17 2006 - [email protected]
|
|
104 |
- Bump to 3.7.2.
|
|
105 |
* Tue Dec 20 2005 - [email protected]
|
|
106 |
- Bump to 3.7.1.
|
|
107 |
* Wed Oct 26 2005 - [email protected]
|
|
108 |
- Bump to 3.7.
|
|
109 |
* Thu Sep 27 2005 - [email protected]
|
|
110 |
- Bump to 3.6.2.
|
|
111 |
* Tue Aug 16 2005 - [email protected]
|
18066
|
112 |
- Initial Sun release.
|