update to 19.03 [release 19.03-1mamba;Sun Mar 31 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 22:07:26 +01:00
parent 11d27f179f
commit 6916d6c9c9

View File

@ -1,6 +1,6 @@
%define MAJver 6 %define MAJver 6
Name: eric Name: eric
Version: 17.03.1 Version: 19.03
Release: 1mamba Release: 1mamba
Summary: A full featured Python and Ruby editor and IDE, written in Python Summary: A full featured Python and Ruby editor and IDE, written in Python
Group: Graphical Desktop/Applications/Development Group: Graphical Desktop/Applications/Development
@ -10,14 +10,14 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://eric-ide.python-projects.org URL: http://eric-ide.python-projects.org
Source: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz Source: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz
#Source: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz #Source: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{version}.tar.gz #Source1: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{version}.tar.gz
Source2: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-de-%{version}.tar.gz Source2: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-de-%{version}.tar.gz
Source3: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-es-%{version}.tar.gz Source3: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-es-%{version}.tar.gz
Source4: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-fr-%{version}.tar.gz #Source4: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-fr-%{version}.tar.gz
Source5: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{version}.tar.gz #Source5: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{version}.tar.gz
Source6: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-tr-%{version}.tar.gz #Source6: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-tr-%{version}.tar.gz
Source7: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-ru-%{version}.tar.gz Source7: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-ru-%{version}.tar.gz
Source8: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-zh_CN-%{version}.tar.gz #Source8: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-zh_CN-%{version}.tar.gz
Source10: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-en-%{version}.tar.gz Source10: http://downloads.sourceforge.net/project/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-en-%{version}.tar.gz
Source9: eric4.desktop Source9: eric4.desktop
Patch0: eric4-4.3.9-python.patch Patch0: eric4-4.3.9-python.patch
@ -25,16 +25,16 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-qscintilla-py3 BuildRequires: python-qscintilla-py36 >= 2.10.8-2mamba
BuildRequires: python-qscintilla-devel BuildRequires: python-qscintilla-devel >= 2.10.8-2mamba
BuildRequires: python-xml BuildRequires: python-xml
BuildRequires: qscintilla-devel BuildRequires: qscintilla-devel
BuildRequires: PyQt4-py3 BuildRequires: PyQt4-py36
BuildRequires: PyQt4-devel BuildRequires: PyQt4-devel
Requires: PyQt4-py3 Requires: PyQt4-py36
Requires: python-qscintilla-py3 Requires: python-qscintilla-py36
Requires: libqt4-designer Requires: libqt4-designer
Requires: python-sip-py3 Requires: python-sip-py36
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -43,7 +43,7 @@ It is designed to be usable as everdays' quick and dirty editor as well as being
Eric includes a plugin system, which allows easy extension of the IDE functionality with plugins downloadable from the net. Eric includes a plugin system, which allows easy extension of the IDE functionality with plugins downloadable from the net.
%prep %prep
%setup -q -n eric%{MAJver}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a10 %setup -q -n eric%{MAJver}-%{version} -a2 -a3 -a7 -a10
%patch0 -p1 %patch0 -p1
mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/ mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/
@ -53,13 +53,13 @@ rm -fr eric%{MAJver}-%{version}
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} install.py \ %{__python36} install.py \
-i %{buildroot}/ \ -i %{buildroot}/ \
-b %{_bindir} \ -b %{_bindir} \
-d %{python3_sitearch} -d %{python36_sitearch}
# Remove %{builddir} in API path # Remove %{builddir} in API path
sed -i -e 's|%{buildroot}||' %{buildroot}%{python3_sitearch}/eric%{MAJver}config.py sed -i -e 's|%{buildroot}||' %{buildroot}%{python36_sitearch}/eric%{MAJver}config.py
# Generate api files # Generate api files
install -d %{buildroot}%{_datadir}/eric/ install -d %{buildroot}%{_datadir}/eric/
@ -72,10 +72,10 @@ done
# Fix some permission # Fix some permission
#chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/ThirdParty/brm/bike/parsing/fastparser.py ||: #chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/ThirdParty/brm/bike/parsing/fastparser.py ||:
chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/*.py ||: chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/*.py ||:
chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/uninstall.py chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/uninstall.py
chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/hallo.py chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/hallo.py
chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/rhallo.py chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/rhallo.py
# Add environment variables for PySide, PyQt5, PyKDE5, Qt, Qt5 and Python documentations # Add environment variables for PySide, PyQt5, PyKDE5, Qt, Qt5 and Python documentations
sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-[0-9\.]*/html)\nQT5DOCDIR=%{_qt5_docdir}/html\nPYQT5DOCDIR=\$(echo %{_docdir}/PyQt5-devel-*/html)\nPYKDE5DOCDIR=\$(echo %{_docdir}/PyKDE5-devel-*/html)\nPYSIDEDOCDIR=$(echo %{_docdir}/python-pyside-devel-*/html)\nexport QT5DIR PYTHONDOCDIR QTDOCDIR QT5DOCDIR PYQT5DOCDIR PYKDE5DOCDIR PYSIDEDOCDIR\n&|' %{buildroot}%{_bindir}/eric%{MAJver} sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-[0-9\.]*/html)\nQT5DOCDIR=%{_qt5_docdir}/html\nPYQT5DOCDIR=\$(echo %{_docdir}/PyQt5-devel-*/html)\nPYKDE5DOCDIR=\$(echo %{_docdir}/PyKDE5-devel-*/html)\nPYSIDEDOCDIR=$(echo %{_docdir}/python-pyside-devel-*/html)\nexport QT5DIR PYTHONDOCDIR QTDOCDIR QT5DOCDIR PYQT5DOCDIR PYKDE5DOCDIR PYSIDEDOCDIR\n&|' %{buildroot}%{_bindir}/eric%{MAJver}
@ -97,23 +97,26 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/eric%{MAJver} %{_bindir}/eric%{MAJver}
%{_bindir}/eric%{MAJver}_* %{_bindir}/eric%{MAJver}_*
%dir %{python3_sitearch}/eric%{MAJver} %dir %{python36_sitearch}/eric%{MAJver}
%{python3_sitearch}/eric%{MAJver}/* %{python36_sitearch}/eric%{MAJver}/*
%{python3_sitearch}/eric%{MAJver}config.py %{python36_sitearch}/eric%{MAJver}config.py
%dir %{python3_sitearch}/eric%{MAJver}plugins %dir %{python36_sitearch}/eric%{MAJver}plugins
%{python3_sitearch}/eric%{MAJver}plugins/__init__.py %{python36_sitearch}/eric%{MAJver}plugins/__init__.py
%{_datadir}/applications/eric%{MAJver}.desktop %{_datadir}/applications/eric%{MAJver}.desktop
%{_datadir}/metainfo/eric%{MAJver}.appdata.xml %{_datadir}/metainfo/eric%{MAJver}.appdata.xml
%{_datadir}/applications/eric%{MAJver}_webbrowser.desktop %{_datadir}/applications/eric%{MAJver}_webbrowser.desktop
%{_datadir}/applications/eric%{MAJver}_browser.desktop %{_datadir}/applications/eric%{MAJver}_browser.desktop
%{_datadir}/pixmaps/eric*.png %{_datadir}/pixmaps/eric*.png
%{_datadir}/qt4/qsci/api/python/* %{_datadir}/qt5/qsci/api/python/*
%{_datadir}/qt4/qsci/api/ruby/* %{_datadir}/qt5/qsci/api/ruby/*
%{_datadir}/qt4/qsci/api/qss/qss.api %{_datadir}/qt5/qsci/api/qss/qss.api
%doc THANKS %doc THANKS
#README README-i18n.txt #README README-i18n.txt
%changelog %changelog
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 19.03-1mamba
- update to 19.03
* Mon Mar 20 2017 Automatic Build System <autodist@mambasoft.it> 17.03.1-1mamba * Mon Mar 20 2017 Automatic Build System <autodist@mambasoft.it> 17.03.1-1mamba
- automatic version update by autodist - automatic version update by autodist