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