libexttextcat/libexttextcat.spec

66 lines
1.4 KiB
RPMSpec
Raw Normal View History

2012-01-26 05:10:16 +00:00
Name: libexttextcat
2021-11-08 12:11:00 +00:00
Version: 3.4.6
2022-11-21 20:09:31 +00:00
Release: %autorelease
2012-01-26 05:10:16 +00:00
Summary: Text categorization library
2022-11-21 20:09:30 +00:00
License: BSD-3-Clause
2017-09-20 11:33:53 +00:00
URL: https://wiki.documentfoundation.org/Libexttextcat
2012-01-26 05:10:16 +00:00
Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
2018-02-19 11:58:16 +00:00
BuildRequires: gcc
BuildRequires: make
2018-02-19 11:58:16 +00:00
2012-01-26 05:10:16 +00:00
%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
2018-02-19 12:08:52 +00:00
%autosetup -p1
2012-01-26 05:10:16 +00:00
%build
2013-05-30 05:34:54 +00:00
%configure --disable-silent-rules --disable-static --disable-werror
%make_build
2012-01-26 05:10:16 +00:00
%install
%make_install
2012-01-26 05:10:16 +00:00
rm -f %{buildroot}/%{_libdir}/*.la
%check
make check
%ldconfig_scriptlets
2012-01-26 05:10:16 +00:00
%files
2018-02-19 12:08:52 +00:00
%doc ChangeLog README*
%license LICENSE
2012-05-25 12:40:31 +00:00
%{_libdir}/%{name}*.so.*
2012-01-26 05:10:16 +00:00
%{_datadir}/%{name}
%files devel
%{_includedir}/%{name}
2012-05-25 12:40:31 +00:00
%{_libdir}/%{name}*.so
2012-01-26 05:10:16 +00:00
%{_libdir}/pkgconfig/%{name}.pc
2012-05-25 12:40:31 +00:00
%{_datadir}/vala/vapi/libexttextcat.vapi
2012-01-26 05:10:16 +00:00
%files tools
%{_bindir}/createfp
%changelog
2022-11-21 20:09:31 +00:00
%autochangelog