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: 091b399294b8f5f9598da00c05868e23
10 Patch0: %{name}-use_default_font.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://gedit.sourceforge.net/
13 BuildRequires: GConf2-devel >= 2.7.92
14 BuildRequires: ORBit2-devel
15 BuildRequires: aspell-devel
16 BuildRequires: autoconf >= 2.52
17 BuildRequires: automake
18 BuildRequires: eel-devel >= 2.7.92
19 BuildRequires: gnome-common >= 2.8.0-2
20 BuildRequires: gtksourceview-devel >= 1.1.0
21 BuildRequires: intltool >= 0.31
22 BuildRequires: libglade2-devel >= 1:2.4.0
23 BuildRequires: libgnomeprintui-devel >= 2.7.90
24 BuildRequires: libgnomeui-devel >= 2.7.92
25 BuildRequires: libtool
26 BuildRequires: popt-devel >= 1.5
27 BuildRequires: rpm-build >= 4.1-10
28 BuildRequires: scrollkeeper >= 0.3.12
29 BuildRequires: xft-devel >= 2.1.2
30 Requires(post): GConf2
31 Requires(post,postun): /sbin/ldconfig
32 Requires(post,postun): scrollkeeper
33 Requires: libgnomeprintui >= 2.7.90
34 Obsoletes: gedit-devel
35 Obsoletes: gedit-plugins < 2.3.3-2
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
40 includes such features as split-screen mode, a plugin API, which
41 allows gEdit to be extended to support many features while remaining
42 small at its core, multiple document editing and many more functions.
45 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
46 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
47 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
48 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
49 dokumentów naraz i wiele innych.
52 Summary: gEdit header files
53 Summary(pl): pliki nag³ówkowe gEdit
54 Group: X11/Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: eel-devel >= 2.7.92
57 Requires: gtksourceview-devel >= 1.1.0
58 Requires: libglade2-devel >= 1:2.4.0
59 Requires: libgnomeprintui-devel >= 2.7.90
60 Requires: libgnomeui-devel >= 2.7.92
65 %description devel -l pl
66 Pliki nag³ówkowe gEdit.
69 %setup -q -n gedit-%{version}
74 cp /usr/share/gnome-common/data/omf.make .
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