patched to enable it and es translations [release 4.11.1-2mamba;Sun Mar 29 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:05:07 +01:00
parent d18e51c068
commit 7a9fd90216
3 changed files with 17 additions and 5 deletions

View File

@ -10,4 +10,3 @@ It includes:
* Visual debugger
* Rapid code navigation tools
* Supports multiple platforms

View File

@ -0,0 +1,8 @@
--- qt-creator-opensource-src-4.11.1/share/qtcreator/translations/CMakeLists.txt.orig 2020-03-29 17:18:36.160000000 +0200
+++ qt-creator-opensource-src-4.11.1/share/qtcreator/translations/CMakeLists.txt 2020-03-29 17:18:44.764000000 +0200
@@ -1,4 +1,4 @@
-set(languages cs da de fr ja pl ru sl uk zh_CN zh_TW)
+set(languages cs da de es fr it ja pl ru sl uk zh_CN zh_TW)
set(bad_languages hu) # Fix these before including them in languages!
find_package(PythonInterp)

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: qt-creator
Version: 4.11.1
Release: 1mamba
Release: 2mamba
Summary: An integrated development environment (IDE) tailored to the needs of Qt developers
Group: Development/Tools
Vendor: openmamba
@ -11,6 +11,7 @@ URL: http://qt.digia.com/Product/Developer-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.11.1-enable-it-es-translations.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -38,11 +39,13 @@ It includes:
* Rapid code navigation tools
* Supports multiple platforms
#% debug_package
%prep
%setup -q -n %{name}-opensource-src-%{version}
%patch0 -p1
%build
#:<< _EOF
%{_qt5_qmake} \
IDE_LIBRARY_BASENAME=%{_lib}
@ -82,8 +85,7 @@ rm -rf %{buildroot}%{_docdir}
rm -f %{buildroot}%{_libdir}/qtcreator/*.so
# Remove rpaths
for f in %{buildroot}{%{_libdir}/qtcreator/{plugins/Nokia/*.so,*.so.?.*},%{_bindir}/qtcreator.bin}
do
for f in %{buildroot}{%{_libdir}/qtcreator/{plugins/Nokia/*.so,*.so.?.*},%{_bindir}/qtcreator.bin}; do
chrpath --list $f && chrpath --delete $f || :
done
@ -105,6 +107,9 @@ done
%doc LICENSE.GPL3-EXCEPT
%changelog
* 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