Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1494525
 поиск   регистрация   авторизация 
 
Группа :: Разработка/Python
Пакет: eric

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

%define version 3.6.1
%define release alt0.M24.1
#define snap_date 20041223

Summary: The eric3 is a Python IDE
Name: eric
Version: %version
%ifdef snap_date
Release: %release.snap%snap_date
Source0: eric-snapshot-%snap_date.tar.gz
Source1: eric-i18n-de-snapshot-%snap_date.tar.gz
Source2: eric-i18n-fr-snapshot-%snap_date.tar.gz
Source3: eric-i18n-ru-snapshot-%snap_date.tar.gz
%else
Release: %release
Source0: eric-%version.tar.gz
Source1: eric-i18n-de-%version.tar.gz
Source2: eric-i18n-fr-%version.tar.gz
Source3: eric-i18n-ru-%version.tar.gz
%endif
License: GPL
Group: Development/Python
URL: http://www.die-offenbachs.de/detlev/eric3.html
BuildArch: noarch

PreReq: python = %__python_version
BuildPreReq: python-devel = %__python_version

%add_python_req_skip Checks
%add_python_req_skip Debugger
%add_python_req_skip DocumentationTools
%add_python_req_skip Graphics
%add_python_req_skip Helpviewer
%add_python_req_skip Preferences
%add_python_req_skip Project
%add_python_req_skip PyUnit
%add_python_req_skip QScintilla
%add_python_req_skip Refactoring
%add_python_req_skip Scripting
%add_python_req_skip SocketServer
%add_python_req_skip ThirdParty
%add_python_req_skip UI
%add_python_req_skip Utilities
%add_python_req_skip VCS
%add_python_req_skip ViewManager
%add_python_req_skip Wizards
%add_python_req_skip XML
%add_python_req_skip KdeQt
%add_python_req_skip bike
%add_python_req_skip eric3dbgstub

# Automatically added by buildreq on Mon Nov 08 2004

BuildRequires: python-module-PyQt python-module-sip XFree86-libs

%description
Eric3 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
%ifdef snap_date
%setup -n %name-snapshot-%snap_date -b1 -b2 -b3
%else
%setup -n %name-%version -b1 -b2 -b3
%endif

%build
%install
mkdir -p %buildroot{%_bindir,%python_sitelibdir,%_menudir}
python install.py -b %buildroot%_bindir -d %buildroot%python_sitelibdir

%__subst s,%buildroot,, %buildroot%_bindir/*
%__subst s,%_bindir/python,%_bindir/python%__python_version, %buildroot%_bindir/*
%__subst s,%buildroot,, %buildroot%python_sitelibdir/eric3config.py

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

%post
%update_menus

%postun
%clean_menus

%files
%_bindir/*
%python_sitelibdir/*
%_menudir/eric3
%doc README LICENSE.GPL HISTORY

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005