update to 19.08 [release 19.08-1mamba;Sat Aug 17 2019]
This commit is contained in:
parent
6916d6c9c9
commit
df029758f8
54
eric.spec
54
eric.spec
@ -1,6 +1,7 @@
|
||||
%define MAJver 6
|
||||
%define pkgver %(echo %version | cut -d. -f1-2 | tr -d 0)
|
||||
Name: eric
|
||||
Version: 19.03
|
||||
Version: 19.08
|
||||
Release: 1mamba
|
||||
Summary: A full featured Python and Ruby editor and IDE, written in Python
|
||||
Group: Graphical Desktop/Applications/Development
|
||||
@ -8,17 +9,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.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/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
|
||||
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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
Source: https://sourceforge.net/projects/eric-ide/files/eric6/stable/%{version}/eric6-%{pkgver}.tar.gz
|
||||
Source9: eric4.desktop
|
||||
Patch0: eric4-4.3.9-python.patch
|
||||
License: GPL
|
||||
@ -29,12 +20,14 @@ BuildRequires: python-qscintilla-py36 >= 2.10.8-2mamba
|
||||
BuildRequires: python-qscintilla-devel >= 2.10.8-2mamba
|
||||
BuildRequires: python-xml
|
||||
BuildRequires: qscintilla-devel
|
||||
BuildRequires: PyQt4-py36
|
||||
BuildRequires: PyQt4-devel
|
||||
Requires: PyQt4-py36
|
||||
BuildRequires: PyQt5-py36
|
||||
BuildRequires: PyQt5-devel
|
||||
BuildRequires: pyqtwebengine-py36
|
||||
Requires: PyQt5-py36
|
||||
Requires: python-qscintilla-py36
|
||||
Requires: libqt4-designer
|
||||
Requires: libqt5-designer
|
||||
Requires: python-sip-py36
|
||||
Requires: pyqtwebengine-py36
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -43,20 +36,18 @@ 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 eric%{MAJver}-%{version} -a2 -a3 -a7 -a10
|
||||
%patch0 -p1
|
||||
|
||||
mv eric%{MAJver}-%{version}/eric/i18n/*.qm eric/i18n/
|
||||
rm -fr eric%{MAJver}-%{version}
|
||||
%setup -q -n eric%{MAJver}-%{pkgver}
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python36} install.py \
|
||||
-a %{buildroot}%{_datadir}/qt5/qsci/api \
|
||||
-i %{buildroot}/ \
|
||||
-b %{_bindir} \
|
||||
-d %{python36_sitearch}
|
||||
-b %{buildroot}%{_bindir} \
|
||||
-d %{buildroot}%{python36_sitearch}
|
||||
|
||||
# Remove %{builddir} in API path
|
||||
sed -i -e 's|%{buildroot}||' %{buildroot}%{python36_sitearch}/eric%{MAJver}config.py
|
||||
@ -73,13 +64,13 @@ done
|
||||
# Fix some permission
|
||||
#chmod a+x %{buildroot}%{python3_sitearch}/eric%{MAJver}/ThirdParty/brm/bike/parsing/fastparser.py ||:
|
||||
chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/*.py ||:
|
||||
chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/uninstall.py
|
||||
chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/hallo.py
|
||||
chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/rhallo.py
|
||||
#chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/uninstall.py
|
||||
#chmod a+x %{buildroot}%{python36_sitearch}/eric%{MAJver}/Examples/hallo.py
|
||||
#chmod a+x %{buildroot}%{python36_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}/eric%{MAJver}
|
||||
#sed -i -e 's|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%{python3_sitearch}/eric4/Preferences/__init__.py
|
||||
#sed -i -e 's|"QtToolsPostfix4" : "",|"QtToolsPostfix4" : "-qt4",|' %{buildroot}%{python36_sitearch}/eric4/Preferences/__init__.py
|
||||
|
||||
#desktop-file-install \
|
||||
# --dir %{buildroot}/%{_datadir}/applications/ \
|
||||
@ -110,10 +101,13 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-
|
||||
%{_datadir}/qt5/qsci/api/python/*
|
||||
%{_datadir}/qt5/qsci/api/ruby/*
|
||||
%{_datadir}/qt5/qsci/api/qss/qss.api
|
||||
%doc THANKS
|
||||
#%doc THANKS
|
||||
#README README-i18n.txt
|
||||
|
||||
%changelog
|
||||
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 19.08-1mamba
|
||||
- update to 19.08
|
||||
|
||||
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 19.03-1mamba
|
||||
- update to 19.03
|
||||
|
||||
@ -177,10 +171,10 @@ sed -i -e 's|exec|QT5DIR=%{_qt5_prefix}\nPYTHONDOCDIR=\$(echo %{_docdir}/python-
|
||||
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 6.0.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jul 05 2015 Automatic Build System <autodist@mambasoft.it> 6.0.7-1mamba
|
||||
* Tue Jul 07 2015 Automatic Build System <autodist@mambasoft.it> 6.0.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jun 07 2015 Automatic Build System <autodist@mambasoft.it> 6.0.6-1mamba
|
||||
* Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 6.0.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 6.0.5-1mamba
|
||||
|
Loading…
Reference in New Issue
Block a user