A new user interface for you!

File bacon.spec of Package bacon

# spec file for package bacon
# Copyright (c) 2016 SUSE LINUX 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:           bacon
Version:        3.7.3
Release:        0
License:        MIT
Summary:        A free BASIC to C translator
Url:            http://basic-converter.org/
Group:          Development/Languages/Other
Source0:        http://basic-converter.org/stable/bacon-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?fedora_version}
%global debug_package %{nil}

BaCon is a free BASIC to C translator for Unix-based systems,
which runs on most Unix/Linux/BSD platforms, including MacOSX.  It intends
to be a programming aid in creating tools which can be compiled on different
platforms (including 64bit environments), while trying to revive the days of
the good old BASIC.

BaCon can be described as a translator, a converter, a source-to-source
compiler, a transcompiler or a transpiler.  It also can be described as a
very elaborate preprocessor to C.

%setup -q
sed -i 's/Version=2.0/Version=1.0/' bacongui-gtk.desktop


make install DESTDIR=%{buildroot} %{?_smp_mflags}

%doc README.1ST doc-pak/copyright doc-pak/CHANGES
%dir %{_datadir}/enscript
%dir %{_datadir}/enscript/hl