auto-import gedit-2.0.2-5 from gedit-2.0.2-5.src.rpm

This commit is contained in:
cvsdist 2004-09-09 05:05:28 +00:00
parent 4368fb3f0c
commit e44d4e2456

View File

@ -2,7 +2,7 @@
%define pango_version 1.0.99
%define gtk2_version 2.0.5
%define libgnomeui_version 2.0.0
%define libgnomeprint_version 1.116.0
%define libgnomeprint_version 1.115.0
%define libgnomeprintui_version 1.115.0
%define desktop_file_utils_version 0.2.90
%define gail_version 0.17-2
@ -12,12 +12,11 @@
Summary: gEdit is a small but powerful text editor for GNOME.
Name: gedit
Version: 2.0.2
Release: 4
Release: 5
Epoch: 1
License: GPL
Group: Applications/Editors
Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gedit/gedit-%{version}.tar.bz2
Source2: zh_CN.po
URL: http://gedit.sourceforge.net/
BuildRoot: %{_tmppath}/gedit-%{version}-root
@ -33,6 +32,10 @@ BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
BuildRequires: gail-devel >= %{gail_version}
# Fixes encoding problem for "Untitled" on Save As...
# (bugzilla.gnome.org #90879)
Patch1: gedit-2.0.2-untitled.patch
%description
gEdit is a small but powerful text editor designed specifically for
the GNOME GUI desktop. gEdit includes a plug-in API (which supports
@ -54,9 +57,7 @@ Install gedit-devel if you want to write plug-ins for gEdit.
%prep
%setup -n gedit-%{version} -q
## replace zh_CN translation with newer one from CVS
cp -f %{SOURCE2} po/zh_CN.po
%patch1 -p1 -b .untitled
%build
@ -101,20 +102,23 @@ scrollkeeper-update
%files -f %{po_package}.lang
%defattr(-, root, root)
%doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL THANKS FAQ
%doc README COPYING ChangeLog TODO AUTHORS THANKS
%{_datadir}/gedit-2
%{_datadir}/pixmaps
%{_datadir}/gnome
%{_datadir}/idl
%{_datadir}/omf
%{_datadir}/applications
%{_mandir}/man1/*
%{_libdir}/bonobo
%{_libdir}/gedit-2
%{_bindir}/*
%{_sysconfdir}/gconf/schemas/*
%changelog
* Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
- some updates to zh_CN translation
- require newer libgnomeprint
* Thu Aug 15 2002 Owen Taylor <otaylor@redhat.com>
- Add missing bonobo server files (#71261, Taco Witte)
- Remove empty NEWS, FAQ files from %%doc (#66079)
* Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
- fix desktop file really