File nfoview.spec of Package nfoview

# spec file for package nfoview
# 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

Name:           nfoview
Version:        1.9.5
Release:        0
License:        GPL-3.0
Summary:        Simple Viewer for NFO Files
Group:          Productivity/Text/Utilities
# PATCH-FEATURE-OPENSUSE nfoview-1.9.5-font.patch -- correct font name and size
Patch0:         nfoview-1.9.5-font.patch
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
%if 0%{?suse_version} >= 1210
BuildRequires:  python-distribute
BuildRequires:  python-setuptools
BuildRequires:  update-desktop-files
Requires:       python-gtk
Recommends:     %{name}-lang
Recommends:     terminus-font
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

NFO Viewer is a simple viewer for NFO files, which are "ASCII" art in
the CP437 codepage. The advantages of using NFO Viewer instead of a text
editor are preset font and encoding settings, automatic window size and
clickable hyperlinks.


%setup -q


python install \
    --root=%{buildroot} \
%find_lang %{name}
%suse_update_desktop_file -r %{name} Office Viewer



%doc %{_mandir}/man?/*

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by