Init qt6-qtquicktimeline
This commit is contained in:
parent
697ba99fc8
commit
6ed5506c0a
78
qt6-qtquicktimeline.spec
Normal file
78
qt6-qtquicktimeline.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
|
||||||
|
%global qt_module qtquicktimeline
|
||||||
|
|
||||||
|
%define short_version 6.5
|
||||||
|
|
||||||
|
Summary: Qt6 - QuickTimeline plugin
|
||||||
|
Name: qt6-%{qt_module}
|
||||||
|
Version: 6.5.0
|
||||||
|
Release: 1
|
||||||
|
|
||||||
|
# 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
|
||||||
|
Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{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 . %{?_smp_mflags} --verbose
|
||||||
|
|
||||||
|
%install
|
||||||
|
DESTDIR="%{buildroot}" cmake --install .
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSES/GPL*
|
||||||
|
%dir %{_qt6_qmldir}/QtQuick
|
||||||
|
%{_qt6_libdir}/libQt6QuickTimeline.so.6*
|
||||||
|
%{_qt6_qmldir}/QtQuick/Timeline/
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_qt6_includedir}/QtQuickTimeline/
|
||||||
|
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/*.cmake
|
||||||
|
%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/*.cmake
|
||||||
|
%dir %{_qt6_libdir}/cmake/Qt6QuickTimeline/
|
||||||
|
%{_qt6_libdir}/cmake/Qt6QuickTimeline/*.cmake
|
||||||
|
%{_qt6_libdir}/libQt6QuickTimeline.prl
|
||||||
|
%{_qt6_libdir}/libQt6QuickTimeline.so
|
||||||
|
%{_qt6_archdatadir}/metatypes/qt6*_metatypes.json
|
||||||
|
%{_qt6_libdir}/libQt6QuickTimeline.prl
|
||||||
|
%{_qt6_libdir}/libQt6QuickTimeline.so
|
||||||
|
%{_qt6_mkspecsdir}/modules/*.pri
|
||||||
|
%{_qt6_archdatadir}/modules/*.json
|
||||||
|
%{_qt6_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat May 6 2023 EastDong <xudong23@iscas.ac.cn> - 6.5.0-1
|
||||||
|
- update package
|
||||||
|
|
||||||
|
* Wed Nov 30 2022 Jingwiw <wangjingwei@iscas.ac.cn> - 6.4.0-1
|
||||||
|
- init package
|
||||||
4
qt6-qtquicktimeline.yaml
Normal file
4
qt6-qtquicktimeline.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://code.qt.io/qt/qtquicktimeline.git
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
BIN
qtquicktimeline-everywhere-src-6.5.0.tar.xz
Normal file
BIN
qtquicktimeline-everywhere-src-6.5.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user