]> git.pld-linux.org Git - packages/GXedit.git/blame - GXedit.spec
gnome desktop file for GXedit.
[packages/GXedit.git] / GXedit.spec
CommitLineData
4fc95932 1%define name GXedit
2%define version 1.23
3%define release 1
4%define prefix /usr
5
6Summary: A multi-function text editor using GTK+
7
8Name: %{name}
9Version: %{version}
10Release: %{release}
11Group: Applications/Editors
12Copyright: Freely distributable
13Url: http://devplanet.fastethernet.net/gxedit.html
14Source: %{name}%{version}.tar.gz
15Source1: GXedit.desktop
16Source2: gxedit-config.h
17
18Patch: gxedit-1.23-makefile.patch
19
20Buildroot: /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
37Here is a fast, easy-to-use editor which is both network-
38oriented and very secure. GXedit is a graphical text editor
39which features a toolbar, network bar and tooltips, spell
40checking, inline help, the ability to send text as e-mail,
41macros and more. GXedit was designed to balance these and
42many other features without becoming too bloated.
43
44You'll need GTK+ to use GXedit.
45
46%prep
47%setup -n GXedit%{version} -q
48%patch -p1
49cd ${RPM_BUILD_DIR}/%{name}%{version}
50cp %{SOURCE2} ./config.h
51
52sed s^/usr/doc/GXedit/^/usr/doc/GXedit-%{version}/^g gxedit.c > gxedit.c.new
53mv gxedit.c.new gxedit.c
54
55%build
56make gxe
57
58%install
59if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
60mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
61make SHARE=$RPM_BUILD_ROOT%{prefix}/share INSTALL_DIR=$RPM_BUILD_ROOT%{prefix}/bin/ install
62
63mkdir -p $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Applications
64install -c -m 664 %{SOURCE1} $RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Applications
65
66# strip binaries
67strip `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
78rm -r $RPM_BUILD_ROOT
This page took 0.065638 seconds and 4 git commands to generate.