rebuilt with docs [release 4.13.2-2mamba;Tue Oct 13 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:05:07 +01:00
parent 37cb29592e
commit 19c2fc7d64

View File

@ -2,7 +2,7 @@
%define pkgver %(echo %version | tr _ -)
Name: qt-creator
Version: 4.13.2
Release: 1mamba
Release: 2mamba
Summary: An integrated development environment (IDE) tailored to the needs of Qt developers
Group: Development/Tools
Vendor: openmamba
@ -46,19 +46,33 @@ It includes:
%prep
%setup -q -n %{name}-opensource-src-%{pkgver}
#-D -T
#:<< _EOF
%patch0 -p1
# fix hardcoded libexec path
sed -e 's|libexec\/qtcreator|%{_lib}\/qtcreator|g' -i qtcreator.pri
sed -e 's|libexec|%{_lib}|g' -i src/tools/tools.pro
%build
#:<< _EOF
%{_qt5_qmake} \
IDE_LIBRARY_BASENAME=%{_lib}
IDE_LIBRARY_BASENAME=%{_lib} \
-r \
-spec linux-clang \
DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \
qtcreator.pro
%make
make docs
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
INSTALL_ROOT=%{buildroot}%{_prefix}
%makeinstall docs INSTALL_ROOT=%{buildroot}%{_prefix}
mv %{buildroot}%{_bindir}/qtcreator %{buildroot}%{_bindir}/qtcreator.bin
# install wrapper
@ -104,12 +118,15 @@ done
%{_datadir}/qtcreator/*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%dir %{_prefix}/libexec/qtcreator
%{_prefix}/libexec/qtcreator/*
#%dir %{_prefix}/libexec/qtcreator
#%{_prefix}/libexec/qtcreator/*
%{_datadir}/metainfo/org.qt-project.qtcreator.appdata.xml
%doc LICENSE.GPL3-EXCEPT
%changelog
* 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