]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
- release 9.
[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):    Editor de textos multifunção que usa o GTK+
5 Name:           GXedit
6 Version:        1.23
7 Release:        9
8 Group:          X11/Applications/Editors
9 Group(es):      X11/Aplicaciones/Editores
10 Group(pl):      X11/Aplikacje/Edytory
11 Group(pt):      X11/Aplicações/Editores
12 License:        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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 Here is a fast, easy-to-use editor which is both network oriented and
27 very secure. GXedit is a graphical text editor which features a
28 toolbar, network bar and tooltips, spell checking, inline help, the
29 ability to send text as e-mail, macros and more. GXedit was designed
30 to balance these and many other features without becoming too bloated.
31
32 %description -l es
33 Editor de textos multifunciones que usa GTK+.
34
35 %description -l pl
36 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w
37 sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
38 tekstu, który dostarcza takich funkcji jak pasek narzêdzi, sprawdzanie
39 pisowni, mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i
40 wiele innych. GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i
41 wielu innych funkcji nie wp³ywa³a zbytnio na objêto¶æ samego programu.
42
43 %description -l pt_BR
44 O GXedit é um editor de textos gráficos com múltiplas funções que
45 utiliza o GTK+.
46
47 %prep
48 %setup -n %{name}%{version} -q
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -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},%{_applnkdir}/Office/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%{_applnkdir}/Office/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 %{_applnkdir}/Office/Editors/GXedit.desktop
83 %{_datadir}/GXedit
This page took 0.062767 seconds and 3 git commands to generate.