Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37887372
en ru br
Репозитории ALT
5.1: 4.2.0-alt1.20080525
4.1: 4.1.0-alt1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: eric4

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: The eric is a Python IDE
Name: eric4
Version: 4.2.0
Release: alt1.20080525
Source0: eric-%version.tar
Source1: eric-i18n-cs-%version.tar
Source2: eric-i18n-de-%version.tar
Source3: eric-i18n-fr-%version.tar
Source4: eric-i18n-ru-%version.tar
Source5: eric-i18n-es-%version.tar
# patch name for future use
Patch0: eric-%version-alt-allinone.patch
Packager: Gennady Kovalev <gik at altlinux.ru>

License: GPL
Group: Development/Python
URL: http://www.die-offenbachs.de/eric/

PreReq: python = %__python_version
BuildPreReq: python-devel = %__python_version
BuildPreReq: libqscintilla2-qt4-python
BuildPreReq: %py_package_dependencies sip
BuildPreReq: %py_package_dependencies PyQt4

Requires: libqscintilla2-qt4-python

%description
Eric4 is a full featured Python IDE that is written in PyQt using the QScintilla editor widget. For information on PyQt and QScintilla please see Riverbank Computing.


%prep
%setup -n eric-%version -b1 -b2 -b3 -b4 -b5
%patch0 -p1

# merge languages

cp -r ../eric-i18n-cs-%version/* .
cp -r ../eric-i18n-de-%version/* .
cp -r ../eric-i18n-fr-%version/* .
cp -r ../eric-i18n-ru-%version/* .
cp -r ../eric-i18n-es-%version/* .


%build


%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%python_sitelibdir
mkdir -p %buildroot%_menudir
mkdir -p %buildroot%_datadir/pixmaps

# remove examples, and it mod_python deps

rm -rf eric/Examples

# install

%__python install.py -z -i %buildroot -b %_bindir -d %python_sitelibdir -c

# remove sitecustomize.py

rm -f %buildroot%python_sitelibdir/sitecustomize.py{,c}

# menu shortcut

%__install -m644 eric/icons/default/eric.png %buildroot/%_datadir/pixmaps/%name.png

cat <<EOF > %buildroot/%_menudir/eric4
?package(eric4): needs=X11 \
section="Applications/Development/Development environments" \
title="Eric" \
longtitle="A powerful python IDE" \
command="%_bindir/eric4" \
icon="eric4.png"
EOF


%post
%update_menus


%postun
%clean_menus


%files
%_bindir/*
%python_sitelibdir/*
%_menudir/eric4
%_datadir/pixmaps/%name.png
%doc README LICENSE.GPL ChangeLog README-i18n.txt THANKS


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin