update to version 2.5.4

This commit is contained in:
Martin Gieseking 2014-05-16 11:25:56 +02:00
parent bbbff2fc13
commit d4204be80f
3 changed files with 36 additions and 18 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/liblouis-2.4.1.tar.gz /liblouis-2.4.1.tar.gz
/liblouis-2.5.2.tar.gz /liblouis-2.5.2.tar.gz
/liblouis-2.5.3.tar.gz /liblouis-2.5.3.tar.gz
/liblouis-2.5.4.tar.gz

View File

@ -5,8 +5,8 @@
Name: liblouis Name: liblouis
Version: 2.5.3 Version: 2.5.4
Release: 2%{?dist} Release: 1%{?dist}
Summary: Braille translation and back-translation library Summary: Braille translation and back-translation library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -15,6 +15,7 @@ URL: http://www.abilitiessoft.com/
Source0: http://liblouis.googlecode.com/files/%{name}-%{version}.tar.gz Source0: http://liblouis.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: chrpath
BuildRequires: help2man BuildRequires: help2man
BuildRequires: texinfo-tex BuildRequires: texinfo-tex
BuildRequires: python2-devel BuildRequires: python2-devel
@ -28,20 +29,22 @@ Requires(preun): info
# gnulib is a copylib that has been granted an exception from the no-bundled-libraries policy # gnulib is a copylib that has been granted an exception from the no-bundled-libraries policy
# http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Copylibs # http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Copylibs
Provides: bundled(gnulib) = 20091111 Provides: bundled(gnulib) = 20130621
%description %description
Liblouis is an open-source braille translator and back-translator. It features Liblouis is an open-source braille translator and back-translator named in
support for computer and literary braille, supports contracted and uncontracted honor of Louis Braille. It features support for computer and literary braille,
translation for many, many languages and has support for hyphenation. supports contracted and uncontracted translation for many languages and has
New languages can easily be added through tables that support a rule- or support for hyphenation. New languages can easily be added through tables that
dictionary based approach. Liblouis also supports math braille support a rule- or dictionary based approach. Liblouis also supports math
(Nemeth and Marburg). braille (Nemeth and Marburg).
Liblouis is based on the translation routines in the BRLTTY screenreader for Liblouis has features to support screen-reading programs. This has led to its
Linux. It has, however, gone far beyond these routines. use in two open-source screen readers, NVDA and Orca. It is also used in some
The library is named in honor of Louis Braille. commercial assistive technology applications for example by ViewPlus.
Liblouis is based on the translation routines in the BRLTTY screen reader for
Linux. It has, however, gone far beyond these routines.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
@ -58,10 +61,11 @@ developing applications that use %{name}.
Summary: Command-line utilities to test %{name} Summary: Command-line utilities to test %{name}
Group: Applications/Text Group: Applications/Text
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-python = %{version}-%{release}
License: GPLv3+ License: GPLv3+
%description utils %description utils
Five test programs are provided as part of the liblouis package. They Six test programs are provided as part of the liblouis package. They
are intended for testing liblouis and for debugging tables. None of are intended for testing liblouis and for debugging tables. None of
them is suitable for braille transcription. them is suitable for braille transcription.
@ -106,9 +110,9 @@ This package provides the documentation for liblouis.
make %{?_smp_mflags} make %{?_smp_mflags}
make -C doc %{name}.pdf make -C doc %{name}.pdf
# Don't run the tests as they haven't been adapted to the current release yet.
#%check %check
#make check make check
%install %install
@ -130,6 +134,12 @@ install -pm 0644 __init__.py %{buildroot}%{python3_sitelib}/louis/
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/louis/ %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/louis/
%endif %endif
# Remove Rpaths from the executables. We must do that in the %%install section
# because, otherwise, the test suite wouldn't build.
for f in `find %{buildroot}%{_bindir} -exec file {} \; | grep executable | cut -d: -f1`; do
chrpath --delete $f
done
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -151,12 +161,13 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README COPYING.LIB AUTHORS NEWS ChangeLog TODO %doc README COPYING.LESSER AUTHORS NEWS ChangeLog TODO
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{_infodir}/%{name}.info* %{_infodir}/%{name}.info*
%files devel %files devel
%doc HACKING
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
@ -184,6 +195,12 @@ fi
%changelog %changelog
* Tue May 13 2014 Martin Gieseking <martin.gieseking@uos.de> 2.5.4-1
- Updated to new upstream release.
- Activated the bundled test suite which has been adapted to work correctly with the recent release.
- Remove Rpaths from the utility programs.
- Updated the description according to the upstream website.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
5de179044c5147b71c60ca0edbeaabab liblouis-2.5.3.tar.gz 2848951409d48ae50c37bc783cb6d5a8 liblouis-2.5.4.tar.gz