File libolive-git.spec of Package libolive-git

# spec file for package libolive-git
#
# Copyright (c) 2023 Fabio Pesari
#
# 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:          libolive-git
Version:       0
Release:       0
Summary:       Library files for olive
License:       GPL-3.0-or-later
Group:         Development/Libraries/C and C++
URL:           https://olivevideoeditor.org
Source0:       %{name}-%{version}.tar.xz
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: Imath-devel
BuildRequires: ffmpeg-5-libavutil-devel
BuildRequires: Mesa-libGL-devel

%description
Library files for the Olive non-linear video editor.

%package -n olive-devel
Summary:       Library files for olive (development files)
Group:         Development/Libraries/C and C++
Requires:      %{name} = %{version}

%description -n olive-devel
Development files for the Olive non-linear video editor library.

%prep
%autosetup -n libolive-git-%{version}

%build
%cmake
%cmake_build 

%install
%cmake_install

%files
%doc README.md
%{_libdir}/*

%files -n olive-devel
%{_includedir}/*

%changelog
openSUSE Build Service is sponsored by