Name: liblouis Version: 1.9.0 Release: 2%{?dist} Summary: A Braille translator and back-translator Group: System Environment/Libraries License: LGPLv3+ URL: http://code.google.com/p/liblouis/ Source0: http://abilitiessoft.com/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: help2man BuildRequires: texinfo-tex Requires(post): info Requires(preun): info %description Liblouis is an open-source braille translator and back-translator based on the translation routines in the BRLTTY screen reader for Linux. It has, however, gone far beyond these routines. It is named in honor of Louis Braille. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package tools Summary: Test programs provided by the %{name} source tarball License: GPLv3+ %description tools Five test programs are provided as part of the liblouis package. They are intended for testing liblouis and for debugging tables. None of them is suitable for braille transcription. %prep %setup -q %build # ./autogen.sh %configure --disable-static --enable-ucs4 make %{?_smp_mflags} make -C doc liblouis.pdf %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT #find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_libdir}/liblouis.la rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %postun -p /sbin/ldconfig %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files %defattr(-,root,root,-) %doc README COPYING.LIB AUTHORS NEWS ChangeLog %doc doc/liblouis.{html,txt,pdf} %{_infodir}/liblouis.info* %{_libdir}/liblouis.so.2 %{_libdir}/liblouis.so.2.1.0 %{_datadir}/liblouis/ %files devel %defattr(-,root,root,-) %{_includedir}/liblouis/ %{_libdir}/pkgconfig/liblouis.pc %{_libdir}/liblouis.so %files tools %defattr(-,root,root,-) %{_bindir}/lou_* %{_mandir}/man1/lou_*.1* %doc COPYING %changelog * Mon Jul 5 2010 Lars Bjørndal - 1.9.0-2 - In advice from Martin Gieseking: Removed some garbage from the file section, and added a PDF version of the liblouis documentation. See . * Wed Jun 30 2010 Lars Bjørndal - 1.9.0-1 - A new version was up to day. At the same time, fixed a minor spec issue according to a comment from Martin Gieseking, see . * Sun Jun 20 2010 Lars Bjørndal - 1.8.0-3 - Fixed some small problems, among them wrong destination directory for documentation. See for further details. * Thu Jun 17 2010 Lars Bjørndal 1.8.0-2 - Created the tools sub package and did a lot of clean ups, see . * Sat May 29 2010 Lars Bjørndal 1.8.0-1 - Create the RPM for Fedora.