]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
58078d83e6377122d6be3480dfaaa8aff0c5ecbd
[packages/GXedit.git] / GXedit.spec
1 %define name GXedit
2 %define version 1.23
3 %define release 1
4 %define prefix /usr
5
6 Summary: A multi-function text editor using GTK+
7
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
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
17
18 Patch: gxedit-1.23-makefile.patch
19
20 Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
21
22 %changelog
23
24 * Thu Apr 01 1999 Michael Fulbright <drmike@redhat.com>
25 - version 1.23
26
27 * Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
28 - strip binaries
29
30 * Sun Mar 06 1999 Michael Fulbright <drmike@redhat.com>
31 - version 1.22
32
33 * Wed Jan 27 1998 Michael Fulbright <drmike@redhat.com>
34 - first attempt at spec file
35
36 %description
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.
43
44 You'll need GTK+ to use GXedit.
45
46 %prep
47 %setup -n GXedit%{version} -q
48 %patch -p1
49 cd ${RPM_BUILD_DIR}/%{name}%{version}
50 cp %{SOURCE2} ./config.h
51
52 sed s^/usr/doc/GXedit/^/usr/doc/GXedit-%{version}/^g gxedit.c > gxedit.c.new
53 mv gxedit.c.new gxedit.c
54
55 %build
56 make gxe
57
58 %install
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
62
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
65
66 # strip binaries
67 strip `file $RPM_BUILD_ROOT/%{prefix}/bin/* | awk -F':' '/executable/ { print $1 }'`
68
69
70 %files
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
76
77 %clean
78 rm -r $RPM_BUILD_ROOT
This page took 0.067331 seconds and 3 git commands to generate.