Группа :: Терминалы
Пакет: termit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: termit
Version: 2.5.0
Release: alt2.M51.1
Summary: Minimalistic terminal emulator with tabs and encoding support
Url: http://code.google.com/p/termit/
License: GPLv2
Group: Terminals
Packager: Maxim Ivanov <redbaron at altlinux.org>
#http://termit.googlecode.com/files/%name-%version.tar.bz2
Source0: %name-%version.tar
Source1: %name-init.lua
Source2: ru.po
Patch0: %name-%version-%release.patch
Patch1: %name.desktop.icon.patch
Provides: xvt, %_bindir/xvt
PreReq: alternatives >= 0:0.2.0-alt0.12
BuildRequires: desktop-file-utils cmake libvte-devel gcc-c++ libtinfo-devel
BuildRequires: libpixman-devel liblua5-devel libXau-devel
%description
Simple terminal emulator based on vte library.
Features:
* multiple tabs
* switching encodings
* sessions
* configurable keybindings
* embedded Lua
* xterm-like dynamic window title
%prep
%setup
%patch0 -p1
%patch1 -p1
cp %SOURCE2 po/ru.po
%build
cmake -DCMAKE_INSTALL_PREFIX=%_prefix .
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
mkdir -p %buildroot%_altdir
cat >%buildroot%_altdir/%name <<EOF
%_bindir/xvt %_bindir/termit 40
EOF
install -m644 -D %SOURCE1 %buildroot%_sysconfdir/xdg/termit/init.lua
sed -ie 's! at docdir at !%_docdir!g' %buildroot%_sysconfdir/xdg/termit/init.lua
sed -ie 's! at name at !%name!g' %buildroot%_sysconfdir/xdg/termit/init.lua
%files -f %name.lang
%_bindir/*
%_altdir/%name
%_desktopdir/*.desktop
%_docdir/%name
%_man1dir/*
%_sysconfdir/xdg/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: termit
Version: 2.5.0
Release: alt2.M51.1
Summary: Minimalistic terminal emulator with tabs and encoding support
Url: http://code.google.com/p/termit/
License: GPLv2
Group: Terminals
Packager: Maxim Ivanov <redbaron at altlinux.org>
#http://termit.googlecode.com/files/%name-%version.tar.bz2
Source0: %name-%version.tar
Source1: %name-init.lua
Source2: ru.po
Patch0: %name-%version-%release.patch
Patch1: %name.desktop.icon.patch
Provides: xvt, %_bindir/xvt
PreReq: alternatives >= 0:0.2.0-alt0.12
BuildRequires: desktop-file-utils cmake libvte-devel gcc-c++ libtinfo-devel
BuildRequires: libpixman-devel liblua5-devel libXau-devel
%description
Simple terminal emulator based on vte library.
Features:
* multiple tabs
* switching encodings
* sessions
* configurable keybindings
* embedded Lua
* xterm-like dynamic window title
%prep
%setup
%patch0 -p1
%patch1 -p1
cp %SOURCE2 po/ru.po
%build
cmake -DCMAKE_INSTALL_PREFIX=%_prefix .
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
mkdir -p %buildroot%_altdir
cat >%buildroot%_altdir/%name <<EOF
%_bindir/xvt %_bindir/termit 40
EOF
install -m644 -D %SOURCE1 %buildroot%_sysconfdir/xdg/termit/init.lua
sed -ie 's! at docdir at !%_docdir!g' %buildroot%_sysconfdir/xdg/termit/init.lua
sed -ie 's! at name at !%name!g' %buildroot%_sysconfdir/xdg/termit/init.lua
%files -f %name.lang
%_bindir/*
%_altdir/%name
%_desktopdir/*.desktop
%_docdir/%name
%_man1dir/*
%_sysconfdir/xdg/*
%changelog
…
Полный changelog можно просмотреть здесь