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