From b182fc48efde65baf3732be88d66d685eb525ed3 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 19 Feb 2018 13:08:52 +0100 Subject: [PATCH] modernize a bit --- libexttextcat.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libexttextcat.spec b/libexttextcat.spec index 638ecbe..2b66520 100644 --- a/libexttextcat.spec +++ b/libexttextcat.spec @@ -3,7 +3,6 @@ Version: 3.4.5 Release: 2%{?dist} Summary: Text categorization library -Group: System Environment/Libraries License: BSD URL: https://wiki.documentfoundation.org/Libexttextcat Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz @@ -19,7 +18,6 @@ intended for language guessing. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: libtextcat-devel < 3.2.0 Provides: libtextcat-devel = %{version} @@ -30,7 +28,6 @@ developing applications that use %{name}. %package tools Summary: Tool for creating custom document fingerprints -Group: Applications/Publishing Requires: %{name}%{?_isa} = %{version}-%{release} %description tools @@ -38,7 +35,7 @@ The %{name}-tools package contains the createfp program that allows you to easily create your own document fingerprints. %prep -%setup -q +%autosetup -p1 %build %configure --disable-silent-rules --disable-static --disable-werror @@ -55,7 +52,8 @@ make check %postun -p /sbin/ldconfig %files -%doc ChangeLog LICENSE README* +%doc ChangeLog README* +%license LICENSE %{_libdir}/%{name}*.so.* %{_datadir}/%{name}