]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
- release 6,
[packages/GXedit.git] / GXedit.spec
1 Summary:        A multi-function text editor using GTK+
2 Summary(es):    Editor de textos multifunciones que usa GTK+
3 Summary(pl):    Wielofunkcyjny edytor tekstu wykorzystuj±cy GTK+
4 Summary(pt_BR): Editor de textos multifunção que usa o GTK+                                                   
5 Name:           GXedit
6 Version:        1.23
7 Release:        6
8 Group:          X11/Applications/Editors
9 Group(es):      X11/Aplicaciones/Editores
10 Group(pl):      X11/Aplikacje/Edytory
11 Group(pt_BR):   X11/Aplicações/Editores                                                                             
12 Copyright:      GPL
13 Source0:        http://users.linuxbox.com/~drow/GXedit/%{name}%{version}.tar.gz
14 Source1:        GXedit.desktop
15 Patch0:         GXedit-config.patch
16 Patch1:         GXedit-makefile.patch
17 URL:            http://www.linuxbox.com/~drow/GXedit/
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  glib-devel >= 1.2.0
20 BuildRequires:  XFree86-devel
21 Buildroot:      /tmp/%{name}-%{version}-root
22
23 %define         _prefix /usr/X11R6
24 %define         _mandir /usr/X11R6/man
25
26 %description
27 Here is a fast, easy-to-use editor which is both network oriented and very
28 secure. GXedit is a graphical text editor which features a toolbar, network
29 bar and tooltips, spell checking, inline help, the ability to send text as
30 e-mail, macros and more. GXedit was designed to balance these and many other
31 features without becoming too bloated.
32
33 %description -l es
34 Editor de textos multifunciones que usa GTK+.
35
36 %description -l pl
37 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w sieci,
38 a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem tekstu, 
39 który dostarcza takie funkcje jak pasek narzêdziowy, sprawdzanie pisowni, 
40 mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i wiele innych.
41 GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i wielu innych funkcji 
42 nie wp³ywa³a zbytnio na objêto¶æ samego programu.
43
44 %description -l pt_BR
45 O GXedit é um editor de textos gráficos com múltiplas funções que utiliza o
46 GTK+.
47
48 %prep
49 %setup -n %{name}%{version} -q
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
55 mv -f gxedit.c.new gxedit.c
56
57 make OPTFLAGS="$RPM_OPT_FLAGS -Wall" gxe
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},/usr/X11R6/share/applnk/Editors}
62
63 make install \
64         SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
65         INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
66
67 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Editors
68
69 gzip -9nf docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps \
70         README CHANGELOG docs/DEPENDENCIES
71
72 %clean
73 rm -r $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc {docs/manual.txt,docs/manual.ps,docs/quickref.txt,docs/quickref.ps}.gz
78 %doc {README,CHANGELOG,docs/DEPENDENCIES}.gz example.gxeditrc
79
80 %attr(755,root,root) %{_bindir}/*
81
82 /usr/X11R6/share/applnk/Editors/GXedit.desktop
83 %{_datadir}/GXedit
This page took 0.06774 seconds and 4 git commands to generate.