- upgrade to latest upstream version

- split off brlapi and brlapi-devel packages
This commit is contained in:
prockai 2006-07-12 09:29:47 +00:00
parent 3afcccb483
commit c95485f743
3 changed files with 66 additions and 23 deletions

View File

@ -1,2 +1 @@
brltty-3.2.tar.gz brltty-3.7.2.tar.gz
brltty-3.6.tar.gz

View File

@ -1,6 +1,6 @@
Name: brltty Name: brltty
Version: 3.2 Version: 3.7.2
Release: 12.1 Release: 1
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://mielke.cc/brltty/ URL: http://mielke.cc/brltty/
@ -18,27 +18,54 @@ It drives the braille display,
and provides complete screen review functionality. and provides complete screen review functionality.
Some speech capability has also been incorporated. Some speech capability has also been incorporated.
%package -n brlapi
Version: 0.4.1
Group: Applications/System
License: LGPL
Summary: Appliation Programming Interface for BRLTTY.
%description -n brlapi
This package provides the run-time support for the Application
Programming Interface to BRLTTY.
Install this package if you have an application which directly accesses
a refreshable braille display.
%package -n brlapi-devel
Version: 0.4.1
Group: Development/System
License: LGPL
Requires: brlapi = 0.4.1
Summary: Headers, static archive, and documentation for BrlAPI.
%description -n brlapi-devel
This package provides the header files, static archive, shared object
linker reference, and reference documentation for BrlAPI (the
Application Programming Interface to BRLTTY). It enables the
implementation of applications which take direct advantage of a
refreshable braille display in order to present information in ways
which are more appropriate for blind users and/or to provide user
interfaces which are more specifically atuned to their needs.
Install this package if you are developing or maintaining an application
which directly accesses a refreshable braille display.
%prep %prep
%setup -n %{name}-%{version} %setup -n brltty-3.7.2
%build %build
%configure --with-install-root="${RPM_BUILD_ROOT}" %configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt
make make
directory="doc" for file in $(find . \( -path ./doc -o -path ./Documents \) -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' -o -name \*.patch -o \( -path "./Bootdisks/*" -type f -perm +ugo=x \) \) -print)
mkdir -p "${directory}"
for file in `find . -path "./${directory}" -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' \) -print`
do do
mkdir -p "${directory}/${file%/*}" mkdir -p "doc/${file%/*}"
cp -rp "${file}" "${directory}/${file}" cp -rp "${file}" "doc/${file}"
done done
%install %install
make install-programs install-help install-tables install-drivers install-manpage make install #install-programs install-help install-tables install-drivers install-manpage
install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}" install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}"
rm -f ${RPM_BUILD_ROOT}/bin/brltty rm ${RPM_BUILD_ROOT}/usr/bin/xbrlapi # whatever this is, we exclude it for now
rm -f ${RPM_BUILD_ROOT}/bin/install-brltty
rm -rf ${RPM_BUILD_ROOT}/lib/brltty/*
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -56,7 +83,7 @@ do
done done
if $install if $install
then then
device="`set -- ${devices} && echo "${1}"`" device="$(set -- ${devices} && echo "${1}")"
echo -n "Creating screen inspection device ${device}..." echo -n "Creating screen inspection device ${device}..."
mkdir -p "${device%/*}" mkdir -p "${device%/*}"
mknod -m o= "${device}" c 7 128 mknod -m o= "${device}" c 7 128
@ -67,18 +94,36 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) /etc/brltty.conf
%{_bindir}/brltty
%{_bindir}/brltty-*
%{_libdir}/brltty
/etc/brltty
%doc COPYING %doc COPYING
%doc Documents/ChangeLog Documents/TODO %doc Documents/ChangeLog Documents/TODO
%doc Bootdisks/rhmkboot Bootdisks/rhmkroot %doc Bootdisks/rhmkboot Bootdisks/rhmkroot
%doc doc/* %doc doc/*
%doc /usr/share/man/man1/* %doc /usr/share/man/man1/*
%config(noreplace) /etc/brltty.conf
%{_bindir}/brltty %files -n brlapi
%{_bindir}/install-brltty %defattr(-,root,root)
%{_libdir}/brltty/* %{_libdir}/libbrlapi.so.*
/etc/brltty %doc Documents/BrlAPI.sgml Documents/BrlAPI.txt Documents/BrlAPI-HTML
%doc Documents/README.Gnopernicus
%files -n brlapi-devel
%defattr(-,root,root)
%{_libdir}/libbrlapi.a
%{_libdir}/libbrlapi.so
%{_includedir}/brltty
%doc %{_mandir}/man3/*
%doc Documents/BrlAPIref-HTML
%changelog %changelog
* Wed Jul 12 2006 Petr Rockai <prockai@redhat.com> - 3.7.2-1
- upgrade to latest upstream version
- split off brlapi and brlapi-devel packages
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-12.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-12.1
- rebuild - rebuild

View File

@ -1,2 +1 @@
fd87518e19657109987832cf7134958c brltty-3.2.tar.gz 0ae3da8252783a4d20e1ed4e55cede5b brltty-3.7.2.tar.gz
98790932a3cbc78d507bfa90a7e11f8c brltty-3.6.tar.gz