Home | History | Annotate | Download | only in gnome-2-16
      1 #
      2 # spec file for package brltty
      3 #
      4 # Copyright (c) 2005 Sun Microsystems, Inc.
      5 # This file and all modifications and additions to the pristine
      6 # package are under the same license as the package itself.
      7 #
      8 # Owner:dcarbery
      9 #
     10 Name:           brltty
     11 License:        GPL
     12 Group:          System/Library
     13 Version:        3.7.2
     14 Release:        1
     15 Distribution:   Java Desktop System
     16 Vendor:	        Sun Microsystems, Inc.
     17 Summary:        Braille Support
     18 Source:         http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz
     19 # date:2005-08-24 owner:rich type:bug
     20 # patch sent upstream
     21 Patch1:         brltty-01-suncc.diff
     22 # date:2006-11-01 owner:dcarbery type:bug bugster:6454451
     23 # patch sent upstream
     24 Patch2:         brltty-02-lib-symlinks.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 %patch2 -p1 
     39 
     40 %build
     41 CFLAGS="$RPM_OPT_FLAGS"                         \
     42 ./configure     --prefix=%{_prefix}             \
     43                 --sysconfdir=%{_sysconfdir}     \
     44 		--mandir=%{_mandir}
     45 make
     46 
     47 %install
     48 rm -rf $RPM_BUILD_ROOT
     49 make install INSTALL_ROOT=$RPM_BUILD_ROOT sysconfdir=$RPM_BUILD_ROOT/etc
     50 rm $RPM_BUILD_ROOT%{_libdir}/*.a
     51 
     52 %clean
     53 rm -rf $RPM_BUILD_ROOT
     54 
     55 %post
     56 
     57 %postun
     58 
     59 %files
     60 %defattr(644, root, root)
     61 %{_sysconfdir}/brlapi.key
     62 %{_includedir}/brltty/*
     63 %{_sysconfdir}/brltty/*
     64 %{_bindir}/*
     65 %{_libdir}/libbrl*
     66 %{_libdir}/brltty/libbrltty*.so
     67 %{_mandir}/*
     68 
     69 %changelog
     70 * Wed Nov 01 2006 - damien.carbery@sun.com
     71 - Add patch, 02-lib-sylinks to fix 6454451. Adds code to create symlink for 
     72   to a module library. Executable required the symlink.
     73 * Tue Apr 4 2006 - glynn.foster@sun.com
     74 - Remove libbrlapi.a from the package.
     75 * Tue Jan 17 2006 - damien.carbery@sun.com
     76 - Bump to 3.7.2.
     77 * Tue Dec 20 2005 - damien.carbery@sun.com
     78 - Bump to 3.7.1.
     79 * Wed Oct 26 2005 - damien.carbery@sun.com
     80 - Bump to 3.7.
     81 * Thu Sep 27 2005 - damien.carbery@sun.com
     82 - Bump to 3.6.2.
     83 * Tue Aug 16 2005 - rich.burridge@sun.com
     84 - Initial Sun release
     85