85 lines
2.3 KiB
RPMSpec
85 lines
2.3 KiB
RPMSpec
|
|
%global qt_module qtquicktimeline
|
|
|
|
%define short_version 6.5
|
|
|
|
Summary: Qt6 - QuickTimeline plugin
|
|
Name: qt6-%{qt_module}
|
|
Version: 6.5.2
|
|
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
|
|
* Thu Nov 30 2023 houhongxun <houhongxun@kylinos.cn> - 6.5.2-1
|
|
- update to version 6.5.2
|
|
|
|
* Wed Jul 26 2023 EastDong <xudong23@iscas.ac.cn> - 6.5.1-1
|
|
- update package
|
|
|
|
* 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
|