Summary: A multi-function text editor using GTK+
-Summary(es): Editor de textos multifunciones que usa GTK+
+Summary(es): Editor multifuncional de textos que usa GTK+
Summary(pl): Wielofunkcyjny edytor tekstu wykorzystuj±cy GTK+
Summary(pt): Editor de textos multifunção que usa o GTK+
Name: GXedit
Version: 1.23
-Release: 10
+Release: 14
License: GPL
Group: X11/Applications/Editors
-Source0: http://users.linuxbox.com/~drow/GXedit/%{name}%{version}.tar.gz
+# working: ftp://ibiblio.org/pub/Linux/apps/editors/X/%{name}-%{version}.tar.gz
+Source0: %{name}%{version}.tar.gz
+# Source0-md5: afbd834a2fbb73b598e600f23655c13d
Source1: %{name}.desktop
Patch0: %{name}-config.patch
Patch1: %{name}-makefile.patch
Patch2: %{name}-nobash.patch
Patch3: %{name}-time.patch
-URL: http://www.linuxbox.com/~drow/GXedit/
BuildRequires: gtk+-devel >= 1.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
%description
Here is a fast, easy-to-use editor which is both network oriented and
ability to send text as e-mail, macros and more. GXedit was designed
to balance these and many other features without becoming too bloated.
-%description -l es
-Editor de textos multifunciones que usa GTK+.
-
%description -l pl
Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w
sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Office/Editors}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
%{__make} install \
SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
%clean
rm -r $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Office/Editors/GXedit.desktop
+%{_desktopdir}/GXedit.desktop
%{_datadir}/GXedit