File CmdlineGL.spec of Package CmdlineGL
#
# spec file for package CmdlineGL
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: CmdlineGL
Version: 2.0.0
Release: 0
Summary: Command-line OpenGL interpreter
License: BSD-3-Clause
Group: Development/Languages/Other
URL: https://www.nrdvana.net/cmdlinegl
Source0: https://www.nrdvana.net/cmdlinegl/release/%{version}/CmdlineGL-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE CmdlineGL-share_path.patch
Patch0: %{name}-share_path.patch
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL_image)
BuildRequires: pkgconfig(ftgl)
Requires: bash
%description
CmdlineGL is an interpreter for a "text-friendly" variation of a
subset of the OpenGL 1.4 API, Glut API, and FTGL "C" API.
%prep
%setup -q
%patch0 -p1
%build
pushd script
autoreconf -fiv
%configure
make %{?_smp_mflags}
popd
%install
pushd script
%make_install
popd
%files
%doc Changes README.md
%{_bindir}/%{name}
%{_bindir}/%{name}.lib
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%changelog