[packages/eric6: 2/2] Adapterized.

matkor matkor at pld-linux.org
Thu Sep 1 16:39:32 CEST 2016


commit 5c2f16b863da4f557fc726700114062ee64d1dff
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Thu Sep 1 16:39:03 2016 +0200

    Adapterized.

 eric6.spec | 46 +++++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 21 deletions(-)
---
diff --git a/eric6.spec b/eric6.spec
index 1ddaf6a..0fa2e97 100644
--- a/eric6.spec
+++ b/eric6.spec
@@ -1,4 +1,4 @@
-# TODO: Switch to python3 
+# TODO: Switch to python3
 
 %define 	module	eric6
 Summary:	Eric6 - a full featured Python IDE
@@ -6,10 +6,10 @@ Summary(pl.UTF-8):	Eric6 - pełnowartościowe IDE dla Pythona
 # Name must match the python module/package name (as on pypi or in 'import' statement)
 Name:		eric6
 Version:	6.1.8
-Release:	0.4
+Release:	0.5
 License:	GPL v3
 Group:		Libraries/Python
-Source0:	https://sourceforge.net/projects/eric-ide/files/eric6/stable/%{version}/eric6-%{version}.tar.gz/download
+Source0:	https://sourceforge.net/projects/eric-ide/files/eric6/stable/%{version}/eric6-%{version}.tar.gz
 # Source0-md5:	a070c679fbc93fab4f3b718a5875e5d0
 URL:		http://eric-ide.python-projects.org/index.html
 BuildRequires:	rpm-pythonprov
@@ -21,8 +21,8 @@ BuildRequires:	python-setuptools
 # NOTE: As for 6.1.8  eric6 still tries to import PyQt5 while having PyQt4 leading to crash
 # 	http://die-offenbachs.homelinux.org:48888/issues/issue204
 # for --pyqt=4
-# BuildRequires:	python-PyQt4-uic
 # BuildRequires:	python-PyQt4-qscintilla2
+# BuildRequires:	python-PyQt4-uic
 # for --pyqt=5
 BuildRequires:	python-PyQt5-qscintilla2
 BuildRequires:	python-PyQt5-uic
@@ -37,10 +37,14 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Eric is a Python IDE written using PyQt and QScintilla. It provides various features such as any number of open editors, an integrated (remote) debugger, project management facilities, unit test, refactoring and much more.
+Eric is a Python IDE written using PyQt and QScintilla. It provides
+various features such as any number of open editors, an integrated
+(remote) debugger, project management facilities, unit test,
+refactoring and much more.
 
 %description -l pl.UTF-8
-Eric jest pythonowym graficznym środowiskiem programistycznym używającym PyQt i QScintilla.
+Eric jest pythonowym graficznym środowiskiem programistycznym
+używającym PyQt i QScintilla.
 
 %prep
 %setup -q
@@ -62,22 +66,22 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/eric6
 %attr(755,root,root) %{_bindir}/eric6_*
 # for --pyqt=4
-# /usr/share/qt4/qsci/api/qss/
-# /usr/share/qt4/qsci/api/ruby/
-# /usr/share/qt4/qsci/api/python/eric6.*
-# /usr/share/qt4/qsci/api/python/zope-*.api
+# %{_datadir}/qt4/qsci/api/qss/
+# %{_datadir}/qt4/qsci/api/ruby/
+# %{_datadir}/qt4/qsci/api/python/eric6.*
+# %{_datadir}/qt4/qsci/api/python/zope-*.api
 
 # for --pyqt=5
-/usr/share/qt5/qsci/api/qss/
-/usr/share/qt5/qsci/api/ruby/
-/usr/share/qt5/qsci/api/python/eric6.*
-/usr/share/qt5/qsci/api/python/zope-*.api
+%{_datadir}/qt5/qsci/api/qss/
+%{_datadir}/qt5/qsci/api/ruby/
+%{_datadir}/qt5/qsci/api/python/eric6.*
+%{_datadir}/qt5/qsci/api/python/zope-*.api
 
-/usr/share/pixmaps/eric*.png
-/usr/share/applications/eric6.desktop
-/usr/share/applications/eric6_webbrowser.desktop
-/usr/share/appdata/eric6.appdata.xml
-# file /usr/share/qt4/qsci/api/ruby/Ruby-1.8.7.api from install of eric6-6.1.8-0.1.noarch conflicts with file from package eric4-4.5.24-3.noarch
-/usr/share/python2.7/site-packages/eric6config.py
-/usr/share/python2.7/site-packages/eric6plugins
+%{_pixmapsdir}/eric*.png
+%{_desktopdir}/eric6.desktop
+%{_desktopdir}/eric6_webbrowser.desktop
+%{_datadir}/appdata/eric6.appdata.xml
+# file %{_datadir}/qt4/qsci/api/ruby/Ruby-1.8.7.api from install of eric6-6.1.8-0.1.noarch conflicts with file from package eric4-4.5.24-3.noarch
+%{py_sitescriptdir}/eric6config.py
+%{py_sitescriptdir}/eric6plugins
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eric6.git/commitdiff/5c2f16b863da4f557fc726700114062ee64d1dff



More information about the pld-cvs-commit mailing list