OBS User unknown
2009-02-06 22:37:25 +00:00
committed by Git OBS Bridge
parent e5da78e90e
commit 727adb682d
5 changed files with 120 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package gedit (Version 2.24.0)
# spec file for package gedit (Version 2.25.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,11 @@
Name: gedit
BuildRequires: aspell-devel
BuildRequires: docbook_4
BuildRequires: enchant-devel
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gconf2-devel
BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel
BuildRequires: gnome-patch-translation
@@ -34,11 +34,6 @@ BuildRequires: gtksourceview-devel
BuildRequires: indent
BuildRequires: intltool
BuildRequires: iso-codes-devel
BuildRequires: libglade2-devel
BuildRequires: libgnomeprintui-devel
BuildRequires: libidl-devel
BuildRequires: notification-daemon
BuildRequires: perl-XML-Parser
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-gobject2-devel
@@ -48,16 +43,16 @@ BuildRequires: scrollkeeper
BuildRequires: update-desktop-files
License: GPL v2 or later
Group: Productivity/Editors/Other
Version: 2.24.0
Release: 2
Version: 2.25.5
Release: 1
Summary: The Editor for the GNOME 2.x Desktop
Source: ftp://ftp.gnome.org/pub/gnome/sources/gedit/2.10/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gedit-desktop.patch -- adds more MIME types and change icon
Patch0: gedit-desktop.patch
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: gedit2
Obsoletes: gedit2
# PATCH-FIX-OPENSUSE gedit-desktop.patch -- adds more MIME types and changes Comment to GenericName
Patch2: gedit-desktop.patch
Requires: gnome-python-desktop python-gnome python-gobject2 python-gtk python-gtksourceview python-xml
Requires: %{name}-lang = %{version}
Provides: %{name}-devel = %{version}-%{release}
@@ -112,12 +107,10 @@ Authors:
%prep
%setup -q
#gnome-patch-translation-prepare
%patch2 -p1
%patch0 -p0
#gnome-patch-translation-update
%build
# FIXME: Build as root modifies system!
# gedit-2.16.1: --disable-scrollkeeper does not work properly.
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
--disable-scrollkeeper \
@@ -126,11 +119,6 @@ make %{?jobs:-j%jobs}
%install
%makeinstall
# FIXME: Build as root modifies system!
# gedit-2.16.1: --disable-scrollkeeper does not work properly.
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps/
ln -s ../icons/gnome/scalable/apps/accessories-text-editor.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/text-editor.svg
%suse_update_desktop_file -N gedit -G "Text Editor" gedit TextEditor
%find_lang %{name}
%find_gconf_schemas
@@ -154,11 +142,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/*.desktop
%{_datadir}/gedit-2
%{_datadir}/omf/gedit
%{_datadir}/pixmaps/*.svg
%{_libdir}/gedit-2
%doc %{_mandir}/man1/gedit*
%files lang -f %{name}.lang
%if %suse_version <= 1110
# exclude locales which don't exist on old versions of openSUSE
%exclude %{_datadir}/locale/la/LC_MESSAGES/*
%endif
%files devel
%defattr(-, root, root)
@@ -170,6 +161,47 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/gedit
%changelog
* Sat Jan 31 2009 mboman@suse.de
- Update to version 2.25.5:
+ Add Fullscreen Mode
+ Add a configuration dialog for the python console
+ Rescan plugins when opening the preference dialog
+ Misc bugfixes
+ Translation updates
- Remove gedit-return-fix.patch. Fixed upstream
* Mon Jan 26 2009 vuntz@novell.com
- On openSUSE <= 11.1, exclude locales unknown to the system.
* Fri Jan 23 2009 vuntz@novell.com
- Update gedit-desktop.patch to not uselessly change the icon.
- Remove some old BuildRequires.
- Minor cleanups.
* Tue Jan 06 2009 mboman@suse.de
- Update to version 2.25.4:
+ Add quick syntax highlightig and tab width selection in the statusbar
+ More work on the internal bus system
+ Bugfixes and features for the snippets plugin
+ Parse syntax highlighting language from modelines
+ Misc bugfixes
+ Translation updates
* Wed Dec 31 2008 mboman@suse.de
- Update to version 2.25.3:
+ Win32 port with installer
+ Internal bus system to allow plugin intercomminication
+ Use GtkSourceView to detect language highlighting
+ Misc bugfixes
+ Translation updates
- Added gedit-return-fix.patch to fix a missing return.
* Sun Dec 28 2008 mboman@suse.de
- Update to version 2.25.2:
+ Fixes to the new plugin system
+ Rework the plugin system to have loaders as shared objects
+ Fix build on OSX
+ Fix icon lookup in the filebrowser plugin
+ Allow to move to a line relative to the current line
+ Misc bugfixes
+ Fix performance problem with large dirs in the filebrowser
plugin
+ Translation updates
* Mon Nov 03 2008 maw@suse.de
- Build with python support again (bnc#439456).
* Thu Oct 02 2008 mboman@suse.de