File unrtf.spec of Package unrtf
#
# spec file for package unrtf
#
# Copyright (c) 2019 David Bolt davjam79@gmail.com
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: unrtf
Version: 0.21.10
Release: 1%{?dist}
Summary: UnRTF - converter from RTF to other formats.
Group: Applications/System
License: GPLv3
URL: http://www.gnu.org/software/unrtf/unrtf.html
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
UnRTF is a moderately complicated converter from RTF to other
formats. It works reasonably well but it has bugs and the output is
a somewhat ugly. Bugs are known to include paragraph alignment
and picture storing.
Compiling with GCC: type "make all", and assuming you have GCC
and GNU make, it should compile without any warnings or errors
under Linux, BSD, and DOS (using DJGPP).
This program includes no warranty whatsoever. It is provided
"AS IS". For more information please read the COPYING
document, which should be included with the source code.
It describes the GNU Public License, which covers UnRTF.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%files
%if 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
%doc README AUTHORS NEWS ChangeLog
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%{_usr}/share/%{name}
%changelog