require python-sip-py3 [release 5.5.2-2mamba;Fri Jan 02 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 22:07:25 +01:00
parent 87b255370b
commit d4e5144b9d

View File

@ -1,32 +1,37 @@
Name: eric Name: eric
Version: 4.5.24 Version: 5.5.2
Release: 1mamba Release: 2mamba
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
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 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/eric-ide/eric4/stable/%{version}/eric4-%{version}.tar.gz Source: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-cs-%{version}.tar.gz Source1: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-cs-%{version}.tar.gz
Source2: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-de-%{version}.tar.gz Source2: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-de-%{version}.tar.gz
Source3: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-es-%{version}.tar.gz Source3: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-es-%{version}.tar.gz
Source4: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-fr-%{version}.tar.gz Source4: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-fr-%{version}.tar.gz
Source5: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-it-%{version}.tar.gz Source5: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-it-%{version}.tar.gz
Source6: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-tr-%{version}.tar.gz Source6: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-tr-%{version}.tar.gz
Source7: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-ru-%{version}.tar.gz Source7: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-ru-%{version}.tar.gz
Source8: http://downloads.sourceforge.net/eric-ide/eric4/stable/%{version}/eric4-i18n-zh_CN.GB2312-%{version}.tar.gz Source8: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-zh_CN.GB2312-%{version}.tar.gz
Source9: eric4.desktop Source9: eric4.desktop
Patch0: eric4-4.3.9-python.patch Patch0: eric4-4.3.9-python.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-qscintilla-py3
BuildRequires: python-qscintilla-devel BuildRequires: python-qscintilla-devel
BuildRequires: python-xml BuildRequires: python-xml
BuildRequires: qscintilla-devel BuildRequires: qscintilla-devel
Requires: python-qscintilla BuildRequires: PyQt4-py3
BuildRequires: PyQt4-devel
Requires: PyQt4-py3
Requires: python-qscintilla-py3
Requires: libqt4-designer Requires: libqt4-designer
Requires: python-sip-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -35,23 +40,23 @@ 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 eric4-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 %setup -q -n eric5-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8
%patch0 -p1 %patch0 -p1
mv eric4-%{version}/eric/i18n/*.qm eric/i18n/ mv eric5-%{version}/eric/i18n/*.qm eric/i18n/
rm -fr eric4-%{version} rm -fr eric5-%{version}
%build %build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} install.py \ %{__python3} install.py \
-i %{buildroot}/ \ -i %{buildroot}/ \
-b %{_bindir} \ -b %{_bindir} \
-d %{python_sitearch} -d %{python3_sitearch}
# Remove %{builddir} in API path # Remove %{builddir} in API path
sed -i -e 's|%{buildroot}||' %{buildroot}%{python_sitearch}/eric4config.py sed -i -e 's|%{buildroot}||' %{buildroot}%{python3_sitearch}/eric5config.py
# Generate api files # Generate api files
install -d %{buildroot}%{_datadir}/eric/ install -d %{buildroot}%{_datadir}/eric/
@ -63,17 +68,17 @@ for api in $PyQt4_apis $PyKDE_apis ; do
done done
# Fix some permission # Fix some permission
chmod a+x %{buildroot}%{python_sitearch}/eric4/ThirdParty/brm/bike/parsing/fastparser.py ||: chmod a+x %{buildroot}%{python3_sitearch}/eric5/ThirdParty/brm/bike/parsing/fastparser.py ||:
chmod a+x %{buildroot}%{python_sitearch}/eric4/*.py ||: chmod a+x %{buildroot}%{python3_sitearch}/eric5/*.py ||:
chmod a+x %{buildroot}%{python_sitearch}/eric4/uninstall.py chmod a+x %{buildroot}%{python3_sitearch}/eric5/uninstall.py
chmod a+x %{buildroot}%{python_sitearch}/eric4/Examples/hallo.py chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/hallo.py
#chmod a+x %{buildroot}%{python_sitearch}/eric4/DebugClients/Python/PyCoverage.py #chmod a+x %{buildroot}%{python3_sitearch}/eric5/DebugClients/Python/PyCoverage.py
chmod a+x %{buildroot}%{python_sitearch}/eric4/Examples/rhallo.py chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/rhallo.py
chmod a-x %{buildroot}%{python_sitearch}/eric4/patch_pyxml.py #chmod a-x %{buildroot}%{python3_sitearch}/eric5/patch_pyxml.py
# Add environment variables for PySide, PyQt4, PyKDE4, Qt, Qt4 and Python documentations # Add environment variables for PySide, PyQt5, PyKDE5, Qt, Qt5 and Python documentations
sed -i -e 's|exec|QT4DIR=%{_qt4_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-[0-9\.]*/html)\nQTDOCDIR=%{_qt3_docdir}/html\nQT4DOCDIR=%{_qt4_docdir}/html\nPYQT4DOCDIR=\$(echo %{_docdir}/PyQt4-devel-*/html)\nPYKDE4DOCDIR=\$(echo %{_docdir}/PyKDE4-devel-*/html)\nPYSIDEDOCDIR=$(echo %{_docdir}/python-pyside-devel-*/html)\nexport QT4DIR PYTHONDOCDIR QTDOCDIR QT4DOCDIR PYQT4DOCDIR PYKDE4DOCDIR PYSIDEDOCDIR\n&|' %{buildroot}%{_bindir}/eric4 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}/eric5
sed -i -e 's|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%{python_sitearch}/eric4/Preferences/__init__.py #sed -i -e 's|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%{python3_sitearch}/eric4/Preferences/__init__.py
#desktop-file-install \ #desktop-file-install \
# --dir %{buildroot}/%{_datadir}/applications/ \ # --dir %{buildroot}/%{_datadir}/applications/ \
@ -89,18 +94,33 @@ sed -i -e 's|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%
%files -f %{name}-api.list %files -f %{name}-api.list
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/eric4 %{_bindir}/eric5
%{_bindir}/eric4_* %{_bindir}/eric5_*
%{python_sitearch}/eric4* %dir %{python3_sitearch}/eric5
%{_datadir}/applications/eric4.desktop %{python3_sitearch}/eric5/*
%{_datadir}/appdata/eric4.appdata.xml %{python3_sitearch}/eric5config.py
%{_datadir}/pixmaps/eric4.png %dir %{python3_sitearch}/eric5plugins
#%{_datadir}/icons/hicolor/32x32/apps/eric4.png %{python3_sitearch}/eric5plugins/__init__.py
%{_datadir}/qt4/qsci/api/python/*.api %{_datadir}/applications/eric5.desktop
%{_datadir}/qt4/qsci/api/ruby/*.api %{_datadir}/appdata/eric5.appdata.xml
%doc README README-i18n.txt THANKS %{_datadir}/applications/eric5_webbrowser.desktop
%{_datadir}/pixmaps/eric*.png
%{_datadir}/qt4/qsci/api/python/*
%{_datadir}/qt4/qsci/api/ruby/*
%{_datadir}/qt4/qsci/api/qss/qss.api
%doc THANKS
#README README-i18n.txt
%changelog %changelog
* Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.2-2mamba
- require python-sip-py3
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 5.5.2-1mamba
- automatic version update by autodist
* Sun Sep 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.6-1mamba
- update to 5.4.6
* Mon Sep 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.24-1mamba * Mon Sep 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.24-1mamba
- update to 4.5.24 - update to 4.5.24