You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libexttextcat/libexttextcat.spec

66 lines
1.4 KiB

13 years ago
Name: libexttextcat
3 years ago
Version: 3.4.6
Release: %autorelease
13 years ago
Summary: Text categorization library
License: BSD-3-Clause
7 years ago
URL: https://wiki.documentfoundation.org/Libexttextcat
13 years ago
Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: make
13 years ago
%description
%{name} is an N-Gram-Based Text Categorization library primarily
intended for language guessing.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tools
Summary: Tool for creating custom document fingerprints
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
The %{name}-tools package contains the createfp program that allows
you to easily create your own document fingerprints.
%prep
7 years ago
%autosetup -p1
13 years ago
%build
%configure --disable-silent-rules --disable-static --disable-werror
%make_build
13 years ago
%install
%make_install
13 years ago
rm -f %{buildroot}/%{_libdir}/*.la
%check
make check
%ldconfig_scriptlets
13 years ago
%files
7 years ago
%doc ChangeLog README*
%license LICENSE
13 years ago
%{_libdir}/%{name}*.so.*
13 years ago
%{_datadir}/%{name}
%files devel
%{_includedir}/%{name}
13 years ago
%{_libdir}/%{name}*.so
13 years ago
%{_libdir}/pkgconfig/%{name}.pc
13 years ago
%{_datadir}/vala/vapi/libexttextcat.vapi
13 years ago
%files tools
%{_bindir}/createfp
%changelog
%autochangelog