brltty.spec revision 20178
10139N/A#
10139N/A# spec file for package brltty
10139N/A#
10139N/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#
13036N/A%define owner liyuan
10139N/A#
10139N/A
10139N/A%define OSR 12277:4.0
10139N/A
10139N/AName: brltty
10139N/ALicense: GPLv2. Text, attributes, and contraction tables and subtables are LGPLv2.1
13036N/AGroup: System/Library
10139N/AVersion: 4.2
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: mielke.cc/brltty
10139N/ASummary: Braille Support
10139N/ASource: http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz
10139N/A# date:2005-08-24 owner:ww36193 type:bug
10139N/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
13036N/A%description
13036N/ABRLTTY is a background process (daemon) providing access to the Linux/Unix
13036N/Aconsole (when in text mode) for a blind person using a refreshable braille
13036N/Adisplay. It also provides an API for braille support.
13036N/A
10139N/A%prep
10139N/A%setup -q -n brltty-%{version}
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/ACFLAGS="%optflags"
10139N/ALDFLAGS="%{_ldflags} %optflags"
10139N/Abash ./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --disable-tcl-bindings \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --mandir=%{_mandir} \
10139N/A --localstatedir=%{_localstatedir} \
10139N/A --disable-speech-support
10139N/Amake
10139N/A
10139N/A%install
10139N/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
10139N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
10139N/A# Move python site-packages dir to vendor-packages.
10139N/Aif [ -x $RPM_BUILD_ROOT%{_libdir}/python?.? ] ; then
10139N/Acd $RPM_BUILD_ROOT%{_libdir}/python?.?
10139N/Amv site-packages vendor-packages
10139N/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*
11933N/A%{_libdir}/brltty/libbrltty*.so
10139N/A%{_mandir}/*
10139N/A
10139N/A%changelog
10139N/A* Wed Jun 02 2010 - brian.cameron@oracle.com
10139N/A- Bump to 4.2.
10139N/A* Tue Oct 13 2009 - william.walker@sun.com
11904N/A- Bump to 4.1 to fix major crasher.
10139N/A* Fri Aug 21 2009 - li.yuan@sun.com
10139N/A- Change owner to liyuan.
10139N/A* Tue Jun 16 2009 - william.walker@sun.com
10139N/A- Bump to 4.0. Remove brltty-02-dlsym patch since 4.0 fixed the issue.
10139N/A* Fri Aug 29 2008 - laca@sun.com
10139N/A- add patch dlsym.diff
10139N/A* Mon Jul 07 2008 - li.yuan@sun.com
10139N/A- Fix 6697334. Add 64 bit libraries support.
10139N/A* Tue Nov 13 2007 - brian.cameron@sun.com
10139N/A- Bump to 3.9.
10139N/A* Wed Jul 25 2007 - damien.carbery@sun.com
10139N/A- Bump to 3.8. Remove upstream patch, 02-lib-symlinks. Add code to handle new
10139N/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
13036N/A- Bump to 3.6.2.
10139N/A* Tue Aug 16 2005 - rich.burridge@sun.com
10139N/A- Initial Sun release.
10139N/A