File stopmotion.spec of Package stopmotion

#
# spec file for package stopmotion
#
# Copyright (c) 2022 SUSE LINUX Products 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:           stopmotion
Version:        0.8.6
Release:        0
Summary:        Program for creating stop motion animation movies
License:        GPL-2.0+
Group:          Productivity/Multimedia/Video/Editors and Convertors
Url:            https://invent.kde.org/multimedia/stopmotion
Source:         https://invent.kde.org/multimedia/stopmotion/-/archive/%{version}/stopmotion-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libinotifytools-devel
BuildRequires:  libqt5-linguist-devel
BuildRequires:  libqt5-qtbase-common-devel
BuildRequires:  libQt5Widgets-devel
BuildRequires:  libtar-devel
BuildRequires:  libvorbis-devel
BuildRequires:  libxml2-devel
BuildRequires:  pkg-config
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5Widgets)

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Stopmotion is a free application for creating stop motion animations.

You can create stop-motion animations with images grabbed
from your favourite video device. You just sets stopmotion to
use a grabber program which works with your device. It is also
possible to do the same with video export; just plug in an
encoder capable of doing video export from couple of images.

Stopmotion has a set of tools which helps you creating the
movements smooth and precise.

%package doc
Summary:        Stopmotion - Stopmotion is a program for creating stop motion animation movies
Group:          Productivity/Multimedia/Video/Editors and Convertors
Requires:       %{name} = %{version}
BuildArch:      noarch

%description doc
Stopmotion is a free application for creating stop motion animations.

You can create stop-motion animations with images grabbed
from your favourite video device. You just sets stopmotion to
use a grabber program which works with your device. It is also
possible to do the same with video export; just plug in an
encoder capable of doing video export from couple of images.

Stopmotion has a set of tools which helps you creating the
movements smooth and precise.

%prep
%setup -q

%build

%cmake
%cmake_build

%install
%cmake_install
%fdupes -s %{buildroot}
%suse_update_desktop_file -n %{name}

%files
%defattr(-,root,root)
%{_bindir}/*
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/translations/
%{_datadir}/%{name}/translations/*
%{_mandir}/man1/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/*
%{_datadir}/pixmaps/*

%files doc
%defattr(-,root,root)
%{_datadir}/doc/%{name}
%doc README.md AUTHORS COPYING

%changelog
openSUSE Build Service is sponsored by