]>
Commit | Line | Data |
---|---|---|
83345c02 | 1 | Summary: A multi-function text editor using GTK+ |
f8074240 JR |
2 | Summary(es.UTF-8): Editor multifuncional de textos que usa GTK+ |
3 | Summary(pl.UTF-8): Wielofunkcyjny edytor tekstu wykorzystujący GTK+ | |
4 | Summary(pt.UTF-8): Editor de textos multifunção que usa o GTK+ | |
8743134e | 5 | Name: GXedit |
6 | Version: 1.23 | |
f07e72fb | 7 | Release: 14 |
942d1c48 | 8 | License: GPL |
8743134e | 9 | Group: X11/Applications/Editors |
aae8e05e JB |
10 | # working: ftp://ibiblio.org/pub/Linux/apps/editors/X/%{name}-%{version}.tar.gz |
11 | Source0: %{name}%{version}.tar.gz | |
1b0ee616 | 12 | # Source0-md5: afbd834a2fbb73b598e600f23655c13d |
942d1c48 | 13 | Source1: %{name}.desktop |
14 | Patch0: %{name}-config.patch | |
15 | Patch1: %{name}-makefile.patch | |
16 | Patch2: %{name}-nobash.patch | |
17 | Patch3: %{name}-time.patch | |
70326351 | 18 | BuildRequires: gtk+-devel >= 1.2.0 |
989c1e20 | 19 | BuildRequires: sed >= 4.0 |
eab58c9a | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4fc95932 | 21 | |
22 | %description | |
83345c02 | 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. | |
4fc95932 | 28 | |
f8074240 JR |
29 | %description -l pl.UTF-8 |
30 | Oto szybki, łatwy w obsłudze edytor, który jest nastawiony na pracę w | |
83345c02 | 31 | sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem |
f8074240 JR |
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. | |
4fc95932 | 36 | |
f8074240 JR |
37 | %description -l pt_BR.UTF-8 |
38 | O GXedit é um editor de textos gráficos com múltiplas funções que | |
83345c02 | 39 | utiliza o GTK+. |
8b3d192a | 40 | |
4fc95932 | 41 | %prep |
8743134e | 42 | %setup -n %{name}%{version} -q |
43 | %patch0 -p1 | |
44 | %patch1 -p1 | |
dc5b319c | 45 | %patch2 -p1 |
942d1c48 | 46 | %patch3 -p1 |
989c1e20 | 47 | %{__sed} -i -e s^%{_prefix}/doc/GXedit/^%{_docdir}/%{name}-%{version}/^g gxedit.c |
4fc95932 | 48 | |
8743134e | 49 | %build |
fbe84a93 | 50 | %{__make} OPTFLAGS="%{rpmcflags} -Wall" gxe |
4fc95932 | 51 | |
52 | %install | |
8743134e | 53 | rm -rf $RPM_BUILD_ROOT |
120ad38a | 54 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} |
4fc95932 | 55 | |
a05d9b6c | 56 | %{__make} install \ |
8114a71c JR |
57 | SHARE=$RPM_BUILD_ROOT%{_datadir}/ \ |
58 | INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/ | |
4fc95932 | 59 | |
120ad38a | 60 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
4fc95932 | 61 | |
4fc95932 | 62 | %clean |
63 | rm -r $RPM_BUILD_ROOT | |
8743134e | 64 | |
65 | %files | |
66 | %defattr(644,root,root,755) | |
86d49848 | 67 | %doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps |
68 | %doc README CHANGELOG docs/DEPENDENCIES example.gxeditrc | |
b7eb5ea2 | 69 | %attr(755,root,root) %{_bindir}/* |
120ad38a | 70 | %{_desktopdir}/GXedit.desktop |
b7eb5ea2 | 71 | %{_datadir}/GXedit |