qt6-qtquicktimeline/qt6-qtquicktimeline.spec

64 lines
1.5 KiB
RPMSpec
Raw Normal View History

2021-01-22 14:23:15 +00:00
%global qt_module qtquicktimeline
Summary: Qt6 - QuickTimeline plugin
Name: qt6-%{qt_module}
Version: 6.0.0
Release: 1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
# See also http://doc.qt.io/qt-5/licensing.html
License: GPLv2 with exceptions and GPLv3 with exceptions
Url: http://www.qt.io
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: qt6-rpm-macros >= %{version}
BuildRequires: qt6-qtbase-static >= %{version}
BuildRequires: qt6-qtbase-private-devel
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
BuildRequires: qt6-qtdeclarative-devel
%description
The Qt Quick Timeline plugin provides QML types to use timelines and keyframes
to animate Qt Quick user interfaces.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt6-qtbase-devel%{?_isa}
Requires: qt6-qtdeclarative-devel%{?_isa}
%description devel
%{summary}.
%prep
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
%build
%cmake_qt6
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets
%files
%license LICENSE.GPL*
%dir %{_qt6_qmldir}/QtQuick
%{_qt6_qmldir}/QtQuick/Timeline/
%files devel
%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/*.cmake
%changelog
* Thu Jan 14 2021 Jan Grulich <jgrulich@redhat.com> - 6.0.0-1
- 6.0.0