diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56fb3bd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/qtquicktimeline-everywhere-src-6.0.0.tar.xz diff --git a/qt6-qtquicktimeline.spec b/qt6-qtquicktimeline.spec new file mode 100644 index 0000000..0c38c79 --- /dev/null +++ b/qt6-qtquicktimeline.spec @@ -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 - 6.0.0-1 +- 6.0.0 diff --git a/sources b/sources new file mode 100644 index 0000000..3044771 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (qtquicktimeline-everywhere-src-6.0.0.tar.xz) = 4a5f02e7259a129a5fb454e5a2ca1f4be940d5bbd5f21c57cb0e71b7fb655e453cb2efae35eded51c6698edf3858261a8d4c8f44edd8a87bd8a80077b59e48f6