|
|
8b51490 |
Name: liblouis
|
|
|
8b51490 |
Version: 2.2.0
|
|
|
8b51490 |
Release: 2%{?dist}
|
|
|
8b51490 |
Summary: Braille translation and back-translation library
|
|
|
8b51490 |
|
|
|
8b51490 |
Group: System Environment/Libraries
|
|
|
8b51490 |
License: LGPLv3+
|
|
|
8b51490 |
URL: http://www.abilitiessoft.com/
|
|
|
8b51490 |
Source0: http://www.abilitiessoft.com/%{name}-%{version}.tar.gz
|
|
|
8b51490 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8b51490 |
|
|
|
8b51490 |
BuildRequires: help2man
|
|
|
8b51490 |
BuildRequires: texinfo-tex
|
|
|
8b51490 |
BuildRequires: python-devel
|
|
|
8b51490 |
Requires(post): info
|
|
|
8b51490 |
Requires(preun): info
|
|
|
8b51490 |
|
|
|
8b51490 |
# gnulib is a copylib that has been granted an exception from the no-bundled-libraries policy
|
|
|
8b51490 |
# http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Copylibs
|
|
|
8b51490 |
Provides: bundled(gnulib) = 20091111
|
|
|
8b51490 |
|
|
|
8b51490 |
%description
|
|
|
8b51490 |
Liblouis is an open-source braille translator and back-translator. It features
|
|
|
8b51490 |
support for computer and literary braille, supports contracted and uncontracted
|
|
|
8b51490 |
translation for many, many languages and has support for hyphenation.
|
|
|
8b51490 |
New languages can easily be added through tables that support a rule- or
|
|
|
8b51490 |
dictionary based approach. Liblouis also supports math braille
|
|
|
8b51490 |
(Nemeth and Marburg).
|
|
|
8b51490 |
|
|
|
8b51490 |
Liblouis is based on the translation routines in the BRLTTY screenreader for
|
|
|
8b51490 |
Linux. It has, however, gone far beyond these routines.
|
|
|
8b51490 |
The library is named in honor of Louis Braille.
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%package devel
|
|
|
8b51490 |
Summary: Development files for %{name}
|
|
|
8b51490 |
Group: Development/Libraries
|
|
|
8b51490 |
Requires: %{name} = %{version}-%{release}
|
|
|
8b51490 |
Requires: pkgconfig
|
|
|
8b51490 |
|
|
|
8b51490 |
%description devel
|
|
|
8b51490 |
The %{name}-devel package contains libraries and header files for
|
|
|
8b51490 |
developing applications that use %{name}.
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%package utils
|
|
|
8b51490 |
Summary: Command-line utilities to test %{name}
|
|
|
8b51490 |
Group: Applications/Text
|
|
|
8b51490 |
License: GPLv3+
|
|
|
8b51490 |
|
|
|
8b51490 |
%description utils
|
|
|
8b51490 |
Five test programs are provided as part of the liblouis package. They
|
|
|
8b51490 |
are intended for testing liblouis and for debugging tables. None of
|
|
|
8b51490 |
them is suitable for braille transcription.
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%package python
|
|
|
8b51490 |
Summary: Python language bindings for %{name}
|
|
|
8b51490 |
Group: Development/Languages
|
|
|
8b51490 |
BuildArch: noarch
|
|
|
8b51490 |
Requires: %{name} = %{version}-%{release}
|
|
|
8b51490 |
|
|
|
8b51490 |
%description python
|
|
|
8b51490 |
This package provides Python language bindings for %{name}.
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%prep
|
|
|
8b51490 |
%setup -q
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%build
|
|
|
8b51490 |
%configure --disable-static --enable-ucs4
|
|
|
8b51490 |
make %{?_smp_mflags}
|
|
|
8b51490 |
make -C doc %{name}.pdf
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
# Don't run the tests as they haven't been adapted to the current release yet.
|
|
|
8b51490 |
#%check
|
|
|
8b51490 |
#make check
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%install
|
|
|
8b51490 |
rm -rf %{buildroot}
|
|
|
8b51490 |
make install DESTDIR=%{buildroot}
|
|
|
8b51490 |
rm -f %{buildroot}/%{_infodir}/dir
|
|
|
8b51490 |
rm -f %{buildroot}/%{_libdir}/%{name}.la
|
|
|
8b51490 |
rm -rf %{buildroot}/%{_defaultdocdir}/%{name}/
|
|
|
8b51490 |
cd python/louis
|
|
|
8b51490 |
install -d %{buildroot}%{python_sitelib}/louis
|
|
|
8b51490 |
install -pm 0644 __init__.py %{buildroot}%{python_sitelib}/louis/
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%clean
|
|
|
8b51490 |
rm -rf %{buildroot}
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%post
|
|
|
8b51490 |
/sbin/ldconfig
|
|
|
8b51490 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%postun -p /sbin/ldconfig
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%preun
|
|
|
8b51490 |
if [ $1 = 0 ] ; then
|
|
|
8b51490 |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
8b51490 |
fi
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%files
|
|
|
8b51490 |
%defattr(-,root,root,-)
|
|
|
8b51490 |
%doc README COPYING.LIB AUTHORS NEWS ChangeLog
|
|
|
8b51490 |
%doc doc/%{name}.{html,txt,pdf}
|
|
|
8b51490 |
%{_libdir}/%{name}.so.*
|
|
|
8b51490 |
%{_datadir}/%{name}/
|
|
|
8b51490 |
%{_infodir}/%{name}.info*
|
|
|
8b51490 |
|
|
|
8b51490 |
%files devel
|
|
|
8b51490 |
%defattr(-,root,root,-)
|
|
|
8b51490 |
%{_includedir}/%{name}/
|
|
|
8b51490 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
8b51490 |
%{_libdir}/%{name}.so
|
|
|
8b51490 |
|
|
|
8b51490 |
%files utils
|
|
|
8b51490 |
%defattr(-,root,root,-)
|
|
|
8b51490 |
%doc COPYING
|
|
|
8b51490 |
%{_bindir}/lou_*
|
|
|
8b51490 |
%{_mandir}/man1/lou_*.1*
|
|
|
8b51490 |
|
|
|
8b51490 |
%files python
|
|
|
8b51490 |
%defattr(-,root,root,-)
|
|
|
8b51490 |
%doc python/README
|
|
|
8b51490 |
%{python_sitelib}/louis/
|
|
|
8b51490 |
|
|
|
8b51490 |
|
|
|
8b51490 |
%changelog
|
|
|
8b51490 |
* Mon Feb 28 2011 Martin Gieseking <martin.gieseking@uos.de> - 2.2.0-2
|
|
|
8b51490 |
- Added release date of bundled gnulib to Provides.
|
|
|
8b51490 |
- Use %%{name} macro consistently.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Tue Feb 15 2011 Martin Gieseking <martin.gieseking@uos.de> - 2.2.0-1
|
|
|
8b51490 |
- Updated to upstream release 2.2.0.
|
|
|
8b51490 |
- Added Python bindings.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Mon Jul 5 2010 Lars Bjørndal <lars.bjorndal@broadpark.no> - 1.9.0-2
|
|
|
8b51490 |
- In advice from Martin Gieseking: Removed some garbage from the file section, and added a PDF version of the liblouis documentation. See <https://bugzilla.redhat.com/show_bug.cgi?id=597597>.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Wed Jun 30 2010 Lars Bjørndal <lars.bjorndal@broadpark.no> - 1.9.0-1
|
|
|
8b51490 |
- A new version was up to day. At the same time, fixed a minor spec issue according to a comment from Martin Gieseking, see <https://bugzilla.redhat.com/show_bug.cgi?id=597597>.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Sun Jun 20 2010 Lars Bjørndal <lars.bjorndal@broadpark.no> - 1.8.0-3
|
|
|
8b51490 |
- Fixed some small problems, among them wrong destination directory for documentation. See <https://bugzilla.redhat.com/show_bug.cgi?id=597597> for further details.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Thu Jun 17 2010 Lars Bjørndal <lars.bjorndal@broadpark.no> 1.8.0-2
|
|
|
8b51490 |
- Created the tools sub package and did a lot of clean ups, see <https://bugzilla.redhat.com/show_bug.cgi?id=597597>.
|
|
|
8b51490 |
|
|
|
8b51490 |
* Sat May 29 2010 Lars Bjørndal <lars.bjorndal@broadpark.no> 1.8.0-1
|
|
|
8b51490 |
- Create the RPM for Fedora.
|