LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File unrtf.spec of Package unrtf (Project KDE:KDE3)

#
# spec file for package unrtf
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           unrtf
Version:        0.21.2
Release:        0
License:        GPL-3.0
Summary:        Converter from RTF Files
Url:            http://www.gnu.org/software/unrtf/unrtf.html
Group:          Productivity/Text/Convertors
Source0:        http://ftp.gnu.org/gnu/unrtf/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE unrtf-0.21.2-fix_dirs.patch lazy.kent@opensuse.org -- fix hardcoded paths
Patch0:         unrtf-0.21.2-fix_dirs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
UnRTF is a command-line program written in C which converts documents in
Rich Text Format (.rtf) to HTML, LaTeX, troff macros, and RTF itself.

%prep
%setup -q
%patch0

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_datadir}/%{name}
%doc %{_mandir}/man1/*

%changelog