[2041] | 1 | %define glib2_version 2.26.0 |
---|
| 2 | %define gtk2_version 2.22.0 |
---|
[521] | 3 | |
---|
| 4 | %define po_package gtksourceview-2.0 |
---|
| 5 | |
---|
| 6 | Summary: A library for viewing source files |
---|
| 7 | Summary(ja): ソースコードなどを表示するためのライブラリ |
---|
| 8 | Name: gtksourceview2 |
---|
[2041] | 9 | Version: 2.10.5 |
---|
| 10 | Release: 1%{?_dist_release} |
---|
[521] | 11 | License: LGPLv2+ and GPLv2+ |
---|
| 12 | # the library itself is LGPL, some .lang files are GPL |
---|
| 13 | Group: System Environment/Libraries |
---|
| 14 | URL: http://gtksourceview.sourceforge.net/ |
---|
[1231] | 15 | Source0: http://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2 |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 18 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
| 19 | BuildRequires: libxml2-devel |
---|
| 20 | BuildRequires: intltool >= 0.35 |
---|
| 21 | BuildRequires: gettext |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | GtkSourceView is a text widget that extends the standard GTK+ |
---|
| 25 | GtkTextView widget. It improves GtkTextView by implementing |
---|
| 26 | syntax highlighting and other features typical of a source code editor. |
---|
| 27 | |
---|
| 28 | This package contains version 2 of GtkSourceView. The older version |
---|
| 29 | 1 is contains in the gtksourceview package. |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Files to compile applications that use gtksourceview2 |
---|
| 33 | Summary(ja): gtksourceview2 を使用するアプリケーションのコンパイルに必要なファイル |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | Requires: gtk2-devel >= %{gtk2_version} |
---|
| 37 | Requires: libxml2-devel |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | gtksourceview2-devel contains the files required to compile |
---|
| 42 | applications which use GtkSourceView 2.x. |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q -n gtksourceview-%{version} |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | |
---|
| 49 | %configure --disable-gtk-doc --disable-static |
---|
| 50 | |
---|
| 51 | make %{?_smp_mflags} |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | # remove unwanted files |
---|
| 58 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 59 | rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/check.sh |
---|
| 60 | rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/convert.py |
---|
| 61 | |
---|
| 62 | %find_lang %{po_package} |
---|
| 63 | |
---|
| 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | rm -rf $RPM_BUILD_ROOT |
---|
| 70 | |
---|
| 71 | %files -f %{po_package}.lang |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc README AUTHORS COPYING NEWS MAINTAINERS |
---|
| 74 | %{_datadir}/gtksourceview-2.0 |
---|
| 75 | %{_libdir}/*.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-,root,root,-) |
---|
| 79 | %{_includedir}/gtksourceview-2.0 |
---|
| 80 | %{_datadir}/gtk-doc |
---|
| 81 | %{_libdir}/pkgconfig/*.pc |
---|
| 82 | %{_libdir}/*.so |
---|
| 83 | |
---|
| 84 | %changelog |
---|
[2041] | 85 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.5-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[1862] | 88 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.10.4-2 |
---|
| 89 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 90 | |
---|
[1231] | 91 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.4-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[926] | 94 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.1-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[805] | 97 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[623] | 100 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.2-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[521] | 103 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | - removed BR: gnome-vfs2-devel |
---|
| 106 | |
---|
| 107 | * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
| 110 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
| 113 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
| 116 | * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
| 119 | * Mon Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.2-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
| 122 | * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.1-1vl5 |
---|
| 123 | - Initial build for Vine Linux |
---|
| 124 | |
---|
| 125 | * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.1-1 |
---|
| 126 | - Update to 2.2.1 |
---|
| 127 | |
---|
| 128 | * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.2.0-1 |
---|
| 129 | - Update to 2.2.0 |
---|
| 130 | |
---|
| 131 | * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.3-1 |
---|
| 132 | - Update to 2.1.3 |
---|
| 133 | |
---|
| 134 | * Wed Feb 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.2-1 |
---|
| 135 | - Update to 2.1.2 |
---|
| 136 | |
---|
| 137 | * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.1-1 |
---|
| 138 | - Update to 2.1.1 |
---|
| 139 | |
---|
| 140 | * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.1.0-1 |
---|
| 141 | - Update to 2.1.0 |
---|
| 142 | |
---|
| 143 | * Mon Nov 26 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.2-1 |
---|
| 144 | - Update to 2.0.2 |
---|
| 145 | |
---|
| 146 | * Mon Nov 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.1-1 |
---|
| 147 | - Update to 2.0.1 |
---|
| 148 | |
---|
| 149 | * Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.0.0-1 |
---|
| 150 | - Update to 2.0.0 |
---|
| 151 | |
---|
| 152 | * Tue Sep 11 2007 Matthew Barnes <mbarnes@redhat.com> - 1.90.5-1 |
---|
| 153 | - Update to 1.90.5 |
---|
| 154 | |
---|
| 155 | * Tue Sep 4 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.4-1 |
---|
| 156 | - Update to 1.90.4 |
---|
| 157 | |
---|
| 158 | * Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-2 |
---|
| 159 | - Update license field |
---|
| 160 | |
---|
| 161 | * Wed Aug 1 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.3-1 |
---|
| 162 | - Update to 1.90.3 |
---|
| 163 | |
---|
| 164 | * Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.2-1 |
---|
| 165 | - Update to 1.90.2 |
---|
| 166 | |
---|
| 167 | * Mon Jul 2 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-4 |
---|
| 168 | - More package review feedback: |
---|
| 169 | + don't ship check.sh and convert.py scripts |
---|
| 170 | + use GRegex from glib |
---|
| 171 | |
---|
| 172 | * Fri Jun 29 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-3 |
---|
| 173 | - Package review feedback |
---|
| 174 | |
---|
| 175 | * Wed Jun 27 2007 Matthias Clasen <mclasen@redhat.com> - 1.90.1-2 |
---|
| 176 | - New package for GtkSourceView 2.x, based on gtksourceview |
---|