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