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