qt6-qtcharts/qt6-qtcharts.spec

110 lines
3.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtcharts
Version: 6.2.3
Release: 1mamba
Summary: Qt6 charts component
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtcharts-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: qt6-qtdeclarative-devel = %{version}
%description
Qt6 charts component.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtcharts-everywhere-src-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libQt6Charts.so.*
%{_libdir}/libQt6ChartsQml.so.*
%dir %{_libdir}/qml/QtCharts/designer
%{_libdir}/qml/QtCharts/designer/*
%{_libdir}/qml/QtCharts/libqtchartsqml2plugin.so
%{_libdir}/qml/QtCharts/plugins.qmltypes
%{_libdir}/qml/QtCharts/qmldir
%doc LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtCharts
%{_includedir}/qt6/QtCharts/*
%dir %{_includedir}/qt6/QtChartsQml
%{_includedir}/qt6/QtChartsQml/*
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtChartsTestsConfig.cmake
%dir %{_libdir}/cmake/Qt6Charts
%{_libdir}/cmake/Qt6Charts/Qt6Charts*.cmake
%dir %{_libdir}/cmake/Qt6ChartsQml
%{_libdir}/cmake/Qt6ChartsQml/Qt6ChartsQml*.cmake
%dir %{_libdir}/cmake/Qt6Qml/QmlPlugins
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6qtchartsqml2*.cmake
%{_libdir}/libQt6ChartsQml.prl
%{_libdir}/libQt6ChartsQml.so
%{_libdir}/metatypes/qt6charts_release_metatypes.json
%{_libdir}/metatypes/qt6chartsqml_release_metatypes.json
%{_libdir}/qt6/mkspecs/modules/qt_lib_chartsqml.pri
%{_libdir}/qt6/mkspecs/modules/qt_lib_chartsqml_private.pri
%{_libdir}/libQt6Charts.prl
%{_libdir}/libQt6Charts.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_charts.pri
%{_libdir}/qt6/mkspecs/modules/qt_lib_charts_private.pri
%{_datadir}/qt6/modules/Charts.json
%{_datadir}/qt6/modules/ChartsQml.json
%dir %{_libdir}/cmake/Qt6Charts
%{_libdir}/cmake/Qt6Charts/Qt6ChartsConfig*.cmake
%doc README
%changelog
* Sun Jan 30 2022 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
- automatic version update by autodist
* Thu Dec 09 2021 Automatic Build System <autodist@mambasoft.it> 6.2.2-1mamba
- automatic version update by autodist
* Tue Nov 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.1-1mamba
- update to 6.2.1
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface