10139N/A#
10139N/A# spec file for package brltty
10139N/A#
20178N/A# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner liyuan
10139N/A#
17176N/A
17176N/A%define OSR 12277:4.0
17176N/A
10139N/AName: brltty
18817N/ALicense: GPLv2. Text, attributes, and contraction tables and subtables are LGPLv2.1
10139N/AGroup: System/Library
18817N/AVersion: 4.2
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
18644N/AVendor: mielke.cc/brltty
10139N/ASummary: Braille Support
10139N/ASource: http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz
16663N/A# date:2005-08-24 owner:ww36193 type:bug
16663N/A# Patch submitted upstream for their consideration
10139N/APatch1: brltty-01-suncc.diff
10139N/AURL: http://mielke.cc/brltty/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: on
10139N/A
10139N/A%description
10139N/ABRLTTY is a background process (daemon) providing access to the Linux/Unix
10139N/Aconsole (when in text mode) for a blind person using a refreshable braille
10139N/Adisplay. It also provides an API for braille support.
10139N/A
10139N/A%prep
10139N/A%setup -q -n brltty-%{version}
10139N/A%patch1 -p1
10139N/A
10139N/A%build
20814N/Aexport LD=/usr/bin/ld
13505N/ACFLAGS="%optflags"
13505N/ALDFLAGS="%{_ldflags} %optflags"
14055N/Abash ./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
11212N/A --disable-tcl-bindings \
13505N/A --libdir=%{_libdir} \
13505N/A --bindir=%{_bindir} \
16663N/A --mandir=%{_mandir} \
17491N/A --localstatedir=%{_localstatedir} \
16663N/A --disable-speech-support
10139N/Amake
10139N/A
10139N/A%install
13505N/A#rm -rf $RPM_BUILD_ROOT
10139N/Amake install INSTALL_ROOT=$RPM_BUILD_ROOT sysconfdir=$RPM_BUILD_ROOT/etc
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
17491N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
10959N/A# Move python site-packages dir to vendor-packages.
13505N/Aif [ -x $RPM_BUILD_ROOT%{_libdir}/python?.? ] ; then
10959N/Acd $RPM_BUILD_ROOT%{_libdir}/python?.?
10959N/Amv site-packages vendor-packages
13505N/Afi
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A
10139N/A%postun
10139N/A
10139N/A%files
10139N/A%defattr(644, root, root)
10139N/A%{_sysconfdir}/brlapi.key
10139N/A%{_includedir}/brltty/*
10139N/A%{_sysconfdir}/brltty/*
10139N/A%{_bindir}/*
10139N/A%{_libdir}/libbrl*
10139N/A%{_libdir}/brltty/libbrltty*.so
10139N/A%{_mandir}/*
10139N/A
10139N/A%changelog
18817N/A* Wed Jun 02 2010 - brian.cameron@oracle.com
18817N/A- Bump to 4.2.
17491N/A* Tue Oct 13 2009 - william.walker@sun.com
17491N/A- Bump to 4.1 to fix major crasher.
17075N/A* Fri Aug 21 2009 - li.yuan@sun.com
17075N/A- Change owner to liyuan.
16663N/A* Tue Jun 16 2009 - william.walker@sun.com
16663N/A- Bump to 4.0. Remove brltty-02-dlsym patch since 4.0 fixed the issue.
14055N/A* Fri Aug 29 2008 - laca@sun.com
14055N/A- add patch dlsym.diff
13505N/A* Mon Jul 07 2008 - li.yuan@sun.com
13505N/A- Fix 6697334. Add 64 bit libraries support.
11928N/A* Tue Nov 13 2007 - brian.cameron@sun.com
11928N/A- Bump to 3.9.
10959N/A* Wed Jul 25 2007 - damien.carbery@sun.com
10959N/A- Bump to 3.8. Remove upstream patch, 02-lib-symlinks. Add code to handle new
10959N/A python libs.
10139N/A* Wed Nov 01 2006 - damien.carbery@sun.com
10139N/A- Add patch, 02-lib-sylinks to fix 6454451. Adds code to create symlink for
10139N/A to a module library. Executable required the symlink.
10139N/A* Tue Apr 4 2006 - glynn.foster@sun.com
10139N/A- Remove libbrlapi.a from the package.
10139N/A* Tue Jan 17 2006 - damien.carbery@sun.com
10139N/A- Bump to 3.7.2.
10139N/A* Tue Dec 20 2005 - damien.carbery@sun.com
10139N/A- Bump to 3.7.1.
10139N/A* Wed Oct 26 2005 - damien.carbery@sun.com
10139N/A- Bump to 3.7.
10139N/A* Thu Sep 27 2005 - damien.carbery@sun.com
10139N/A- Bump to 3.6.2.
10139N/A* Tue Aug 16 2005 - rich.burridge@sun.com
18817N/A- Initial Sun release.