6 Summary: A multi-function text editor using GTK+
11 Group: Applications/Editors
12 Copyright: Freely distributable
13 Url: http://devplanet.fastethernet.net/gxedit.html
14 Source: %{name}%{version}.tar.gz
15 Source1: GXedit.desktop
16 Source2: gxedit-config.h
18 Patch: gxedit-1.23-makefile.patch
20 Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
24 * Thu Apr 01 1999 Michael Fulbright <drmike@redhat.com>
27 * Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
30 * Sun Mar 06 1999 Michael Fulbright <drmike@redhat.com>
33 * Wed Jan 27 1998 Michael Fulbright <drmike@redhat.com>
34 - first attempt at spec file
37 Here is a fast, easy-to-use editor which is both network-
38 oriented and very secure. GXedit is a graphical text editor
39 which features a toolbar, network bar and tooltips, spell
40 checking, inline help, the ability to send text as e-mail,
41 macros and more. GXedit was designed to balance these and
42 many other features without becoming too bloated.
44 You'll need GTK+ to use GXedit.
47 %setup -n GXedit%{version} -q
49 cd ${RPM_BUILD_DIR}/%{name}%{version}
50 cp %{SOURCE2} ./config.h
52 sed s^/usr/doc/GXedit/^/usr/doc/GXedit-%{version}/^g gxedit.c > gxedit.c.new
53 mv gxedit.c.new gxedit.c
59 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
60 mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
61 make SHARE=$RPM_BUILD_ROOT%{prefix}/share INSTALL_DIR=$RPM_BUILD_ROOT%{prefix}/bin/ install
63 mkdir -p $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Applications
64 install -c -m 664 %{SOURCE1} $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Applications
67 strip `file $RPM_BUILD_ROOT/%{prefix}/bin/* | awk -F':' '/executable/ { print $1 }'`
71 %doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps
72 %doc docs/COPYING README CHANGELOG
73 %attr(755,root,root) %{prefix}/bin/
74 %{prefix}/share/gnome/apps/Applications/GXedit.desktop
75 %{prefix}/share/GXedit