automatic version update by autodist [release 6.0.1-1mamba;Thu Jan 22 2015]

This commit is contained in:
Automatic Build System 2024-01-05 22:07:25 +01:00
parent d4e5144b9d
commit 3183c6e387

View File

@ -1,21 +1,22 @@
%define MAJver %(echo %version | cut -d. -f1)
Name: eric Name: eric
Version: 5.5.2 Version: 6.0.1
Release: 2mamba 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
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/eric5/stable/%{version}/eric5-%{version}.tar.gz Source: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-cs-%{version}.tar.gz Source1: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{version}.tar.gz
Source2: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-de-%{version}.tar.gz Source2: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-de-%{version}.tar.gz
Source3: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-es-%{version}.tar.gz Source3: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-es-%{version}.tar.gz
Source4: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-fr-%{version}.tar.gz Source4: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-fr-%{version}.tar.gz
Source5: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-it-%{version}.tar.gz Source5: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{version}.tar.gz
Source6: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-tr-%{version}.tar.gz Source6: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-tr-%{version}.tar.gz
Source7: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-ru-%{version}.tar.gz Source7: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-ru-%{version}.tar.gz
Source8: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-i18n-zh_CN.GB2312-%{version}.tar.gz Source8: http://downloads.sourceforge.net/eric-ide/eric%{MAJver}/stable/%{version}/eric%{MAJver}-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
@ -40,11 +41,11 @@ 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 eric5-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 %setup -q -n eric%{MAJver}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8
%patch0 -p1 %patch0 -p1
mv eric5-%{version}/eric/i18n/*.qm eric/i18n/ mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/
rm -fr eric5-%{version} rm -fr eric%{MAJver}-%{version}
%build %build
@ -56,7 +57,7 @@ rm -fr eric5-%{version}
-d %{python3_sitearch} -d %{python3_sitearch}
# Remove %{builddir} in API path # Remove %{builddir} in API path
sed -i -e 's|%{buildroot}||' %{buildroot}%{python3_sitearch}/eric5config.py sed -i -e 's|%{buildroot}||' %{buildroot}%{python3_sitearch}/eric%{MAJver}config.py
# Generate api files # Generate api files
install -d %{buildroot}%{_datadir}/eric/ install -d %{buildroot}%{_datadir}/eric/
@ -68,16 +69,14 @@ for api in $PyQt4_apis $PyKDE_apis ; do
done done
# Fix some permission # Fix some permission
chmod a+x %{buildroot}%{python3_sitearch}/eric5/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}/eric5/*.py ||: chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/*.py ||:
chmod a+x %{buildroot}%{python3_sitearch}/eric5/uninstall.py chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/uninstall.py
chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/hallo.py chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/hallo.py
#chmod a+x %{buildroot}%{python3_sitearch}/eric5/DebugClients/Python/PyCoverage.py chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/rhallo.py
chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/rhallo.py
#chmod a-x %{buildroot}%{python3_sitearch}/eric5/patch_pyxml.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}/eric5 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|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%{python3_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 \
@ -94,16 +93,16 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-
%files -f %{name}-api.list %files -f %{name}-api.list
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/eric5 %{_bindir}/eric%{MAJver}
%{_bindir}/eric5_* %{_bindir}/eric%{MAJver}_*
%dir %{python3_sitearch}/eric5 %dir %{python3_sitearch}/eric%{MAJver}
%{python3_sitearch}/eric5/* %{python3_sitearch}/eric%{MAJver}/*
%{python3_sitearch}/eric5config.py %{python3_sitearch}/eric%{MAJver}config.py
%dir %{python3_sitearch}/eric5plugins %dir %{python3_sitearch}/eric%{MAJver}plugins
%{python3_sitearch}/eric5plugins/__init__.py %{python3_sitearch}/eric%{MAJver}plugins/__init__.py
%{_datadir}/applications/eric5.desktop %{_datadir}/applications/eric%{MAJver}.desktop
%{_datadir}/appdata/eric5.appdata.xml %{_datadir}/appdata/eric%{MAJver}.appdata.xml
%{_datadir}/applications/eric5_webbrowser.desktop %{_datadir}/applications/eric%{MAJver}_webbrowser.desktop
%{_datadir}/pixmaps/eric*.png %{_datadir}/pixmaps/eric*.png
%{_datadir}/qt4/qsci/api/python/* %{_datadir}/qt4/qsci/api/python/*
%{_datadir}/qt4/qsci/api/ruby/* %{_datadir}/qt4/qsci/api/ruby/*
@ -112,6 +111,12 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-
#README README-i18n.txt #README README-i18n.txt
%changelog %changelog
* Thu Jan 22 2015 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
- automatic version update by autodist
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-1mamba
- update to 6.0.0
* Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.2-2mamba * Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.2-2mamba
- require python-sip-py3 - require python-sip-py3