1 Summary: A multi-function text editor using GTK+
2 Summary(pl): Wielofunkcyjny edytor tekstu wykorzystuj±cy GTK+
6 Group: X11/Applications/Editors
7 Group(pl): X11/Aplikacje/Edytory
8 Copyright: Freely distributable
9 URL: http://devplanet.fastethernet.net/gxedit.html
10 Source0: %{name}%{version}.tar.gz
11 Source1: GXedit.desktop
12 Patch0: GXedit-config.patch
13 Patch1: GXedit-makefile.patch
14 BuildPrereq: gtk+-devel >= 1.2.0
15 BuildPrereq: glib-devel >= 1.2.0
16 BuildPrereq: XFree86-devel
17 Buildroot: /tmp/%{name}-%{version}-root
19 %define _prefix /usr/X11R6
22 Here is a fast, easy-to-use editor which is both network-
23 oriented and very secure. GXedit is a graphical text editor
24 which features a toolbar, network bar and tooltips, spell
25 checking, inline help, the ability to send text as e-mail,
26 macros and more. GXedit was designed to balance these and
27 many other features without becoming too bloated.
30 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w sieci,
31 a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem tekstu,
32 który dostarcza takie funkcje jak pasek narzêdziowy, sprawdzanie pisowni,
33 mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i wiele innych.
34 GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i wielu innych funkcji
35 nie wp³ywa³a zbytnio na objêto¶æ samego programu.
38 %setup -n %{name}%{version} -q
43 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
44 mv -f gxedit.c.new gxedit.c
46 make OPTFLAGS="$RPM_OPT_FLAGS -Wall" gxe
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/X11/applnk/Editors}
53 SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
54 INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Editors
58 gzip -9nf docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps \
59 README CHANGELOG docs/DEPENDENCIES
65 %defattr(644,root,root,755)
66 %doc {docs/manual.txt,docs/manual.ps,docs/quickref.txt,docs/quickref.ps}.gz
67 %doc {README,CHANGELOG,docs/DEPENDENCIES}.gz example.gxeditrc
69 %attr(755,root,root) %{_bindir}/*
71 /etc/X11/applnk/Editors/GXedit.desktop