Name: lttoolbox Version: 3.3.1 Release: 1%{?dist} Summary: Toolbox for lexical processing License: GPLv2+ URL: https://www.apertium.org/ Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz BuildRequires: libxml2-devel # Incorrect Free Software Foundation address https://sourceforge.net/p/apertium/tickets/79/ %description lttoolbox is a toolbox for lexical processing, morphological analysis and generation of words. Analysis is the process of splitting a word (e.g. cats) into its lemma 'cat' and the grammatical information . Generation is the opposite process. The package contains three programs, lt-comp, the compiler, lt-proc, the processor, and lt-expand, which generates all possible mappings between surface forms and lexical forms in the dictionary. %package devel Summary: Development files for the %{name} library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel This package includes header files and libraries necessary for developing programs which use the %{name} library. %prep %setup -q -n %{name}-%{version} %build # cmake is broken lttoolbox/lttoolbox_config.h.cmake_in does not exist. %configure \ --disable-static make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_bindir}/* %{_datadir}/%{name} %{_libdir}/liblttoolbox*.so.* %{_mandir}/man1/*.1.gz %doc AUTHORS README %license COPYING %files devel %{_includedir}/lttoolbox-*/lttoolbox %{_libdir}/liblttoolbox*.so %{_libdir}/pkgconfig/lttoolbox.pc %changelog * Fri Aug 14 2015 gil cattaneo 3.3.1-1 - initial rpm