]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
6c798df76f5292fce7d389753414d946fab64b20
[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 Group(de):      X11/Applikationen/Editors
11 Group(es):      X11/Aplicaciones/Editores
12 Group(pl):      X11/Aplikacje/Edytory
13 Group(pt):      X11/Aplicações/Editores
14 Source0:        http://users.linuxbox.com/~drow/GXedit/%{name}%{version}.tar.gz
15 Source1:        %{name}.desktop
16 Patch0:         %{name}-config.patch
17 Patch1:         %{name}-makefile.patch
18 Patch2:         %{name}-nobash.patch
19 Patch3:         %{name}-time.patch
20 URL:            http://www.linuxbox.com/~drow/GXedit/
21 BuildRequires:  gtk+-devel >= 1.2.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28 Here is a fast, easy-to-use editor which is both network oriented and
29 very secure. GXedit is a graphical text editor which features a
30 toolbar, network bar and tooltips, spell checking, inline help, the
31 ability to send text as e-mail, macros and more. GXedit was designed
32 to balance these and many other features without becoming too bloated.
33
34 %description -l es
35 Editor de textos multifunciones que usa GTK+.
36
37 %description -l pl
38 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w
39 sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
40 tekstu, który dostarcza takich funkcji jak pasek narzêdzi, sprawdzanie
41 pisowni, mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i
42 wiele innych. GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i
43 wielu innych funkcji nie wp³ywa³a zbytnio na objêto¶æ samego programu.
44
45 %description -l pt_BR
46 O GXedit é um editor de textos gráficos com múltiplas funções que
47 utiliza o GTK+.
48
49 %prep
50 %setup -n %{name}%{version} -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -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="%{rpmcflags} -Wall" gxe
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Office/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}/Office/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}/Office/Editors/GXedit.desktop
86 %{_datadir}/GXedit
This page took 0.073112 seconds and 2 git commands to generate.