2007-01-16 00:19:02 +01:00
|
|
|
#
|
2009-01-21 14:09:50 +01:00
|
|
|
# spec file for package joe (Version 3.7)
|
2007-01-16 00:19:02 +01:00
|
|
|
#
|
2009-01-21 14:09:50 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:19:02 +01:00
|
|
|
#
|
2009-01-21 14:09:50 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:19:02 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 10:27:32 +02:00
|
|
|
|
2007-01-16 00:19:02 +01:00
|
|
|
Name: joe
|
2007-04-03 21:34:02 +02:00
|
|
|
BuildRequires: ncurses-devel
|
2008-04-06 10:27:32 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:19:02 +01:00
|
|
|
Group: Productivity/Editors/Other
|
2008-04-06 10:27:32 +02:00
|
|
|
AutoReqProv: on
|
2009-01-21 14:09:50 +01:00
|
|
|
Version: 3.7
|
2009-10-27 16:33:33 +01:00
|
|
|
Release: 5
|
2007-01-16 00:19:02 +01:00
|
|
|
Summary: A Text Editor
|
2008-04-06 10:27:32 +02:00
|
|
|
Url: http://sourceforge.net/projects/joe-editor
|
2007-01-16 00:19:02 +01:00
|
|
|
Source: joe-%{version}.tar.bz2
|
2007-06-24 11:46:28 +02:00
|
|
|
Source2: de.po
|
2009-10-26 16:55:32 +01:00
|
|
|
Patch0: joe-3.1-terminate_buffer.patch
|
2009-01-21 14:09:50 +01:00
|
|
|
Patch2: joe-3.1-fix_isblanck_argument.patch
|
2007-01-16 00:19:02 +01:00
|
|
|
Patch3: joe-3.3-warnings.patch
|
2009-10-26 16:55:32 +01:00
|
|
|
Patch5: joe-activate_po.patch.bz2
|
2009-01-21 14:09:50 +01:00
|
|
|
Patch6: joe-fr_trans.patch
|
2009-01-22 13:10:27 +01:00
|
|
|
Patch7: joe-3.7-additional_key_mappings.patch
|
|
|
|
Patch8: joe-3.7-spec_association.patch
|
2009-10-26 16:55:32 +01:00
|
|
|
Patch9: joe-codecleanup.patch
|
|
|
|
Patch10: joe-sigiot.patch
|
2007-01-16 00:19:02 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
JOE (Joe's Own Editor) is a freeware ASCII editor for UNIX. Joe is
|
|
|
|
similar to most IBM PC text editors. The keyboard combinations are
|
|
|
|
similar to WordStar[tm] and Turbo C. Some of Joe's features include:
|
|
|
|
|
|
|
|
-full support of termcap and terminfo (useful for device-independent
|
|
|
|
descriptions to control screen output) -optimized screen refresh like
|
|
|
|
GNU Emacs (Joe can even be used at 2400 baud) -easy installation with
|
|
|
|
all features for UNIX integration with vi: a marked block of text can
|
|
|
|
be filtered through a UNIX command and wherever JOE accepts a filename
|
|
|
|
parameter, the following can also be substituted:
|
|
|
|
|
|
|
|
!command\t\t:to redirect from or to another command
|
|
|
|
|
|
|
|
>>filename\t\t:to append onto an existing file
|
|
|
|
|
|
|
|
filename,start,size\t:to edit a part of a file or device
|
|
|
|
|
|
|
|
-\t\t\t:to use standard input/output
|
|
|
|
|
|
|
|
When JOE has several files opened at the same time, each file is
|
|
|
|
displayed in its own window. Additionally, JOE allows for shell windows
|
|
|
|
from which the output of the executed commands are saved in a buffer,
|
|
|
|
automatic filename completion (via TAB), help windows, undo and redo,
|
|
|
|
and search and replace using regular expressions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Joseph H. Allen <jhallen@world.std.com>
|
|
|
|
|
|
|
|
Marek 'Marx' Grac <xgrac@fi.muni.cz>
|
|
|
|
|
|
|
|
%prep
|
2007-06-24 11:46:28 +02:00
|
|
|
%setup -q
|
2009-10-26 16:55:32 +01:00
|
|
|
%patch0
|
2007-01-16 00:19:02 +01:00
|
|
|
%patch2
|
|
|
|
%patch3
|
2009-10-26 16:55:32 +01:00
|
|
|
%patch5
|
2009-01-21 14:09:50 +01:00
|
|
|
%patch6
|
2009-01-22 13:10:27 +01:00
|
|
|
%patch7
|
|
|
|
%patch8
|
2009-10-26 16:55:32 +01:00
|
|
|
%patch9
|
|
|
|
%patch10
|
2009-01-21 14:09:50 +01:00
|
|
|
cp %{S:2} po
|
2007-01-16 00:19:02 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-21 14:09:50 +01:00
|
|
|
autoreconf -fi
|
|
|
|
export CFLAGS="%{optflags} -W -Wno-unused"
|
2007-01-16 00:19:02 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--mandir=%{_mandir} \
|
2009-01-21 14:09:50 +01:00
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--docdir=%{_defaultdocdir}/%name
|
|
|
|
cd po
|
|
|
|
make update-po
|
2007-01-16 00:19:02 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2009-01-21 14:09:50 +01:00
|
|
|
%makeinstall
|
|
|
|
# prefix=%{buildroot}%{_prefix} \
|
|
|
|
# mandir=%{buildroot}%{_mandir} \
|
|
|
|
# sysconfdir=%{buildroot}%{_sysconfdir} \
|
|
|
|
# docdir=%{buildroot}%{_defaultdocdir}/%name \
|
|
|
|
# install
|
2007-01-16 00:19:02 +01:00
|
|
|
for i in jmacs jpico jstar rjoe; do
|
2009-01-21 14:09:50 +01:00
|
|
|
ln -s joe.1.gz %{buildroot}%{_mandir}/man1/$i.1.gz
|
2007-01-16 00:19:02 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
2009-01-21 14:09:50 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:19:02 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-01-21 14:09:50 +01:00
|
|
|
%doc %{_defaultdocdir}/%{name}
|
2007-01-16 00:19:02 +01:00
|
|
|
%doc %{_mandir}/man1/*
|
2009-01-21 14:09:50 +01:00
|
|
|
%doc %{_mandir}/*/man1/*
|
|
|
|
%config %{_sysconfdir}/joe/*
|
|
|
|
%dir %{_sysconfdir}/joe
|
|
|
|
%dir %{_datadir}/%{name}
|
2009-01-22 13:10:27 +01:00
|
|
|
%dir %{_datadir}/%{name}/lang
|
|
|
|
%dir %{_mandir}/ru
|
|
|
|
%dir %{_mandir}/ru/man1
|
2007-01-16 00:19:02 +01:00
|
|
|
%{_bindir}/*
|
2009-01-21 14:09:50 +01:00
|
|
|
%{_datadir}/%{name}/charmaps
|
2009-10-26 16:55:32 +01:00
|
|
|
%dir %{_datadir}/%{name}/syntax
|
|
|
|
%config(noreplace) %{_datadir}/%{name}/syntax/*
|
2009-01-21 14:09:50 +01:00
|
|
|
%lang(de) %{_datadir}/%{name}/lang/de.mo
|
|
|
|
%lang(en) %{_datadir}/%{name}/lang/en@*.mo
|
|
|
|
%lang(fr) %{_datadir}/%{name}/lang/fr.mo
|
|
|
|
%lang(ru) %{_datadir}/%{name}/lang/ru.mo
|
|
|
|
%lang(uk) %{_datadir}/%{name}/lang/uk.mo
|
2007-01-16 00:19:02 +01:00
|
|
|
|
2007-04-03 21:34:02 +02:00
|
|
|
%changelog
|