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 Source0: http://ftp.gnome.org/pub/gnome/sources/gedit/2.8/gedit-%{version}.tar.bz2
9 # Source0-md5: 89052aec40b7447eb11d73134d71e812
10 # Source0-size: 2520837
11 Patch0: %{name}-use_default_font.patch
12 Patch1: %{name}-po.patch
13 URL: http://gedit.sourceforge.net/
14 BuildRequires: GConf2-devel >= 2.7.92
15 BuildRequires: ORBit2-devel
16 BuildRequires: aspell-devel
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake
19 BuildRequires: eel-devel >= 2.7.92
20 BuildRequires: gnome-common >= 2.8.0
21 BuildRequires: gtksourceview-devel >= 1.1.0
22 BuildRequires: intltool >= 0.31
23 BuildRequires: libglade2-devel >= 1:2.4.0
24 BuildRequires: libgnomeprintui-devel >= 2.7.90
25 BuildRequires: libgnomeui-devel >= 2.7.92
26 BuildRequires: libtool
27 BuildRequires: popt-devel >= 1.5
28 BuildRequires: rpm-build >= 4.1-10
29 BuildRequires: scrollkeeper >= 0.3.12
30 BuildRequires: xft-devel >= 2.1.2
31 Requires(post): GConf2
32 Requires(post,postun): /sbin/ldconfig
33 Requires(post,postun): scrollkeeper
34 Requires: libgnomeprintui >= 2.7.90
35 Obsoletes: gedit-devel
36 Obsoletes: gedit-plugins < 2.3.3-2
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
41 includes such features as split-screen mode, a plugin API, which
42 allows gEdit to be extended to support many features while remaining
43 small at its core, multiple document editing and many more functions.
46 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
47 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
48 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
49 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
50 dokumentów naraz i wiele innych.
53 Summary: gEdit header files
54 Summary(pl): pliki nag³ówkowe gEdit
55 Group: X11/Development/Libraries
56 Requires: %{name} = %{version}-%{release}
57 Requires: eel-devel >= 2.7.92
58 Requires: gtksourceview-devel >= 1.1.0
59 Requires: libglade2-devel >= 1:2.4.0
60 Requires: libgnomeprintui-devel >= 2.7.90
61 Requires: libgnomeui-devel >= 2.7.92
66 %description devel -l pl
67 Pliki nag³ówkowe gEdit.
70 %setup -q -n gedit-%{version}
76 intltoolize --copy --force
81 --disable-schemas-install
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT \
90 omf_dest_dir=%{_omf_dest_dir}/%{name} \
91 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
93 # Remove obsoleted *.la files
94 rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la
95 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
97 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
99 %find_lang %{name} --with-gnome --all-name
102 rm -rf $RPM_BUILD_ROOT
107 %gconf_schema_install
109 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
115 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc README ChangeLog TODO AUTHORS THANKS
120 %{_sysconfdir}/gconf/schemas/*
121 %attr(755,root,root) %{_bindir}/*
122 %dir %{_libdir}/gedit-2
123 %dir %{_libdir}/gedit-2/plugins
124 %attr(755,root,root) %{_libdir}/bonobo/libgedit-control.so
125 %attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*
126 %{_libdir}/gedit-2/plugins/*.gedit-plugin
127 %{_libdir}/bonobo/servers/*
129 %{_datadir}/application-registry/*
132 %{_datadir}/gnome-2.0/ui/*
133 %{_datadir}/mime-info/*
135 %{_omf_dest_dir}/%{name}
139 %defattr(644,root,root,755)
140 %{_includedir}/gedit-*
141 %{_pkgconfigdir}/gedit-*.pc