modernize a bit

This commit is contained in:
David Tardon 2018-02-19 13:08:52 +01:00
parent 0ffad5478c
commit b182fc48ef

View File

@ -3,7 +3,6 @@ Version: 3.4.5
Release: 2%{?dist} Release: 2%{?dist}
Summary: Text categorization library Summary: Text categorization library
Group: System Environment/Libraries
License: BSD License: BSD
URL: https://wiki.documentfoundation.org/Libexttextcat URL: https://wiki.documentfoundation.org/Libexttextcat
Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
@ -19,7 +18,6 @@ intended for language guessing.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: libtextcat-devel < 3.2.0 Obsoletes: libtextcat-devel < 3.2.0
Provides: libtextcat-devel = %{version} Provides: libtextcat-devel = %{version}
@ -30,7 +28,6 @@ developing applications that use %{name}.
%package tools %package tools
Summary: Tool for creating custom document fingerprints Summary: Tool for creating custom document fingerprints
Group: Applications/Publishing
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools %description tools
@ -38,7 +35,7 @@ The %{name}-tools package contains the createfp program that allows
you to easily create your own document fingerprints. you to easily create your own document fingerprints.
%prep %prep
%setup -q %autosetup -p1
%build %build
%configure --disable-silent-rules --disable-static --disable-werror %configure --disable-silent-rules --disable-static --disable-werror
@ -55,7 +52,8 @@ make check
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc ChangeLog LICENSE README* %doc ChangeLog README*
%license LICENSE
%{_libdir}/%{name}*.so.* %{_libdir}/%{name}*.so.*
%{_datadir}/%{name} %{_datadir}/%{name}