]> git.pld-linux.org Git - packages/GXedit.git/blob - GXedit.spec
fc5f14a8cece9074e71f7816fe0e9c846e7f573c
[packages/GXedit.git] / GXedit.spec
1 Summary:        A multi-function text editor using GTK+
2 Summary(es):    Editor multifuncional de textos 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:        14
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 pl
30 Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w
31 sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
32 tekstu, który dostarcza takich funkcji jak pasek narzêdzi, sprawdzanie
33 pisowni, mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i
34 wiele innych. GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i
35 wielu innych funkcji nie wp³ywa³a zbytnio na objêto¶æ samego programu.
36
37 %description -l pt_BR
38 O GXedit é um editor de textos gráficos com múltiplas funções que
39 utiliza o GTK+.
40
41 %prep
42 %setup -n %{name}%{version} -q
43 %patch0 -p1
44 %patch1 -p1
45 %patch2 -p1
46 %patch3 -p1
47
48 %build
49 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
50 mv -f gxedit.c.new gxedit.c
51
52 %{__make} OPTFLAGS="%{rpmcflags} -Wall" gxe
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
57
58 %{__make} install \
59         SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
60         INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63
64 %clean
65 rm -r $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps
70 %doc README CHANGELOG docs/DEPENDENCIES example.gxeditrc
71
72 %attr(755,root,root) %{_bindir}/*
73
74 %{_desktopdir}/GXedit.desktop
75 %{_datadir}/GXedit
This page took 0.039818 seconds and 2 git commands to generate.