qt-creator/qt-creator.spec

326 lines
11 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
%define pkgver %(echo %version | tr _ -)
Name: qt-creator
Version: 13.0.2
Release: 2mamba
Summary: An integrated development environment (IDE) tailored to the needs of Qt developers
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/product/development-tools
Source: http://download.qt.io/official_releases/qtcreator/%{majver}/%{version}/qt-creator-opensource-src-%{version}.tar.xz
Source1: qtcreator.desktop
Source2: qtcreator-wrapper
Patch0: qt-creator-4.12.1-enable-it-es-translations.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6SerialPort-devel
BuildRequires: libclang-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libsecret-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libyaml-cpp-devel
BuildRequires: libzstd-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtpositioning-devel
BuildRequires: qt6-qtquick3d-devel
BuildRequires: qt6-qtshadertools-devel
BuildRequires: qt6-qtsvg-devel
BuildRequires: qt6-qttools-devel
BuildRequires: qt6-qtwebchannel-devel
BuildRequires: qt6-qtwebengine-devel
## AUTOBUILDREQ-END
BuildRequires: libclang-devel >= 17.0.6-2mamba
BuildRequires: libyaml-cpp-devel >= 0.7.0
Requires: qt6-designer
Requires: gcc-c++
%description
Qt Creator is a cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.
It includes:
* An advanced C++ code editor
* Integrated GUI layout and forms designer
* Project and build management tools
* Integrated, context-sensitive help system
* Visual debugger
* Rapid code navigation tools
* Supports multiple platforms
%debug_package
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
%prep
%setup -q -n %{name}-opensource-src-%{pkgver}
#-D -T
#:<< _EOF
%patch 0 -p1
%build
%cmake -d build \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
-DWITH_DOCS=ON \
-DBUILD_DEVELOPER_DOCS=ON \
-DBUILD_QBS=OFF \
-DQTC_CLANG_BUILDMODE_MATCH=ON \
-DCLANGTOOLING_LINK_CLANG_DYLIB=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
# Make qtcreator.sh the default binary and apply fixes
mv %{buildroot}%{_bindir}/qtcreator{,.bin}
mv %{buildroot}%{_bindir}/qtcreator{.sh,}
sed -i 's|../lib"|../%{_lib}"|' %{buildroot}%{_bindir}/qtcreator
sed -i 's|/qtcreator"|/qtcreator.bin"|' %{buildroot}%{_bindir}/qtcreator
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/qtcreator*
%{_datadir}/applications/*.desktop
%{_datadir}/metainfo/org.qt-project.qtcreator.appdata.xml
%dir %{_libdir}/qtcreator
%{_libdir}/qtcreator/*
%dir %{_libexecdir}/qtcreator
%{_libexecdir}/qtcreator/*
%dir %{_datadir}/qtcreator
%{_datadir}/qtcreator/*
%{_datadir}/icons/hicolor/*/apps/*.png
%doc LICENSE.GPL3-EXCEPT
%changelog
* Sat Jun 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 13.0.2-2mamba
- clean old specfile customizations, require qt6-designer
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 13.0.2-1mamba
- automatic version update by autodist
* Tue May 07 2024 Automatic Build System <autodist@openmamba.org> 13.0.1-1mamba
- automatic version update by autodist
* Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 13.0.0-1mamba
- automatic version update by autodist
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 12.0.2-1mamba
- automatic version update by autodist
* Fri Jan 19 2024 Automatic Build System <autodist@mambasoft.it> 12.0.1-2mamba
- rebuilt by autoport with build requirements: libclang-devel>=17.0.6-2mamba
* Wed Dec 13 2023 Automatic Build System <autodist@mambasoft.it> 12.0.1-1mamba
- automatic version update by autodist
* Sat Nov 25 2023 Automatic Build System <autodist@mambasoft.it> 12.0.0-1mamba
- automatic version update by autodist
* Tue Oct 24 2023 Automatic Build System <autodist@mambasoft.it> 11.0.3-2mamba
- rebuilt by autoport with build requirements: libclang-devel>=17.0.3-1mamba
* Sat Oct 07 2023 Automatic Build System <autodist@mambasoft.it> 11.0.3-1mamba
- automatic version update by autodist
* Tue Aug 15 2023 Automatic Build System <autodist@mambasoft.it> 11.0.2-1mamba
- automatic version update by autodist
* Fri Aug 04 2023 Automatic Build System <autodist@mambasoft.it> 11.0.1-1mamba
- automatic version update by autodist
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 11.0.0-1mamba
- automatic version update by autodist
* Fri Jun 16 2023 Automatic Build System <autodist@mambasoft.it> 10.0.2-1mamba
- automatic version update by autodist
* Mon May 15 2023 Automatic Build System <autodist@mambasoft.it> 10.0.1-1mamba
- automatic version update by autodist
* Wed Apr 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 10.0.0-1mamba
- update to 10.0.0
* Thu Feb 23 2023 Automatic Build System <autodist@mambasoft.it> 9.0.2-1mamba
- automatic version update by autodist
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 9.0.1-1mamba
- automatic version update by autodist
* Thu Nov 24 2022 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
- automatic version update by autodist
* Sat Oct 22 2022 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
- automatic version update by autodist
* Sun Aug 14 2022 Automatic Build System <autodist@mambasoft.it> 8.0.1-1mamba
- automatic version update by autodist
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 7.0.2-1mamba
- automatic version update by autodist
* Mon May 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.1-2mamba
- rebuilt with clang 14.0.3
* Wed Apr 27 2022 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
- automatic version update by autodist
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
- automatic version update by autodist
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 6.0.2-1mamba
- automatic version update by autodist
* Fri Nov 12 2021 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic version update by autodist
* Thu Oct 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.2-1mamba
- update to 5.0.2
* Wed Mar 24 2021 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
- automatic version update by autodist
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Sat Nov 21 2020 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- automatic version update by autodist
* Tue Oct 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.2-2mamba
- rebuilt with docs
* Sat Oct 03 2020 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
- automatic version update by autodist
* Thu Sep 17 2020 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Wed Aug 26 2020 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
- automatic version update by autodist
* Wed Jul 08 2020 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
- automatic version update by autodist
* Thu Jun 18 2020 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
- automatic version update by autodist
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
- automatic version update by autodist
* Thu May 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.1-1mamba
- update to 4.12.1
* Wed Apr 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.0_rc1-1mamba
- update to 4.12.0_rc1
* Tue Mar 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-3mamba
- translatons patch fixed
* Sun Mar 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-2mamba
- patched to enable it and es translations
* Sun Feb 09 2020 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Thu Dec 12 2019 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
- automatic version update by autodist
* Wed Nov 06 2019 Automatic Build System <autodist@mambasoft.it> 4.10.2-1mamba
- automatic version update by autodist
* Wed Oct 09 2019 Automatic Build System <autodist@mambasoft.it> 4.10.1-1mamba
- automatic version update by autodist
* Fri Sep 06 2019 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- automatic version update by autodist
* Fri Jun 28 2019 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
- automatic version update by autodist
* Wed May 29 2019 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
- automatic version update by autodist
* Mon Apr 15 2019 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Sat Mar 02 2019 Automatic Build System <autodist@mambasoft.it> 4.8.2-1mamba
- automatic version update by autodist
* Fri Jan 25 2019 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
- automatic version update by autodist
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
- automatic version update by autodist
* Thu May 03 2018 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic version update by autodist
* Wed Mar 28 2018 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
- automatic version update by autodist
* Sat Mar 17 2018 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist
* Tue Feb 13 2018 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Wed Dec 27 2017 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
- automatic version update by autodist
* Mon Oct 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1-1mamba
- update to 4.4.1
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
- fixed menu icon
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-1mamba
- update to 2.8.1
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-1mamba
- update to 2.6.2
* Sun Aug 12 2012 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
- automatic version update by autodist
* Wed May 30 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5.0-1mamba
- update to 2.5.0
* Tue Oct 04 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.3.1-1mamba
- update to 2.3.1
* Wed Sep 07 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.3.0-1mamba
- update to 2.3.0
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Fri May 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic update by autodist
* Sun Nov 07 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.0.1-1mamba
- update to 2.0.1
* Mon Jul 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.3.1-1mamba
- package created by autospec