diff --git a/eric.spec b/eric.spec index 5cd5039..2eefc3e 100644 --- a/eric.spec +++ b/eric.spec @@ -1,21 +1,22 @@ +%define MAJver %(echo %version | cut -d. -f1) Name: eric -Version: 5.5.2 -Release: 2mamba +Version: 6.0.1 +Release: 1mamba Summary: A full featured Python and Ruby editor and IDE, written in Python Group: Graphical Desktop/Applications/Development Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://eric-ide.python-projects.org -Source: http://downloads.sourceforge.net/eric-ide/eric5/stable/%{version}/eric5-%{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/eric5/stable/%{version}/eric5-i18n-de-%{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/eric5/stable/%{version}/eric5-i18n-fr-%{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/eric5/stable/%{version}/eric5-i18n-tr-%{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/eric5/stable/%{version}/eric5-i18n-zh_CN.GB2312-%{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/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-cs-%{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/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-es-%{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/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-it-%{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/eric%{MAJver}/stable/%{version}/eric%{MAJver}-i18n-ru-%{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 Patch0: eric4-4.3.9-python.patch 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. %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 -mv eric5-%{version}/eric/i18n/*.qm eric/i18n/ -rm -fr eric5-%{version} +mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/ +rm -fr eric%{MAJver}-%{version} %build @@ -56,7 +57,7 @@ rm -fr eric5-%{version} -d %{python3_sitearch} # 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 install -d %{buildroot}%{_datadir}/eric/ @@ -68,16 +69,14 @@ for api in $PyQt4_apis $PyKDE_apis ; do done # Fix some permission -chmod a+x %{buildroot}%{python3_sitearch}/eric5/ThirdParty/brm/bike/parsing/fastparser.py ||: -chmod a+x %{buildroot}%{python3_sitearch}/eric5/*.py ||: -chmod a+x %{buildroot}%{python3_sitearch}/eric5/uninstall.py -chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/hallo.py -#chmod a+x %{buildroot}%{python3_sitearch}/eric5/DebugClients/Python/PyCoverage.py -chmod a+x %{buildroot}%{python3_sitearch}/eric5/Examples/rhallo.py -#chmod a-x %{buildroot}%{python3_sitearch}/eric5/patch_pyxml.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}%{python3_sitearch}/eric%{MAJver}/uninstall.py +chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/hallo.py +chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/Examples/rhallo.py # 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 #desktop-file-install \ @@ -94,16 +93,16 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python- %files -f %{name}-api.list %defattr(-,root,root) -%{_bindir}/eric5 -%{_bindir}/eric5_* -%dir %{python3_sitearch}/eric5 -%{python3_sitearch}/eric5/* -%{python3_sitearch}/eric5config.py -%dir %{python3_sitearch}/eric5plugins -%{python3_sitearch}/eric5plugins/__init__.py -%{_datadir}/applications/eric5.desktop -%{_datadir}/appdata/eric5.appdata.xml -%{_datadir}/applications/eric5_webbrowser.desktop +%{_bindir}/eric%{MAJver} +%{_bindir}/eric%{MAJver}_* +%dir %{python3_sitearch}/eric%{MAJver} +%{python3_sitearch}/eric%{MAJver}/* +%{python3_sitearch}/eric%{MAJver}config.py +%dir %{python3_sitearch}/eric%{MAJver}plugins +%{python3_sitearch}/eric%{MAJver}plugins/__init__.py +%{_datadir}/applications/eric%{MAJver}.desktop +%{_datadir}/appdata/eric%{MAJver}.appdata.xml +%{_datadir}/applications/eric%{MAJver}_webbrowser.desktop %{_datadir}/pixmaps/eric*.png %{_datadir}/qt4/qsci/api/python/* %{_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 %changelog +* Thu Jan 22 2015 Automatic Build System 6.0.1-1mamba +- automatic version update by autodist + +* Sun Jan 18 2015 Silvan Calarco 6.0.0-1mamba +- update to 6.0.0 + * Fri Jan 02 2015 Silvan Calarco 5.5.2-2mamba - require python-sip-py3