]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
- more 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 oriented and very
24 secure. GXedit is a graphical text editor which features a toolbar, network
25 bar and tooltips, spell checking, inline help, the ability to send text as
26 e-mail, macros and more. GXedit was designed to balance these and many other
27 features without becoming too bloated.
28
29 %description -l pl
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.
36
37 %prep
38 %setup -n %{name}%{version} -q
39 %patch0 -p1
40 %patch1 -p1
41
42 %build
43 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
44 mv -f gxedit.c.new gxedit.c
45
46 make OPTFLAGS="$RPM_OPT_FLAGS -Wall" gxe
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/X11/applnk/Editors}
51
52 make install \
53         SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
54         INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
55
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Editors
57
58 gzip -9nf docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps \
59         README CHANGELOG docs/DEPENDENCIES
60
61 %clean
62 rm -r $RPM_BUILD_ROOT
63
64 %files
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
68
69 %attr(755,root,root) %{_bindir}/*
70
71 /etc/X11/applnk/Editors/GXedit.desktop
72 %{_datadir}/GXedit
This page took 0.026383 seconds and 3 git commands to generate.