Initial package

This commit is contained in:
Jan Grulich 2021-01-22 15:23:15 +01:00
parent 4013288f31
commit 69d3117ecd
3 changed files with 65 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/qtquicktimeline-everywhere-src-6.0.0.tar.xz

63
qt6-qtquicktimeline.spec Normal file
View File

@ -0,0 +1,63 @@
%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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (qtquicktimeline-everywhere-src-6.0.0.tar.xz) = 4a5f02e7259a129a5fb454e5a2ca1f4be940d5bbd5f21c57cb0e71b7fb655e453cb2efae35eded51c6698edf3858261a8d4c8f44edd8a87bd8a80077b59e48f6