File olive.spec of Package olive

#
# spec file for package olive
#
# 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:           olive
Version:        0.1.1
Release:        0
Summary:        Professional open-source NLE video editor
License:        GPL-3.0-or-later
Group:          Productivity/Multimedia/Video/Editors and Convertors
URL:            https://www.olivevideoeditor.org
Source:         https://github.com/olive-editor/olive/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  frei0r-plugins-devel
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5OpenGL)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(libavformat)
BuildRequires:  pkgconfig(libavfilter)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(libswresample)
BuildRequires:  pkgconfig(libswscale)
ExcludeArch:    %arm aarch64

%description
Olive is a non-linear video editor based on Qt and ffmpeg.

%prep
%setup -q

%build
%qmake5 PREFIX=%_prefix
make %{?_smp_mflags}

%install
%qmake5_install
rm -rf %buildroot/usr/share/icons/hicolor/1024x1024

%files
%license LICENSE
%_prefix/bin/olive-editor
%_prefix/share/applications/*.desktop
%_prefix/share/icons/*/*/*/*.png
%_prefix/share/metainfo/*.xml
%_prefix/share/mime/packages/*.xml
%_prefix/share/olive-editor
openSUSE Build Service is sponsored by