%define api 2.0 %define major 0 %define lib_name %mklibname exttextcat %api %major Name: libexttextcat Version: 3.4.4 Release: %mkrel 3 Summary: Text categorization library Group: Publishing License: BSD URL: http://www.freedesktop.org/wiki/Software/libexttextcat Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz Obsoletes: libtextcat < 3.2.0 Provides: libtextcat = %{version} %description %{name} is an N-Gram-Based Text Categorization library primarily intended for language guessing. %files %doc LICENSE README* %{_datadir}/%{name} #-------------------------------------------------------------------- %package -n %lib_name Summary: Text categorization library Group: System/Libraries %description -n %lib_name %{name} is an N-Gram-Based Text Categorization library primarily intended for language guessing. %files -n %lib_name %{_libdir}/%{name}-%{api}.so.%{major}* #-------------------------------------------------------------------- %package devel Summary: Development files for %{name} Group: Development/Other Obsoletes: libtextcat-devel < 3.2.0 Provides: libtextcat-devel = %{version} Requires: %lib_name = %version-%release %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %files devel %{_includedir}/%{name} %{_libdir}/%{name}-%{api}.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/vala/vapi/%{name}.vapi #-------------------------------------------------------------------- %package tools Summary: Tool for creating custom document fingerprints Group: Publishing %description tools The %{name}-tools package contains the createfp program that allows you to easily create your own document fingerprints. %files tools %{_bindir}/createfp #-------------------------------------------------------------------- %prep %setup -q %build %configure2_5x --disable-static --disable-werror %make %install %makeinstall_std rm -f %{buildroot}/%{_libdir}/*.la %check make check %changelog * Wed Oct 15 2014 umeabot <umeabot> 3.4.4-3.mga5 + Revision: 748909 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 3.4.4-2.mga5 + Revision: 681451 - Mageia 5 Mass Rebuild * Wed Jul 02 2014 luigiwalser <luigiwalser> 3.4.4-1.mga5 + Revision: 642333 - 3.4.4 * Sat Oct 19 2013 umeabot <umeabot> 3.4.3-2.mga4 + Revision: 529170 - Mageia 4 Mass Rebuild * Sat Jul 06 2013 luigiwalser <luigiwalser> 3.4.3-1.mga4 + Revision: 450774 - 3.4.3 * Sun Jun 02 2013 luigiwalser <luigiwalser> 3.4.1-1.mga4 + Revision: 434801 - 3.4.1 * Sat Jan 12 2013 umeabot <umeabot> 3.4.0-2.mga3 + Revision: 357084 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Nov 07 2012 fwang <fwang> 3.4.0-1.mga3 + Revision: 315788 - new version 3.4.0 * Wed Sep 19 2012 fwang <fwang> 3.3.1-1.mga3 + Revision: 296035 - update file list - update file list - update libname - new version 3.3.1 * Sat Feb 04 2012 dmorgan <dmorgan> 3.2.0-2.mga2 + Revision: 204346 - Requires libs on devel package - imported package libexttextcat * Tue Jan 24 2012 David Tardon <dtardon@redhat.com> 3.2.0-1 - initial import