forked from pool/raylib
* New Image generation functions: Gradient, Checked, Noise, Cellular... * New Mesh generation functions: Cube, Sphere, Cylinder, Torus, Knot... * New Shaders and Materials systems to support PBR materials * Custom Android APK build pipeline with simple Makefile * Complete review of rlgl layer functionality * Complete review of raymath functionality - Remove root-meson.build and src-meson.build: contained in new release OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=8
78 lines
2.1 KiB
RPMSpec
78 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package raylib
|
|
#
|
|
# Copyright (c) 2017 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: raylib
|
|
Version: 1.8.0
|
|
Release: 0
|
|
Summary: C library to learn video game programming
|
|
License: Zlib
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://www.raylib.com
|
|
Source: https://github.com/raysan5/%{name}/archive/%{version}.tar.gz
|
|
BuildRequires: Mesa-libGL-devel
|
|
BuildRequires: libglfw-devel >= 3.2
|
|
BuildRequires: meson >= 0.39.1
|
|
BuildRequires: openal-soft-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A C library to learn videogames programming.
|
|
raylib is highly inspired by Borland BGI graphics lib and by XNA framework.
|
|
|
|
%package -n raylib-devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: openal-soft-devel
|
|
Requires: libraylib1 = %{version}
|
|
|
|
%description -n raylib-devel
|
|
Development files and headers for %{name}
|
|
|
|
%package -n libraylib1
|
|
Summary: C library to learn video game programming
|
|
Group: System/Libraries
|
|
|
|
%description -n libraylib1
|
|
C library to learn videogames programming
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{meson}
|
|
%{meson_build}
|
|
|
|
%install
|
|
%{meson_install}
|
|
|
|
%post -n libraylib1 -p /sbin/ldconfig
|
|
%postun -n libraylib1 -p /sbin/ldconfig
|
|
|
|
%files -n libraylib1
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libraylib.so.1
|
|
%{_libdir}/libraylib.so.1.8.0
|
|
|
|
%files -n raylib-devel
|
|
%defattr(-,root,root)
|
|
%doc CHANGELOG README.md LICENSE.md
|
|
%{_includedir}/raylib.h
|
|
%{_libdir}/libraylib.so
|
|
|
|
%changelog
|