]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
- cosmetics
[packages/GXedit.git] / GXedit.spec
1 Summary:        A multi-function text editor using GTK+
2 Summary(pl):    Wielofunkcyjny edytor tekstu wykorzystuj±cy GTK+
3 Name:           GXedit
4 Version:        1.23
5 Release:        5
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 BuildRequires:  gtk+-devel >= 1.2.0
15 BuildRequires:  glib-devel >= 1.2.0
16 BuildRequires:  XFree86-devel
17 Buildroot:      /tmp/%{name}-%{version}-root
18
19 %define         _prefix /usr/X11R6
20 %define         _mandir /usr/X11R6/man
21
22 %description
23 Here is a fast, easy-to-use editor which is both network-
24 oriented and very secure. GXedit is a graphical text editor
25 which features a toolbar, network bar and tooltips, spell
26 checking, inline help, the ability to send text as e-mail, 
27 macros and more. GXedit was designed to balance these and
28 many other features without becoming too bloated.
29
30 %description -l pl
31 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w sieci,
32 a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem tekstu, 
33 który dostarcza takie funkcje jak pasek narzêdziowy, sprawdzanie pisowni, 
34 mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i wiele innych.
35 GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i wielu innych funkcji 
36 nie wp³ywa³a zbytnio na objêto¶æ samego programu.
37
38 %prep
39 %setup -n %{name}%{version} -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
45 mv -f gxedit.c.new gxedit.c
46
47 make OPTFLAGS="$RPM_OPT_FLAGS -Wall" gxe
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/X11/applnk/Editors}
52
53 make install \
54         SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
55         INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
56
57 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Editors
58
59 gzip -9nf docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps \
60         README CHANGELOG docs/DEPENDENCIES
61
62 %clean
63 rm -r $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc {docs/manual.txt,docs/manual.ps,docs/quickref.txt,docs/quickref.ps}.gz
68 %doc {README,CHANGELOG,docs/DEPENDENCIES}.gz example.gxeditrc
69
70 %attr(755,root,root) %{_bindir}/*
71
72 /etc/X11/applnk/Editors/GXedit.desktop
73 %{_datadir}/GXedit
This page took 0.038876 seconds and 4 git commands to generate.