123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471 |
- %define glib2_version 2.26.0
- %define gtk2_version 2.22.0
- %define desktop_file_utils_version 0.17
- %define gtksourceview_version 2.10.5
- %define gnome_doc_utils_version 0.6.0
- %define pygobject_version 2.26.0
- Summary: gedit is a small but powerful text editor for GNOME.
- Summary(ja): GNOME 用の小さくかつ強力なテキストエディタ
- Name: gedit
- Version: 2.30.4
- Release: 1%{?_dist_release}
- License: GPLv2
- Group: Applications/Editors
- Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit/2.30/%{name}-%{version}.tar.bz2
- URL: http://gedit.sourceforge.net/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires(post,postun): scrollkeeper >= 0.3.11
- Requires(post,pre,preun): GConf2
- Requires: python pygtk2 pygtksourceview
- Requires: pygobject >= %{pygobject_version}
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: GConf2-devel
- BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
- BuildRequires: gtksourceview2-devel >= %{gtksourceview_version}
- BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
- BuildRequires: python-devel pygtk2-devel gtk-doc
- BuildRequires: pygobject-devel >= %{pygobject_version}
- BuildRequires: pygtksourceview-devel
- BuildRequires: perl-XML-Parser
- BuildRequires: libattr-devel
- BuildRequires: libffi-devel
- BuildRequires: intltool > 0.40
- BuildRequires: libSM-devel
- Packager: daisuke, inagaki
- %description
- gedit is a small but powerful text editor designed specifically for
- the GNOME GUI desktop. gedit includes a plug-in API (which supports
- extensibility while keeping the core binary small), support for
- editing multiple documents using notebook tabs, and standard text
- editor functions.
- You will need to have GNOME and GTK+ installed to use gedit.
- %description -l ja
- gedit は GNOME 用の小さく、それでいて、強力なテキストエディタです。
- これは、コア部分は小さいままに、geditに対し多くの機能を拡張
- できるようにするための(画面分割モード等の)プラグインの機能や、
- 『タブ』ノートブックを利用した複数のドキュメント編集、そして、
- その他多くの機能を備えています。
- gedit には GNOME と GTK+2 が必要です
- %package devel
- Summary: The files needed for developing plug-ins for the gedit editor.
- Summary(ja): gedit エディタ用のプラグイン開発
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: gtksourceview2-devel >= %{gtksourceview_version}
- %description devel
- gedit is a small but powerful text editor for the GNOME GUI desktop.
- This package allows you to develop plug-ins that work within gedit.
- Install gedit-devel if you want to write plug-ins for gedit.
- %description -l ja devel
- gedit は GNOME 用の小さく、それでいて、強力なテキストエディタです。
- このパッケージを用いてgedit内で動くプラグインを開発することができます。
- gedit のプラグインを開発する場合には gedit-devel をインストールしてください。
- %prep
- %setup -n gedit-%{version} -q
- %build
- %configure \
- --disable-scrollkeeper \
- --disable-schemas-install \
- --disable-spell \
- --disable-updater \
- --enable-attr
- make %{?_smp_mflags} V=1
- %install
- rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- make DESTDIR=$RPM_BUILD_ROOT install
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- desktop-file-install --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- --add-only-show-in GNOME \
- $RPM_BUILD_ROOT%{_datadir}/applications/*
- ## clean up all the static libs for plugins (workaround for no -module)
- /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugin-loaders -name "*.la"`
- /bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins -name "*.la"`
- /bin/rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
- ## clean up unpackage files
- #/bin/rm -rf $RPM_BUILD_ROOT%{_includedir}/gedit-2.20
- /bin/rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gedit
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- scrollkeeper-update > /dev/null 2>&1 || :
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gedit.schemas gedit-file-browser.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/$S > /dev/null
- done
- %pre
- if [ "$1" -gt 1 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gedit.schemas gedit-file-browser.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/$S > /dev/null
- done
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gedit.schemas gedit-file-browser.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/$S > /dev/null
- done
- fi
- %postun
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- scrollkeeper-update > /dev/null 2>&1 || :
- %files -f %{name}.lang
- %defattr(-, root, root)
- %doc AUTHORS COPYING ChangeLog NEWS README
- %{_sysconfdir}/gconf/schemas/*
- %{_bindir}/*
- %{_libdir}/gedit-2
- %{_libexecdir}/gedit-2
- %{_datadir}/applications
- %{_datadir}/gedit-2
- %{_datadir}/gnome
- %{_datadir}/omf
- %{_mandir}/man1/*
- %files devel
- %defattr(-, root, root)
- %{_includedir}/*
- %{_libdir}/pkgconfig/*.pc
- %changelog
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.4-1
- - new upstream release
- * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-2
- - rebuild with rpm-4.8.1 for pkg-config file
- * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
- - new upstream release
- * Sun May 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
- - new upstream release
- * Fri Apr 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
- - new upstream release
- - add BuildRequires: libSM-devel
- * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.28.2-3
- - rebuilt with python-2.6.4-3
- * Tue Dec 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.2-2
- - split devel package
- - added Requires: gtksourceview2 to devel package (<BTS:831>)
- * Sat Nov 21 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.2-1
- - new upstream release
- * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
- - new upstream release
- - dropped Patch1 (merged into upstream)
- - added --disable-updater
- * Sun Aug 2 2009 Kazutaka HARADA <toshi.kd2@gmail.com> 2.26.3-1
- - new upstream release
- - added BuildRequires: libffi-devel
- * Fri Jun 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.2-2
- - add Patch1 to fix errors on external tools (<BTS:VineLinux:710>)
- - add BuildRequires: libattr-devel
- * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
- - new upstream release
- * Tue May 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2
- - s/gEdit/gedit in Summary/Description
- * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
- - new upstream release
- * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
- - new upstream release
- * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
- - new upstream release
- * Sat Oct 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-3
- - add Requires: pygobject >= 2.15.4
- * Sun Sep 28 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.24.0-2
- - drop --vendor=gnome option when executing desktop-file-install
- * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
- - new upstream release
- * Sat Jul 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.1-2vl5
- - added lBuildRequires: perl-XML-Parser
- - rebuilt with python-2.5.2
- * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
- - new upstream release
- - added BuildRequires: pygtksourceview-devel
- * Sat Aug 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.18.2-0vl2
- - add BuildRequires: pygobject-devel, gnome-python-desktop
- because of adding --enable-python
- (TODO: moving to pygobjects and gnome-python-desktop to main or not?)
- * Wed Aug 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
- - new upstream release
- - added --enable-python option
- * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.1-0vl1
- - new upstream release
- * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
- - new upstream release
- * Thu May 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
- - temporarily disabled patch10 which has encoding detection bugs.
- * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
- - new upstream release
- * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
- - new upstream release
- * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.93-0vl1
- - new upstream release
- * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
- - new upstream release
- * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
- - new upstream release
- - forwardport Patch10 from Vine Linux 3.2.
- * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-0vl1
- - new upstream release
- * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
- - new upstream release
- * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
- - new upstream version
- * Tue Mar 08 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl2
- - fixed to include message catalogs
- * Sat Mar 05 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
- - new upstream release
- * Tue Nov 09 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
- - new upstream release
- * Sat Feb 14 2004 Tomoya TAKA <taka@vinelinux.org> 2.4.1-0vl2
- - add Patch0, fix type mismatch in gedit_document_load()
- * Fri Oct 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
- - new upstream release
- * Tue Oct 07 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
- - add missing files to %%files
- * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
- - new upstream release
- * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.5-0vl2
- - remove obsolete ja.po
- * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.5-0vl1
- - new upstream release
- * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
- - new upstream release
- - update ja.po
- * Thu Apr 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
- - new upstream release
- - update ja.po
- * Tue Jan 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
- - new upstream release
- * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.91-0vl1
- - new upstream release
- * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.6-0vl2
- - add updated ja.po
- * Thu Jan 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.6-0vl1
- - new upstream release
- * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
- - new upstream release
- - build for Vine Linux
- * 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
- * Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
- - fix desktop file
- * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.2
- - build with new gail
- * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.1
- * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
- - 2.0.0, fix missing locale files
- * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
- - 1.199.0
- - use desktop-file-install
- - remove static libs from plugins dir
- * Sat Jun 08 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- - 1.121.1
- * Sun May 26 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - 1.120.0
- * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- - 1.118.0
- * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
- - move to gnome 2 version
- * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- - fix ko.po
- * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- - get correct po files from elvis
- * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- - gedit-pofiles.tar.gz, not gedit-po.tar.gz
- * Mon Apr 15 2002 Havoc Pennington <hp@redhat.com>
- - merge translations
- * Fri Mar 29 2002 Havoc Pennington <hp@redhat.com>
- - gettextize default font
- * Thu Mar 28 2002 Havoc Pennington <hp@redhat.com>
- - more multibyte fixes #61948
- * Wed Mar 27 2002 Havoc Pennington <hp@redhat.com>
- - 0.9.7 for multibyte support
- * Tue Mar 26 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-11
- - gedit-0.9.4-printprefs.patch: I forgot to add to POTFILES.in...
- - gedit-po.tar.gz: added. it's on CVS now.
- * Sun Mar 24 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-10
- - gedit-0.9.4-printprefs.patch: fix typo and sanity check.
- * Mon Mar 04 2002 Akira TAGOH <tagoh@redhat.com> 0.9.4-9
- - Applied a font selector patch for the printing
- - fix BuildRequires for automake-1.4
- * Mon Jan 28 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in rawhide
- - fix up cflags for moved gnome headers
- * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
- - add some more build requires
- * Tue Jul 17 2001 Havoc Pennington <hp@redhat.com>
- - require libglade-devel to build
- * Fri Jun 15 2001 Nalin Dahyabhai <nalin@redhat.com>
- - rebuild in new environment
- * Fri Feb 23 2001 Akira TAGOH <tagoh@redhat.com>
- - Fixed preview for !ja locale.
- * Wed Feb 07 2001 Akira TAGOH <tagoh@redhat.com>
- - Fixed handling fontset. (Bug#24998)
- - Added print out for multibyte patch.
- * Fri Dec 29 2000 Matt Wilson <msw@redhat.com>
- - 0.9.4
- * Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
- - Up Epoch and release
- * Wed Aug 09 2000 Jonathan Blandford <jrb@redhat.com>
- - include glade files so that it will actually work.
- * Tue Aug 01 2000 Jonathan Blandford <jrb@redhat.com>
- - upgrade package to newer version at request of author.
- * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- - automatic rebuild
- * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
- - FHS paths
- * Sun Jun 11 2000 Jonathan Blandford <jrb@redhat.com>
- - update to 0.7.9. Somewhat untested.
- * Fri Feb 11 2000 Jonathan Blandford <jrb@redhat.com>
- - removed "reverse search function as it doesn't work.
- * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
- - rebuild to gzip man pages
- * Mon Jan 17 2000 Elliot Lee <sopwith@redhat.com>
- - If I don't put in a log entry here, people will be very upset about not
- being able to find out that I am to blame for the 0.6.1 upgrade
- * Mon Aug 16 1999 Michael Fulbright <drmike@redhat.com>
- - version 0.5.4
- * Sat Feb 06 1999 Michael Johnson <johnsonm@redhat.com>
- - Cleaned up a bit for Red Hat use
- * Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
- - First try at an RPM
|