diff --git a/qt6-qtlottie.spec b/qt6-qtlottie.spec new file mode 100644 index 0000000..b899523 --- /dev/null +++ b/qt6-qtlottie.spec @@ -0,0 +1,73 @@ + +%global qt_module qtlottie + +%global short_version 6.5 +Summary: Qt6 - Lottie Animation +Name: qt6-%{qt_module} +Version: 6.5.0 +Release: 1 + +License: GPLv3 +Url: http://www.qt.io + +Source0: https://download.qt.io/official_releases/qt/%{shot5_version}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: ninja-build +BuildRequires: openssl-devel +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: qt6-qtbase-devel >= %{version} +BuildRequires: qt6-qtbase-private-devel +BuildRequires: qt6-qtdeclarative-devel >= %{version} +%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}} + +%description +Qt Lottie Animation provides a QML API for rendering graphics and animations +that are exported in JSON format by the Bodymovin plugin for Adobe After +Effects. + +%package devel +Summary: Development files for %{name} +Requires: qt6-qtbase-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 . + + +%files +%license LICENSES/GPL* +%{_qt6_libdir}/libQt6Bodymovin.so* +%{_qt6_qmldir}/Qt/labs/lottieqt/ + +%files devel +%dir %{_qt6_libdir}/cmake/Qt6BodymovinPrivate +%dir %{_qt6_headerdir}/QtBodymovin +%{_qt6_headerdir}/QtBodymovin +%{_qt6_libdir}/libQt6Bodymovin.so +%{_qt6_libdir}/libQt6Bodymovin.prl +%{_qt6_libdir}/cmake/Qt6BodymovinPrivate/*.cmake +%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtLottieTestsConfig.cmake +%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtplugin*.cmake +%{_qt6_archdatadir}/modules/*.json +%{_qt6_archdatadir}/mkspecs/modules/* +%{_qt6_archdatadir}/metatypes/qt6*_metatypes.json + + +%changelog +* Fri May 5 2023 EastDong - 6.5.0-1 +- update package + +* Wed Nov 16 2022 Jingwiw - 6.4.0-1 +- init package diff --git a/qt6-qtlottie.yaml b/qt6-qtlottie.yaml new file mode 100644 index 0000000..3bb3b2f --- /dev/null +++ b/qt6-qtlottie.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://code.qt.io/qt/qtlottie.git +tag_prefix: "^v" +separator: "." diff --git a/qtlottie-everywhere-src-6.5.0.tar.xz b/qtlottie-everywhere-src-6.5.0.tar.xz new file mode 100644 index 0000000..2d04539 Binary files /dev/null and b/qtlottie-everywhere-src-6.5.0.tar.xz differ