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(pl): X11/Aplikacje/Edytory
9 Source: http://gedit.pn.org/%{name}-%{version}.tar.gz
10 Patch0: gedit-desktop.patch
11 Patch1: gedit-DESTDIR.patch
12 Patch2: gedit-dcl.patch
13 Patch3: gedit-plugins.patch
14 URL: http://gedit.pn.org
15 BuildRequires: gtk+-devel >= 1.2.0
16 BuildRequires: glib-devel >= 1.2.0
17 BuildRequires: imlib-devel
18 BuildRequires: zlib-devel
19 BuildRequires: XFree86-devel
20 BuildRequires: gnome-libs-devel
22 BuildRoot: /tmp/%{name}-%{version}-root
24 %define _prefix /usr/X11R6
25 %define _mandir %{_prefix}/man
28 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
29 It 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.
41 Summary: Develop plugins for the gEdit editor
42 Summary(pl): Biblioteki umo¿liwiaj±ce pisanie wtyczek dla gEdit
43 Group: Development/Libraries
44 Group(pl): Programowanie/Biblioteki
45 Requires: %{name} = %{version}
48 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
49 This package allows you to develop plugins that work within
50 gEdit. Plugins can create new documents and manipulate documents
53 %description devel -l pl
54 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
55 Ten pakiet zawiera biblioteki umo¿liwiaj±ce pisanie "wtyczek" dla gEdita.
56 "Wtyczki" mog± tworzyæ nowe dokumenty i manipulowaæ nimi na wiele róznych
67 LDFLAGS="-s" ; export LDFLAGS
73 rm -rf $RPM_BUILD_ROOT
75 make install-strip DESTDIR=$RPM_BUILD_ROOT
77 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/gedit.1 \
78 FAQ README README.plugins ChangeLog TODO AUTHORS THANKS KNOWNBUGS
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc {FAQ,README,ChangeLog,TODO,AUTHORS,THANKS,README.plugins,KNOWNBUGS}.gz
88 %attr(755,root,root) %{_bindir}/gedit
90 %{_datadir}/applnk/Editors/gedit.desktop
92 %dir %{_datadir}/gnome/help/gedit
93 %{_datadir}/gnome/help/gedit/C
94 %lang(no) %{_datadir}/gnome/help/gedit/no
97 %{_datadir}/mime-info/*
99 %{_mandir}/man1/gedit.1.gz
102 %defattr(644,root,root,755)
103 %dir %{_includedir}/gedit
104 %{_includedir}/gedit/client.h
105 %{_libdir}/libclient.a