qt6-qttools/qt6-qttools.spec

234 lines
7.8 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qttools
Version: 6.5.3
Release: 1mamba
Summary: Qt6 tools
Group: Development/Tools
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/qttools-everywhere-src-%{version}.tar.xz
Source1: libqt6-designer.desktop
Source2: libqt6-linguist.desktop
Source3: libqt6-assistant.desktop
Source4: libqt5-designer-icon128x128.png
Source5: libqt4-linguist-icon32x32.png
Source6: libqt4-assistant-icon32x32.png
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libclang-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libllvm-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: libllvm-devel >= 0:16.0.4-1mamba
BuildRequires: qt6-qtdeclarative-devel = %{version}
%description
Qt6 tools.
%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 qttools-everywhere-src-%{version}
%build
%cmake -d build \
-G Ninja
cmake --build .
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
DESTDIR="%{buildroot}" cmake --install build
install -d -m0755 %{buildroot}%{_bindir}
for f in assistant designer lconvert linguist lrelease lupdate pixeltool \
qdbus qbusviewer qdoc qhelpgenerator qtdiag qtplugininfo; do
ln -s ../%{_lib}/qt6/bin/${f} %{buildroot}%{_bindir}/${f}-qt6
done
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/designer-qt6.desktop
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/linguist-qt6.desktop
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/applications/assistant-qt6.desktop
install -D -m0644 %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/designer-qt6.png
install -D -m0644 %{SOURCE5} %{buildroot}%{_datadir}/pixmaps/linguist-qt6.png
install -D -m0644 %{SOURCE6} %{buildroot}%{_datadir}/pixmaps/assistant-qt6.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*-qt6
%{_libdir}/qt6/bin/assistant
%{_libdir}/qt6/bin/designer
%{_libdir}/qt6/bin/lconvert
%{_libdir}/qt6/bin/linguist
%{_libdir}/qt6/bin/lrelease
%{_libdir}/qt6/bin/lupdate
%{_libdir}/qt6/bin/pixeltool
%{_libdir}/qt6/bin/qdbus
%{_libdir}/qt6/bin/qdbusviewer
%{_libdir}/qt6/bin/qdistancefieldgenerator
%{_libdir}/qt6/bin/qdoc
%{_libdir}/qt6/bin/qtdiag
%{_libdir}/qt6/bin/qtplugininfo
%{_libdir}/qt6/libexec/qhelpgenerator
%{_datadir}/applications/assistant-qt6.desktop
%{_datadir}/applications/designer-qt6.desktop
%{_datadir}/applications/linguist-qt6.desktop
%{_datadir}/pixmaps/designer-qt6.png
%{_datadir}/pixmaps/linguist-qt6.png
%{_datadir}/pixmaps/assistant-qt6.png
%{_datadir}/qt6/phrasebooks/danish.qph
%{_datadir}/qt6/phrasebooks/dutch.qph
%{_datadir}/qt6/phrasebooks/finnish.qph
%{_datadir}/qt6/phrasebooks/french.qph
%{_datadir}/qt6/phrasebooks/german.qph
%{_datadir}/qt6/phrasebooks/hungarian.qph
%{_datadir}/qt6/phrasebooks/italian.qph
%{_datadir}/qt6/phrasebooks/japanese.qph
%{_datadir}/qt6/phrasebooks/norwegian.qph
%{_datadir}/qt6/phrasebooks/polish.qph
%{_datadir}/qt6/phrasebooks/russian.qph
%{_datadir}/qt6/phrasebooks/spanish.qph
%{_datadir}/qt6/phrasebooks/swedish.qph
#
%{_libdir}/libQt6Designer.so.*
%{_libdir}/libQt6DesignerComponents.so.*
%{_libdir}/qt6/plugins/designer/libqquickwidget.so
#%{_libdir}/qt6/plugins/designer/libqwebview.so
#
%{_libdir}/libQt6Help.so.*
#
%{_libdir}/libQt6UiTools.so.*
%{_libdir}/qt6/metatypes/qt6*.json
%{_libdir}/qt6/bin/qtdiag6
%{_libdir}/qt6/libexec/lprodump
%{_libdir}/qt6/libexec/lrelease-pro
%{_libdir}/qt6/libexec/lupdate-pro
%{_libdir}/qt6/libexec/qtattributionsscanner
%{_libdir}/qt6/modules/Designer.json
%{_libdir}/qt6/modules/*.json
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtDesigner
%{_includedir}/qt6/QtDesigner/*
%dir %{_includedir}/qt6/QtDesignerComponents
%{_includedir}/qt6/QtDesignerComponents/*
%dir %{_includedir}/qt6/QtHelp
%{_includedir}/qt6/QtHelp/*
%dir %{_includedir}/qt6/QtUiPlugin
%{_includedir}/qt6/QtUiPlugin/*
%dir %{_includedir}/qt6/QtUiTools
%{_includedir}/qt6/QtUiTools/*
%dir %{_includedir}/qt6/QtTools
%{_includedir}/qt6/QtTools/*
%{_libdir}/libQt6Designer.prl
%{_libdir}/libQt6Designer.so
%{_libdir}/libQt6DesignerComponents.prl
%{_libdir}/libQt6DesignerComponents.so
%{_libdir}/libQt6Help.prl
%{_libdir}/libQt6Help.so
%{_libdir}/libQt6UiTools.so
%{_libdir}/libQt6UiTools.prl
%{_libdir}/qt6/mkspecs/modules/qt_lib_*.pri
%{_libdir}/cmake/Qt6/FindWrapLibClang.cmake
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake
%dir %{_libdir}/cmake/Qt6Designer
%{_libdir}/cmake/Qt6Designer/Qt6Designer*.cmake
%{_libdir}/cmake/Qt6Designer/Qt6QQuickWidgetPlugin*.cmake
%dir %{_libdir}/cmake/Qt6DesignerComponentsPrivate
%{_libdir}/cmake/Qt6DesignerComponentsPrivate/Qt6DesignerComponentsPrivate*.cmake
%dir %{_libdir}/cmake/Qt6Help
%{_libdir}/cmake/Qt6Help/Qt6Help*.cmake
%dir %{_libdir}/cmake/Qt6Linguist
%{_libdir}/cmake/Qt6Linguist/Qt6Linguist*.cmake
%dir %{_libdir}/cmake/Qt6LinguistTools
%{_libdir}/cmake/Qt6LinguistTools/Qt6LinguistTools*.cmake
%{_libdir}/cmake/Qt6LinguistTools/GenerateLUpdateProject.cmake
%dir %{_libdir}/cmake/Qt6Tools
%{_libdir}/cmake/Qt6Tools/Qt6Tools*.cmake
%dir %{_libdir}/cmake/Qt6ToolsTools
%{_libdir}/cmake/Qt6ToolsTools/Qt6ToolsTools*.cmake
%dir %{_libdir}/cmake/Qt6UiPlugin
%{_libdir}/cmake/Qt6UiPlugin/Qt6UiPlugin*.cmake
%dir %{_libdir}/cmake/Qt6UiTools
%{_libdir}/cmake/Qt6UiTools/Qt6UiTools*.cmake
%{_libdir}/pkgconfig/Qt6*.pc
%changelog
* Sat Oct 07 2023 Automatic Build System <autodist@mambasoft.it> 6.5.3-1mamba
- automatic version update by autodist
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 6.5.2-1mamba
- automatic version update by autodist
* Mon May 29 2023 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* Tue May 23 2023 Sdk Build System <sdk@mambasoft.it> 6.5.0-2mamba
- rebuilt by autoport with build requirements: libllvm-devel>=0:16.0.4-1mamba
* Fri Apr 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5.0-1mamba
- update to 6.5.0
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 6.4.3-1mamba
- automatic version update by autodist
* Sun Jan 08 2023 Automatic Build System <autodist@mambasoft.it> 6.4.2-1mamba
- automatic version update by autodist
* Tue Nov 22 2022 Automatic Build System <autodist@mambasoft.it> 6.4.1-1mamba
- automatic version update by autodist
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.0-1mamba
- update to 6.4.0
* Tue Sep 13 2022 Automatic Build System <autodist@mambasoft.it> 6.3.2-1mamba
- automatic version update by autodist
* Sun Jun 19 2022 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
- automatic version update by autodist
* Sun May 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.0-2mamba
- rebuilt with llvm 14.0.3
* Thu Apr 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.0-1mamba
- update to 6.3.0
* Mon Mar 21 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sat Feb 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.3-1mamba
- update to 6.2.3
* Tue Nov 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Tue Nov 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface