diff --git a/README.md b/README.md index c128e73..48ea23c 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,3 @@ It includes: * Visual debugger * Rapid code navigation tools * Supports multiple platforms - diff --git a/qt-creator-4.11.1-enable-it-es-translations.patch b/qt-creator-4.11.1-enable-it-es-translations.patch new file mode 100644 index 0000000..39ce5d4 --- /dev/null +++ b/qt-creator-4.11.1-enable-it-es-translations.patch @@ -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) diff --git a/qt-creator.spec b/qt-creator.spec index cb8c0b9..caf1d5f 100644 --- a/qt-creator.spec +++ b/qt-creator.spec @@ -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 4.11.1-2mamba +- patched to enable it and es translations + * Sun Feb 09 2020 Automatic Build System 4.11.1-1mamba - automatic version update by autodist