# # spec file for package gedit (Version 2.26.2) # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gedit BuildRequires: enchant-devel BuildRequires: fdupes BuildRequires: gettext BuildRequires: gconf2-devel BuildRequires: gnome-doc-utils-devel BuildRequires: gtk-doc BuildRequires: gtksourceview-devel BuildRequires: intltool BuildRequires: iso-codes-devel BuildRequires: python BuildRequires: python-devel BuildRequires: python-gobject2-devel BuildRequires: python-gtk-devel BuildRequires: python-gtksourceview-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files License: GPL v2 or later Group: Productivity/Editors/Other Version: 2.26.2 Release: 1 Summary: The Editor for the GNOME 2.x Desktop Source: ftp://ftp.gnome.org/pub/gnome/sources/gedit/2.25/%{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 Requires: python-gnome python-gobject2 python-gtk python-gtksourceview Requires: %{name}-lang = %{version} %gconf_schemas_prereq %description Gedit is a small, fast, and reliable editor for the GNOME 2.x Desktop. Authors: -------- Chema Celorio Paolo Maggi %package devel License: GPL v2 or later Summary: The Editor for the GNOME 2.x Desktop Group: Productivity/Editors/Other Provides: gedit2-devel Obsoletes: gedit2-devel Requires: %{name} = %{version} Requires: libgnomeui-devel libglade2-devel libgnomeprintui-devel gtksourceview-devel %description devel Gedit is a small, fast, and reliable editor for the GNOME 2.x Desktop. Authors: -------- Chema Celorio Paolo Maggi %package doc License: GPL v2 or later Summary: Additional documentation of the Editor for the GNOME 2.x Desktop Group: Productivity/Editors/Other Requires: gtk-doc %description doc This package contains additional documenation for Gedit (a small, fast, and reliable editor for the GNOME 2.x Desktop). Authors: -------- Chema Celorio Paolo Maggi %lang_package %prep %setup -q translation-update-upstream %patch0 -p0 %build %configure \ --disable-scrollkeeper \ --enable-python make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file -N gedit -G "Text Editor" gedit TextEditor %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.lst %defattr(-, root, root) %doc AUTHORS BUGS ChangeLog COPYING MAINTAINERS NEWS README %{_bindir}/gedit %{_bindir}/gnome-text-editor %{_datadir}/applications/*.desktop %{_datadir}/gedit-2 %{_datadir}/omf/gedit %{_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) %{_includedir}/* %{_libdir}/pkgconfig/*.pc %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/gedit %changelog * Mon May 18 2009 vuntz@novell.com - Update to version 2.26.2: + Misc bugfixes + Updated translations. - Stop having the main package provide the existing devel package. - Make the devel package require the main package. * Tue Apr 14 2009 vuntz@novell.com - Update to version 2.26.1: + Ensure plugins are resident modules + Add Fortran 95 snippets + Misc bugfixes + Updated translations. * Mon Mar 16 2009 sbrabec@suse.cz - Added support for translation-update-upstream (FATE#301344). * Sun Mar 15 2009 vuntz@novell.com - Update to version 2.26.0: + Misc bugfixes + Translation updates * Fri Mar 06 2009 vuntz@novell.com - Update to version 2.25.8: + Misc bugfixes + Translation updates - Remove -fno-strict-aliasing from CFLAGS. * Tue Feb 17 2009 vuntz@novell.com - Update to version 2.25.7: + Misc bugfixes + Translation updates - Remove BuildRequires: docbook_4, gnome-common, gnutls-devel, indent, scrollkeeper * Thu Feb 05 2009 vuntz@novell.com - Remove gnome-python-desktop BuildRequires/Requires. - Remove python-xml Requires. - Update Url. * Thu Feb 05 2009 lmedinas@gmail.com - Update to version 2.25.6: + Misc bugfixes + Translation updates * 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. * Mon Dec 29 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). * Fri Oct 03 2008 mboman@suse.de - Update to version 2.24.0: + Translation updates * Wed Sep 17 2008 vuntz@novell.com - Update to version 2.23.93: + Revert a workaround for a gvfs bug that has now been fixed + Updated translations * Fri Sep 12 2008 maw@suse.de - Update to version 2.23.92: + Bugfixes related to the GIO migration + Updated translations. * Tue Sep 02 2008 mboman@novell.com - Update to version 2.23.91: + Misc bugfixes + Updated translations. * Fri Aug 29 2008 maw@suse.de - Update to version 2.23.90: + Misc bugfixes related to the GIO migration + Updated translations. * Fri Aug 15 2008 maw@suse.de - Remove spurious requirements from the -doc subpackage. * Tue Jul 01 2008 maw@suse.de - Fix up icon symlinks. * Sat Jun 21 2008 maw@suse.de - Update to version 2.23.1: + The filebrowser plugin now users gio/gvfs + Initial work on porting gedit's internals to gio/gvfs + Python plugin core reworking + Updated translations. * Thu May 08 2008 rodrigo@suse.de - Tag patches * Fri Apr 25 2008 maw@suse.de - Require python-gtksourceview (bnc#337396). * Thu Apr 10 2008 maw@suse.de - Update to version 2.22.1: + Make C-d delete the current line + Misc. bugfixes + Updated translations. * Fri Mar 14 2008 maw@suse.de - Update to version 2.22.0: + Misc bugfixes + Updated translations. * Thu Mar 13 2008 sbrabec@suse.cz - Removed obsolete docinfo activation patch, now part of /apps/gedit-2/plugins/active-plugins. * Wed Mar 05 2008 maw@suse.de - Update to version 2.21.2: + Misc bugfixes + Updated translations. * Fri Feb 01 2008 maw@suse.de - Update to version 2.21.1: + Reimplemented printing using GtkPrint + Improvements to the plugin system + Handle viewports as well as workspaces + Updated translations. * Fri Jan 25 2008 maw@suse.de - Update to version 2.20.4: + Fix crash with invalid taglist file in taglist plugin + Fix slash-escaping in the find dialog history + Support .hidden file in the file browser plugin + Bugfixes to the snippet plugin + Fix tools loading in External Tools plugin + Fix crash when gtksourceview doesn't find any highlighting file + Properly preserve file permissions and ownership when saving + Properly detect the current display viewport, so that launching logic works properly on Compiz + Misc bugfixes + Updated translations. * Thu Oct 11 2007 sbrabec@suse.cz - Removed bogus dependency on mDNSResponder. * Mon Sep 17 2007 maw@suse.de - Update to version 2.20.0: + Updated translations - This release requires gtksourceview 2.0. * Fri Aug 31 2007 maw@suse.de - Update to version 2.19.91: - Escape slashes when selecting text to search (Paolo Maggi) - Support indent-width setting in modeline (Paolo Borelli) - Adapt to the latest GtkSourceView changes (Paolo M., Paolo B.) - User Interface to install and uninstall style schemes (Paolo Maggi) - Make search match color customizable in the style scheme (Paolo M.) - Tooltips on the document list and tag list (Alexandre Mazari) - Misc bugfixes - Updated translations. * Tue Aug 07 2007 maw@suse.de - Use %%fdupes - Split off a -lang subpackage. * Thu Aug 02 2007 maw@suse.de - Update to version 2.19.3: + Port to gtksourceview 2 + Remove Syntax Highlighting configuration from the preference dialog + Many improvements and fixes to the snippets plugin + Add a Document::save signal to notify the start of the saving operation + Adapt to latest GtkSourceView API changes + Add a gconf preference for smart-home-end + Fix external tool saving bug + Fixes weird focus behavior in the search/replace dialog + Make Ctrl+P work while print-previewing + Improve 'Build' external tool + Avoid having an always-running timeout, uses power + Don't fail when we cannot change rights on the backup file if it was not needed + Misc bugfixes + Updated translations - Use %%fdupes. * Tue Jul 10 2007 maw@suse.de - Update to version 2.18.1 - Compress the tags plugin data - Fix reversion of empty files, and other misc. bug files - Updated translations. * Thu May 10 2007 pgajdos@suse.cz - removed - gnome-icon-theme and - hicolor-icon-theme from Requires and BuildRequires [#247450] * Fri Apr 27 2007 sbrabec@suse.cz - Do not call meinproc (#227624). * Tue Apr 03 2007 maw@suse.de - Use a valid Icon directive in gedit.desktop.in.in. * Mon Apr 02 2007 maw@suse.de - Update to version 2.18.0 - Fix .desktop files - b.g.o 413030, 412627, 407374, 407536, 354046, 403140, 401219, 346598, 398343, 319950, 352959, 357529, and 371188 - Remove upstreamed gedit-autodetect-utf-16.patch - Buildrequire notification-daemon. * Mon Mar 12 2007 jhargadon@suse.de - added gtk-doc to BuildRequires * Wed Jan 17 2007 sbrabec@suse.cz - Removed obsolete scrollkeeper directory (#230786). * Wed Jan 03 2007 sbrabec@suse.cz - Prefix changed to /usr. - Spec file cleanup. * Tue Nov 14 2006 jhargadon@suse.de - made changes to the BuildRequires and Requires to enable python plugins. defect #220820 * Fri Oct 13 2006 danw@suse.de - Remove dead patches. Update and reenable gedit-autodetect-utf-16.patch - Update for gnome-doc-utils-devel * Tue Oct 03 2006 jhargadon@suse.de - update to version 2.16.1 - Remember the active page in the side and bottom panes - Fix spinner with some themes - Some fixes to the file saving code - Filebrowser plugin fixes - translation updates * Thu Sep 14 2006 jhargadon@suse.de - update to version 2.16.0 - Filebrowser plugin fixes - Manual now covers basic usage of the file browser plugin - New and updated translations - Use proper preference when a modeline is changed - Ensure correct lifecycle of objects in python plugins - Proper error handling for remote file save - Improve save on close for read-only files - Handle remote zero length files correctly - Make sure the document is editable after printing - Consider the mime-type hierarchy to choose the syntax highlighting - Initialize gnome authentication manager before plugins - Misc improvements and bugfixes * Wed Aug 30 2006 jhargadon@suse.de - update to version 2.15.8 - Update documentation - Drop executable permissions from backup files - Support for UTF-16LE, UTF-16BE and UTF-32 - Fix translations of some plugins - Plug some memory leaks - Fix another crash in GtkRecents code - Misc improvements and bugfixes - New and updated translations - Preserve xattrs when saving - Fix autospell menu item state - Fix crash in GtkRecents code - Misc improvements and bugfixes * Tue Aug 22 2006 jhargadon@suse.de - update to version 2.15.6 - Use GtkRecent for recent files support - Raise the existing document when reopening a file - File browser plugin bugfixes - Misc improvements and bugfixes * Thu Aug 10 2006 jhargadon@suse.de - update to version 2.15.4 - Bindings for gedit_commands_* API for plugins - Small snippets bugfixes - Small fixes to the search/replace dialog/menu - Fix cropped close buttons - Added global lockdown functionality - New gedit_commands_* API for plugins - Snippets support for space indentation - gtk-doc enabled Plugin API documentation - Next/Previous menu items - C/Python plugin skeleton generator - Snippets plugin enhancements and fixes - Fix Spellchecker to work with Arabic - New layout for Plugin Manager - Add support for custom plugin icons - Snippets plugin enhancements and fixes - Python bindings: gedit.utils functions and API cleanup - Improve plugin selection UI - Improvements and bugfixes to the snippets plugin - do not open a new GdkDisplay for every window - Fix launching on multihead systems - Snippets plugin improvements - Fix the python console history - Fix vim and kate modelines parsing - Fix the spell checking plugin - Make the tags plugin load files lazily to improve startup time * Thu Jun 29 2006 sbrabec@suse.cz - Fixed Norwegian translation update (#116777#12). * Mon Jun 26 2006 sbrabec@suse.cz - Fixed false UTF-16 detection. * Thu Jun 15 2006 dave@suse.de - Fix a problem with the save backport (bnc #181897) * Wed May 17 2006 dave@suse.de - Backport some gnome-vfs saving code from 2.14 (bnc #168187) * Tue May 09 2006 danw@suse.de - Don't crash if one of the recently-used files has an unparsable URL. #173887 * Fri Apr 07 2006 sbrabec@suse.cz - Declare MIME support for more plain text formats to compete with Emacs. * Thu Apr 06 2006 joeshaw@suse.de - Add a patch to autodetect UTF-16. (bnc #116777) * Tue Feb 28 2006 sbrabec@suse.cz - Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14). * Fri Feb 17 2006 sreeves@suse.de - Update .desktop file (Name, GenericName, Comment, DocPath) * Wed Feb 01 2006 sbrabec@suse.cz - Use translation compendium gnome-patch-translation. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Dec 19 2005 ro@suse.de - added gnome-text-editor symlink to filelist * Thu Oct 13 2005 gekker@suse.de - Update to version 2.12.1 * Mon Sep 05 2005 mmj@suse.de - Update to version 2.12.0 (GNOME 2.12) * Tue Aug 23 2005 gekker@suse.de - Update to version 2.11.92 * Fri Aug 19 2005 sreeves@suse.de - gedit-goto-line.patch to fix bugzilla.novell.com defect#6582 * Thu Aug 11 2005 gekker@suse.de - Update to version 2.11.91 * Mon Jun 13 2005 sbrabec@suse.cz - Updated to version 2.10.3 (#90339, CAN-2005-1686). - Build spell plugin. * Thu Apr 14 2005 sbrabec@suse.cz - Added audiofile-devel to neededforbuild. * Thu Mar 10 2005 gekker@suse.de - Update to version 2.10.0 (GNOME 2.10). * Thu Mar 03 2005 gekker@suse.de - Update to version 2.9.7 - Add gedit-desktop.patch - Add gnome-icon-theme to neededforbuild * Fri Feb 11 2005 gekker@suse.de - Update to version 2.9.6 * Tue Feb 08 2005 ro@suse.de - added gnome-desktop to neededforbuild * Mon Feb 07 2005 ro@suse.de - added gnome-menus to neededforbuild * Wed Jan 26 2005 clahey@suse.de - Update to version 2.9.5 * Fri Jan 21 2005 gekker@suse.de - Use Rudi's improved 64-bit fix * Fri Jan 21 2005 gekker@suse.de - Fix the 64-bit build * Fri Jan 21 2005 gekker@suse.de - Update to version 2.9.4 * Fri Nov 19 2004 ro@suse.de - removed extra aclocal include directive * Tue Oct 26 2004 mmj@suse.de - Locale rename no to nb * Tue Sep 21 2004 sbrabec@suse.cz - Fixed devel dependences. * Wed Aug 25 2004 clahey@suse.de - Cache gedit docs and have gedit show up in khelpcenter. * Wed Aug 04 2004 clahey@suse.de - Added gedit-default-plugins patch from Robert. * Wed May 05 2004 sbrabec@suse.cz - Updated to version 2.6.1 (GNOME 2.6). * Mon Mar 22 2004 sbrabec@suse.cz - Provide nad obsolete gedit2-devel. * Wed Mar 17 2004 sbrabec@suse.cz - Fixed scrollkeeper calling conventions (#36215). * Mon Mar 15 2004 sbrabec@suse.cz - FHS 2.3 fix (mandir, infodir, #35821). * Wed Mar 10 2004 sbrabec@suse.cz - Fixed gconf schemas installation (#33114). - Fixed %%doc attributes (#33163). * Fri Feb 20 2004 sbrabec@suse.cz - Package renamed to gedit. * Thu Feb 12 2004 hhetter@suse.de - gconf schema (de-)installation in %%post and %%postun * Wed Jan 21 2004 ro@suse.de - fix pixmaps/Makefile.am * Sat Jan 10 2004 adrian@suse.de - build as user * Mon Oct 27 2003 sbrabec@suse.cz - Updated to version 2.4.1. * Thu Oct 09 2003 sbrabec@suse.cz - Updated to version 2.4.0 (GNOME 2.4). * Sat Sep 20 2003 kukuk@suse.de - Obsolete old gedit (solves file conflict) * Tue Aug 19 2003 sbrabec@suse.cz - Updated neededforbuild (rename of librsvg2, eel2). * Sat Aug 16 2003 adrian@suse.de - add Categories * Mon Jul 14 2003 sbrabec@suse.cz - GNOME prefix change to /opt/gnome. * Fri Jul 04 2003 ro@suse.de - fix find_lang usage * Wed Jul 02 2003 hhetter@suse.de - updated to version 2.2.2 - use find_lang * Fri Jun 27 2003 ro@suse.de - added directories to filelist * Wed Jun 11 2003 ro@suse.de - added unpackaged files to filelist - remove .la files of plugins from buildroot * Wed Feb 26 2003 hhetter@suse.de - fix build (use omf.make) (#24336) - fix filelist (#24336) * Fri Feb 07 2003 hhetter@suse.de - updated to version 2.2.0.1 [GNOME 2.2.0] * Tue Jan 28 2003 hhetter@suse.de - updated to version 2.2.0 - filelist review * Mon Jan 20 2003 ro@suse.de - update to 2.1.6 * Tue Jan 14 2003 ro@suse.de - added expat to neededforbuild * Tue Nov 19 2002 hhetter@suse.de - updated to version 2.0.6 * Tue Nov 12 2002 ro@suse.de - changed neededforbuild to * Fri Nov 08 2002 sbrabec@suse.cz - Added --libdir to configure. * Thu Nov 07 2002 hhetter@suse.de - updated to version 2.0.5 - %%_lib fixes * Tue Sep 24 2002 sbrabec@suse.cz - Added alsa-devel to neededforbuild, because esound-devel can require it. * Thu Sep 19 2002 sbrabec@suse.cz - Added alsa to neededforbuild, because esound can depend on it. * Fri Sep 13 2002 sf@suse.de - fixed to work on 64-bit archs call of eel_read_entire_file() was with &gsize instead of int, sizeof(gsize) == sizeof(long) * Thu Aug 22 2002 uli@suse.de - fixed to build on lib64 archs * Tue Aug 20 2002 hhetter@suse.de - added PreReq: filesystem * Tue Aug 13 2002 ro@suse.de - removed control-center from neededforbuild * Mon Aug 12 2002 ro@suse.de - added openssl-devel to neededforbuild * Fri Aug 09 2002 hhetter@suse.de - added openssl to neededforbuild * Wed Jul 31 2002 hhetter@suse.de - fix build with scrollkeeper - initiate scrollkeeper-update * Thu Jul 25 2002 jordi@suse.de - updated to version 2.0.2 * Tue Jul 16 2002 hhetter@suse.de - updated to version 2.0.1, fix descriptions from bugzilla.gnome.org: [#75861] Deleting a file in use does not prompt for "save" on close [#76001] Should not save window geometry on exit [#86333] modality problem on info/message box [#87265] s/gedit/Text Editor? * Thu Jun 20 2002 hhetter@suse.de - don't install schemas while make install * Wed Jun 19 2002 hhetter@suse.de - updated to version 2.0.0 * Thu Jun 13 2002 hhetter@suse.de - supply schema files * Thu Jun 13 2002 jordi@suse.de - Updated to version 1.121.1 * Mon Apr 15 2002 hhetter@suse.de - initial SuSE release