- Update the desktop files database. (RH Bug: 135571)

This commit is contained in:
Marco Pesenti Gritti 2004-11-04 12:51:15 +00:00
parent f50e52f00c
commit 31ef7ff0e6

View File

@ -4,7 +4,7 @@
%define libgnomeui_version 2.5.0
%define libgnomeprint_version 2.7.1
%define libgnomeprintui_version 2.7.1
%define desktop_file_utils_version 0.3
%define desktop_file_utils_version 0.9
%define eel2_version 2.4.0
%define gail_version 1.2.0
%define gtksourceview_version 1.1
@ -15,7 +15,7 @@
Summary: gEdit is a small but powerful text editor for GNOME.
Name: gedit
Version: 2.8.1
Release: 1
Release: 2
Epoch: 1
License: GPL
Group: Applications/Editors
@ -25,6 +25,7 @@ BuildRoot: %{_tmppath}/gedit-%{version}-root
PreReq: scrollkeeper >= 0.1.4
PreReq: GConf2
PreReq: desktop-file-utils >= %{desktop_file_utils_version}
# Allow Escape key to close Find and Replace dialogs
Patch3: gedit-2.4.0-escapecancel.patch
@ -123,7 +124,7 @@ desktop-file-install --vendor gnome --delete-original \
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database %{_datadir}/applications
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="gedit.schemas"
@ -132,6 +133,7 @@ for S in $SCHEMAS; do
done
%postun
update-desktop-database %{_datadir}/applications
scrollkeeper-update
%files -f %{po_package}.lang
@ -159,6 +161,9 @@ scrollkeeper-update
%{_libdir}/pkgconfig/gedit-2.8.pc
%changelog
* Thu Nov 4 2004 Marco Pesenti Gritti <mpg@redhat.com> 1:2.8.1-2
- Update the desktop files database. (RH Bug: 135571)
* Mon Oct 11 2004 Dan Williams <dcbw@redhat.com> 1:2.8.1-1
- Update to 2.8.1