LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bacon.spec of Package bacon (Project home:bmanojlovic)

#
# 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}
%endif

%description 
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.



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

%build
%configure
make

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


%files
%defattr(-,root,root)
%doc README.1ST doc-pak/copyright doc-pak/CHANGES
%{_bindir}/bacon
%{_bindir}/bacon.sh
%{_bindir}/bacongui-gtk
%{_libdir}/libbacon.a
%{_libdir}/libbacon++.a
%{_datadir}/applications/bacongui-gtk.desktop
%dir %{_datadir}/enscript
%dir %{_datadir}/enscript/hl
%{_datadir}/enscript/hl/bacon.st
%{_mandir}/man1/bacon.1*
%{_datadir}/pixmaps/BaCon*.png