brltty.spec
author laca
Wed, 24 Aug 2005 17:11:09 +0000
changeset 5584 846401af3d6f
parent 5583 b5e8ad3c6815
child 5585 11e60a7e3967
permissions -rw-r--r--
add missing files to %files, remove some %defattr lines -- everything is root:root on Linux...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
#
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
     8
Name:           brltty
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
     9
License:        GPL
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    10
Group:          System/Library
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    11
Version:        3.6.1
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    12
Release:        1
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    13
Distribution:   Java Desktop System
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    14
Vendor:	        Sun Microsystems, Inc.
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    15
Summary:        Braille Support
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    16
Source:         http://www.mielke.cc/brltty/releases/brltty-%{version}.tar.gz
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    17
Patch:          brltty-01-suncc.diff
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    18
URL:            http://mielke.cc/brltty/
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    19
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    20
Docdir:         %{_defaultdocdir}/doc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    21
Autoreqprov:    on
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    22
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    23
%description
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    24
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
    25
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
    26
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
    27
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    28
%prep
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    29
%setup -q -n brltty-%{version}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    30
%patch -p1 
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    31
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    32
%build
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    33
CFLAGS="$RPM_OPT_FLAGS"                         \
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    34
./configure     --prefix=%{_prefix}             \
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    35
                --sysconfdir=%{_sysconfdir}     \
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    36
		--mandir=%{_mandir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    37
make
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    38
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    39
%install
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    41
make install INSTALL_ROOT=$RPM_BUILD_ROOT sysconfdir=$RPM_BUILD_ROOT/etc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    42
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    43
%clean
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    45
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    46
%post
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    47
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    48
%postun
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    49
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    50
%files
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    51
%defattr(644, root, root)
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    52
%{_libdir}/brltty/brltty*.lst
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    53
%{_sysconfdir}/brlapi.key
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    54
%{_includedir}/brltty/*.h
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    55
%{_sysconfdir}/brltty/brltty*.hlp
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    56
%{_sysconfdir}/brltty/*.tbl
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    57
%{_sysconfdir}/brltty/*.ctb
5584
846401af3d6f add missing files to %files, remove some %defattr lines --
laca
parents: 5583
diff changeset
    58
%{_sysconfdir}/brltty/*.cty
846401af3d6f add missing files to %files, remove some %defattr lines --
laca
parents: 5583
diff changeset
    59
%{_sysconfdir}/brltty/*.conf
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    60
%{_bindir}/brltty*
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    61
%{_libdir}/libbrl*
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    62
%{_libdir}/brltty/libbrltty*.so
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    63
%{_mandir}/*/*
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    64
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    65
%changelog
5583
b5e8ad3c6815 fix date
laca
parents: 5580
diff changeset
    66
* 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
    67
- Initial Sun release