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

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

Name: scite
Version: 1.67
Release: alt0.M24.1

Summary: SciTE text editor with syntax highlighting for coding, building, and running programs
License: GPL
Group: Editors
Url: http://www.scintilla.org/SciTE.html
Source: %name-%version.tar.bz2
Source1: %name.menu
Source2: locale.properties
Source3: SciTEGlobal.properties
BuildRequires: XFree86-libs fontconfig freetype2 gcc-c++ glib2-devel libatk-devel libgtk+2-devel libpango-devel libstdc++-devel pkgconfig
Requires: XFree86-libs fontconfig freetype2 glib2 libatk libgtk+2 libpango libstdc++ pkgconfig

%description
SciTE is a SCIntilla based Text Editor. Originally built to demonstrate
Scintilla, SciTE has grown to be a very useful editor with facilities for
building and running programs. It is used to build test and demonstration
programs as well as SciTE and Scintilla, themselves.

%prep
%setup -q %name-%version.tar.bz2

%build
cd scintilla/gtk
%make_build
cd ../../scite/gtk
%make_build
chmod 644 ../doc/*

%install
%__install -pD -m755 scite/bin/SciTE $RPM_BUILD_ROOT/usr/bin/scite
%__install -pD -m755 -d $RPM_BUILD_ROOT/usr/share/scite
%__install -pD -m644 scite/src/*.properties $RPM_BUILD_ROOT/usr/share/scite
%__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/scite/locale.properties
%__install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/scite/SciTEGlobal.properties
%__install -pD -m644 scite/doc/scite.1 $RPM_BUILD_ROOT%_x11mandir/man1/scite.1
%__install -pD -m644 scite/gtk/SciTE.desktop $RPM_BUILD_ROOT/usr/share/applications/SciTE.desktop
%__install -pD -m644 scite/gtk/Sci48M.png $RPM_BUILD_ROOT/usr/share/pixmaps/Sci48M.png
%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_menudir/%name

%post
%update_menus

%postun
%clean_menus

%files
/usr/bin/scite
/usr/share/scite/*
%_x11mandir/man?/*
/usr/share/applications/SciTE.desktop
/usr/share/pixmaps/Sci48M.png
%_menudir/*
%doc scite/doc/*.html scite/doc/*.png scite/doc/*.jpg

%changelog

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

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