From c95485f743ac896127d5e9a391278410a45dd630 Mon Sep 17 00:00:00 2001 From: prockai Date: Jul 12 2006 09:29:47 +0000 Subject: - upgrade to latest upstream version - split off brlapi and brlapi-devel packages --- diff --git a/.cvsignore b/.cvsignore index b7123e4..c6da2c5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -brltty-3.2.tar.gz -brltty-3.6.tar.gz +brltty-3.7.2.tar.gz diff --git a/brltty.spec b/brltty.spec index a4d75bc..88da5a4 100644 --- a/brltty.spec +++ b/brltty.spec @@ -1,6 +1,6 @@ Name: brltty -Version: 3.2 -Release: 12.1 +Version: 3.7.2 +Release: 1 License: GPL Group: System Environment/Daemons URL: http://mielke.cc/brltty/ @@ -18,27 +18,54 @@ It drives the braille display, and provides complete screen review functionality. 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 -%setup -n %{name}-%{version} +%setup -n brltty-3.7.2 %build -%configure --with-install-root="${RPM_BUILD_ROOT}" +%configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt make -directory="doc" -mkdir -p "${directory}" -for file in `find . -path "./${directory}" -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' \) -print` +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) do - mkdir -p "${directory}/${file%/*}" - cp -rp "${file}" "${directory}/${file}" + mkdir -p "doc/${file%/*}" + cp -rp "${file}" "doc/${file}" done %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}" -rm -f ${RPM_BUILD_ROOT}/bin/brltty -rm -f ${RPM_BUILD_ROOT}/bin/install-brltty -rm -rf ${RPM_BUILD_ROOT}/lib/brltty/* +rm ${RPM_BUILD_ROOT}/usr/bin/xbrlapi # whatever this is, we exclude it for now %clean rm -rf $RPM_BUILD_ROOT @@ -56,7 +83,7 @@ do done if $install then - device="`set -- ${devices} && echo "${1}"`" + device="$(set -- ${devices} && echo "${1}")" echo -n "Creating screen inspection device ${device}..." mkdir -p "${device%/*}" mknod -m o= "${device}" c 7 128 @@ -67,18 +94,36 @@ fi %files %defattr(-,root,root) +%config(noreplace) /etc/brltty.conf +%{_bindir}/brltty +%{_bindir}/brltty-* +%{_libdir}/brltty +/etc/brltty %doc COPYING %doc Documents/ChangeLog Documents/TODO %doc Bootdisks/rhmkboot Bootdisks/rhmkroot %doc doc/* %doc /usr/share/man/man1/* -%config(noreplace) /etc/brltty.conf -%{_bindir}/brltty -%{_bindir}/install-brltty -%{_libdir}/brltty/* -/etc/brltty + +%files -n brlapi +%defattr(-,root,root) +%{_libdir}/libbrlapi.so.* +%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 +* Wed Jul 12 2006 Petr Rockai - 3.7.2-1 +- upgrade to latest upstream version +- split off brlapi and brlapi-devel packages + * Wed Jul 12 2006 Jesse Keating - 3.2-12.1 - rebuild diff --git a/sources b/sources index a9d38a6..d1e0c12 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -fd87518e19657109987832cf7134958c brltty-3.2.tar.gz -98790932a3cbc78d507bfa90a7e11f8c brltty-3.6.tar.gz +0ae3da8252783a4d20e1ed4e55cede5b brltty-3.7.2.tar.gz