]>
Commit | Line | Data |
---|---|---|
1 | Summary: A multi-function text editor using GTK+ | |
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+ | |
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 | BuildRequires: sed >= 4.0 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
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.UTF-8 | |
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.UTF-8 | |
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 | %{__sed} -i -e s^%{_prefix}/doc/GXedit/^%{_docdir}/%{name}-%{version}/^g gxedit.c | |
48 | ||
49 | %build | |
50 | %{__make} OPTFLAGS="%{rpmcflags} -Wall" gxe | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} | |
55 | ||
56 | %{__make} install \ | |
57 | SHARE=$RPM_BUILD_ROOT%{_datadir}/ \ | |
58 | INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/ | |
59 | ||
60 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps | |
68 | %doc README CHANGELOG docs/DEPENDENCIES example.gxeditrc | |
69 | %attr(755,root,root) %{_bindir}/* | |
70 | %{_desktopdir}/GXedit.desktop | |
71 | %{_datadir}/GXedit |