123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- %define glib2_version 2.26.0
- %define gtk2_version 2.22.0
- %define po_package gtksourceview-2.0
- Summary: A library for viewing source files
- Summary(ja): ソースコードなどを表示するためのライブラリ
- Name: gtksourceview2
- Version: 2.10.5
- Release: 1%{?_dist_release}
- License: LGPLv2+ and GPLv2+
- # the library itself is LGPL, some .lang files are GPL
- Group: System Environment/Libraries
- URL: http://gtksourceview.sourceforge.net/
- Source0: http://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: libxml2-devel
- BuildRequires: intltool >= 0.35
- BuildRequires: gettext
- %description
- GtkSourceView is a text widget that extends the standard GTK+
- GtkTextView widget. It improves GtkTextView by implementing
- syntax highlighting and other features typical of a source code editor.
- This package contains version 2 of GtkSourceView. The older version
- 1 is contains in the gtksourceview package.
- %package devel
- Summary: Files to compile applications that use gtksourceview2
- Summary(ja): gtksourceview2 を使用するアプリケーションのコンパイルに必要なファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: gtk2-devel >= %{gtk2_version}
- Requires: libxml2-devel
- Requires: pkgconfig
- %description devel
- gtksourceview2-devel contains the files required to compile
- applications which use GtkSourceView 2.x.
- %prep
- %setup -q -n gtksourceview-%{version}
- %build
- %configure --disable-gtk-doc --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # remove unwanted files
- rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
- rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/check.sh
- rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/convert.py
- %find_lang %{po_package}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files -f %{po_package}.lang
- %defattr(-,root,root,-)
- %doc README AUTHORS COPYING NEWS MAINTAINERS
- %{_datadir}/gtksourceview-2.0
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/gtksourceview-2.0
- %{_datadir}/gtk-doc
- %{_libdir}/pkgconfig/*.pc
- %{_libdir}/*.so
- %changelog
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.5-1
- - new upstream release
- * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.10.4-2
- - build with rpm-4.8.1-1 for pkg-config file
- * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.4-1
- - new upstream release
- * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.1-1
- - new upstream release
- * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1
- - new upstream release
- * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.2-1
- - new upstream release
- * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-1
- - new upstream release
- - removed BR: gnome-vfs2-devel
- * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-1
- - new upstream release
- * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-1
- - new upstream release
- * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-1
- - new upstream release
- * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1
- - new upstream release
- * Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.2-1
- - new upstream release
- * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.1-1vl5
- - Initial build for Vine Linux
- * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.1-1
- - Update to 2.2.1
- * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.0-1
- - Update to 2.2.0
- * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.3-1
- - Update to 2.1.3
- * Wed Feb 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.2-1
- - Update to 2.1.2
- * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.1-1
- - Update to 2.1.1
- * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.0-1
- - Update to 2.1.0
- * Mon Nov 26 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.2-1
- - Update to 2.0.2
- * Mon Nov 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.1-1
- - Update to 2.0.1
- * Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.0-1
- - Update to 2.0.0
- * Tue Sep 11 2007 Matthew Barnes <mbarnes@redhat.com> - 1.90.5-1
- - Update to 1.90.5
- * Tue Sep 4 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.4-1
- - Update to 1.90.4
- * Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-2
- - Update license field
- * Wed Aug 1 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-1
- - Update to 1.90.3
- * Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.2-1
- - Update to 1.90.2
- * Mon Jul 2 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-4
- - More package review feedback:
- + don't ship check.sh and convert.py scripts
- + use GRegex from glib
- * Fri Jun 29 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-3
- - Package review feedback
- * Wed Jun 27 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-2
- - New package for GtkSourceView 2.x, based on gtksourceview
|