Репозитории ALT
Группа :: Редакторы
Пакет: joe
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: joe
Version: 3.7
Release: alt2.qa1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: An easy to use modeless text editor
License: GPL
Group: Editors
URL: http://joe-editor.sourceforge.net/
Source: http://downloads.sf.net/joe-editor/joe-%version.tar.gz
Source1: joe_icons.tar.bz2
Source2: joe.desktop
Source3: joe.png
Patch1: joe-3.0-yuk-c-color.patch
Patch2: joe-3.5-cp1251.patch
Patch10: joe-3.7-joerc.patch
Patch11: joe-3.5-time.patch
# Automatically added by buildreq on Tue Nov 11 2008
BuildRequires: aspell libncurses-devel
%description
Joe is an easy to use, modeless text editor which would be very appropriate for
novices. Joe uses by default the same WordStar keybindings used in Borland's
development environment.
You should install joe if you've used it before and you liked it, or if you're
still deciding what text editor you'd like to use, or if you have a fondness for
WordStar. If you're just starting out, you should probably install joe because
it is very easy to use.
%prep
%setup -a1
%patch1 -p1
%patch2 -p1
%patch10 -p1
%patch11 -p1
%__subst 's/ -asis/-asis/' rc/j*rc.in
%__subst 's/ -guess_utf8/-guess_utf8/' rc/j*rc.in
%build
%configure
%make_build
%install
%make_install install DESTDIR=%buildroot
# This is automatically compressed afterwards...
pushd %buildroot%_man1dir
ln -s joe.1 jmacs.1
ln -s joe.1 jpico.1
ln -s joe.1 jstar.1
ln -s joe.1 rjoe.1
popd
install -pD -m644 joe_16.xpm %buildroot%_miconsdir/joe.xpm
install -pD -m644 joe_32.xpm %buildroot%_niconsdir/joe.xpm
install -pD -m644 joe_48.xpm %buildroot%_liconsdir/joe.xpm
install -pD -m644 %{SOURCE2} %buildroot%_desktopdir/joe.desktop
install -pD -m644 %{SOURCE3} %buildroot%_pixmapsdir/joe.png
# Thanks, but we will choose docs in files section
rm -rf %buildroot%_defaultdocdir
%files
%_bindir/*
%dir %_sysconfdir/joe
%config(noreplace) %_sysconfdir/joe/*
%_datadir/joe
%_man1dir/*
%lang(ru) %_mandir/ru/man?/*
%_desktopdir/*
%_pixmapsdir/*
%_niconsdir/joe.xpm
%_miconsdir/joe.xpm
%_liconsdir/joe.xpm
%doc HINTS LIST NEWS README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.7
Release: alt2.qa1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: An easy to use modeless text editor
License: GPL
Group: Editors
URL: http://joe-editor.sourceforge.net/
Source: http://downloads.sf.net/joe-editor/joe-%version.tar.gz
Source1: joe_icons.tar.bz2
Source2: joe.desktop
Source3: joe.png
Patch1: joe-3.0-yuk-c-color.patch
Patch2: joe-3.5-cp1251.patch
Patch10: joe-3.7-joerc.patch
Patch11: joe-3.5-time.patch
# Automatically added by buildreq on Tue Nov 11 2008
BuildRequires: aspell libncurses-devel
%description
Joe is an easy to use, modeless text editor which would be very appropriate for
novices. Joe uses by default the same WordStar keybindings used in Borland's
development environment.
You should install joe if you've used it before and you liked it, or if you're
still deciding what text editor you'd like to use, or if you have a fondness for
WordStar. If you're just starting out, you should probably install joe because
it is very easy to use.
%prep
%setup -a1
%patch1 -p1
%patch2 -p1
%patch10 -p1
%patch11 -p1
%__subst 's/ -asis/-asis/' rc/j*rc.in
%__subst 's/ -guess_utf8/-guess_utf8/' rc/j*rc.in
%build
%configure
%make_build
%install
%make_install install DESTDIR=%buildroot
# This is automatically compressed afterwards...
pushd %buildroot%_man1dir
ln -s joe.1 jmacs.1
ln -s joe.1 jpico.1
ln -s joe.1 jstar.1
ln -s joe.1 rjoe.1
popd
install -pD -m644 joe_16.xpm %buildroot%_miconsdir/joe.xpm
install -pD -m644 joe_32.xpm %buildroot%_niconsdir/joe.xpm
install -pD -m644 joe_48.xpm %buildroot%_liconsdir/joe.xpm
install -pD -m644 %{SOURCE2} %buildroot%_desktopdir/joe.desktop
install -pD -m644 %{SOURCE3} %buildroot%_pixmapsdir/joe.png
# Thanks, but we will choose docs in files section
rm -rf %buildroot%_defaultdocdir
%files
%_bindir/*
%dir %_sysconfdir/joe
%config(noreplace) %_sysconfdir/joe/*
%_datadir/joe
%_man1dir/*
%lang(ru) %_mandir/ru/man?/*
%_desktopdir/*
%_pixmapsdir/*
%_niconsdir/joe.xpm
%_miconsdir/joe.xpm
%_liconsdir/joe.xpm
%doc HINTS LIST NEWS README
%changelog
…
Полный changelog можно просмотреть здесь