1 Summary: gEdit - small but powerful text editor for X Window
2 Summary(pl): gEdit - ma³y ale potê¿ny edytor tekstu dla X Window
7 Group: X11/Applications/Editors
8 Group(de): X11/Applikationen/Editors
9 Group(pl): X11/Aplikacje/Edytory
10 Group(pt): X11/Aplicações/Editores
11 Source0: ftp://download.sourceforge.net/pub/sourceforge/gedit/%{name}-%{version}.tar.gz
12 URL: http://gedit.sourceforge.net/
13 BuildRequires: gtk+-devel >= 1.2.7
14 BuildRequires: imlib-devel
15 BuildRequires: zlib-devel
16 BuildRequires: gnome-libs-devel > 1.0.55
17 BuildRequires: gnome-print-devel >= 0.18
18 BuildRequires: libglade-devel >= 0.11
19 BuildRequires: gettext-devel
21 Obsoletes: gedit-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _prefix /usr/X11R6
25 %define _mandir %{_prefix}/man
28 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
29 includes such features as split-screen mode, a plugin API, which
30 allows gEdit to be extended to support many features while remaining
31 small at its core, multiple document editing and many more functions.
34 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
35 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
36 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
37 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
38 dokumentów naraz i wiele innych.
44 gettextize --copy --force
48 %{__make} gtkrcdir=%{_datadir}/misc
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT \
55 sysdir=%{_applnkdir}/Office/Editors
57 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
58 FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
60 %find_lang %{name} --with-gnome
63 rm -rf $RPM_BUILD_ROOT
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/gedit
70 %{_datadir}/mime-info/*
71 %{_applnkdir}/Office/Editors/gedit.desktop