author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 17864 | 337913e88a9d |
child 21356 | 872d98c570f3 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gtksourceview |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner hawklu |
9397 | 9 |
# |
16427 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 12 |
|
9397 | 13 |
Name: gtksourceview |
14 |
License: GPL |
|
15 |
Group: System/Libraries |
|
9963 | 16 |
Version: 1.8.5 |
9397 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
17864 | 19 |
Vendor: Gnome Community |
9397 | 20 |
Summary: Syntax highlighting text widget |
9964
529f7adcf236
Correct Source URL after reverting version to 1.8.5.
dcarbery
parents:
9963
diff
changeset
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.8/%{name}-%{version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source1: l10n-configure.sh |
|
24 |
%endif |
|
9397 | 25 |
URL: http://www.gnome.org/ |
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
27 |
Docdir: %{_defaultdocdir}/doc |
|
28 |
Autoreqprov: on |
|
17328 | 29 |
# date:2010-01-13 owner:chrisk type:bug |
30 |
Patch1: gtksourceview-01-fixxref.diff |
|
9397 | 31 |
|
32 |
%define libxml_version 2.5.0 |
|
33 |
%define gtk2_version 2.2.0 |
|
34 |
%define libgnomeprint_version 2.2.0 |
|
35 |
%define gnome_vfs_version 2.2.0 |
|
36 |
||
37 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
38 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
39 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
40 |
BuildRequires: libxml2-devel >= %{libxml_version} |
|
41 |
BuildRequires: libgnomeprintui |
|
42 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
43 |
Requires: gtk2 >= %{gtk2_version} |
|
44 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
45 |
Requires: libxml2 >= %{libxml_version} |
|
46 |
Requires: libgnomeprintui |
|
47 |
||
48 |
%description |
|
49 |
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget |
|
50 |
GtkTextView. |
|
51 |
||
52 |
It improves GtkTextView by implementing syntax highlighting and other features |
|
53 |
typical of a source editor. |
|
54 |
||
55 |
%package devel |
|
56 |
Summary: gtksourceview development files |
|
57 |
Group: Development/Libraries/X11 |
|
58 |
Requires: %{name} = %{version} |
|
59 |
||
60 |
%description devel |
|
61 |
Development files for gtksourceview |
|
62 |
||
63 |
%prep |
|
64 |
%setup -q |
|
17328 | 65 |
%patch1 -p1 |
9397 | 66 |
|
67 |
%build |
|
68 |
%ifos linux |
|
69 |
if [ -x /usr/bin/getconf ]; then |
|
70 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
71 |
fi |
|
72 |
%else |
|
73 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
74 |
%endif |
|
75 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
76 |
CPUS=1 |
|
77 |
fi |
|
78 |
||
79 |
aclocal $ACLOCAL_FLAGS |
|
80 |
automake -a -c -f |
|
81 |
autoconf |
|
82 |
intltoolize --force |
|
83 |
||
12031 | 84 |
%if %build_l10n |
85 |
bash -x %SOURCE1 --enable-copyright |
|
86 |
%endif |
|
87 |
||
88 |
||
10572 | 89 |
export CFLAGS="%optflags" |
12586 | 90 |
export LDFLAGS="%_ldflags -lgailutil" |
9397 | 91 |
./configure --prefix=%{_prefix} \ |
92 |
--datadir=%{_datadir} \ |
|
93 |
--sysconfdir=%{_sysconfdir} \ |
|
94 |
%{gtk_doc_option} |
|
95 |
./config.status |
|
96 |
make -j $CPUS |
|
97 |
||
98 |
%install |
|
99 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
100 |
||
101 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a |
|
102 |
||
103 |
%clean |
|
104 |
rm -rf $RPM_BUILD_ROOT |
|
105 |
||
106 |
%files |
|
107 |
%defattr(-,root,root) |
|
108 |
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO |
|
109 |
%{_libdir}/*.so.* |
|
110 |
%{_datadir}/gtksourceview-1.0 |
|
111 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
112 |
%{_datadir}/gtk-doc/html/gtksourceview |
|
113 |
||
114 |
%files devel |
|
115 |
%defattr(-,root,root) |
|
116 |
%{_includedir}/gtksourceview-* |
|
117 |
%{_libdir}/pkgconfig |
|
118 |
%{_libdir}/*.la |
|
119 |
%{_libdir}/*.so |
|
120 |
%{_mandir}/man3/* |
|
121 |
||
122 |
%changelog |
|
17328 | 123 |
* Wed Jan 13 2010 - [email protected] |
124 |
- Added gtksourceview-01-fixxref. |
|
12586 | 125 |
* Wed Jun 04 2008 - [email protected] |
126 |
- Add "-lgailutil" to LIBS so that libgailutil is linked in when libgnomecanvas |
|
127 |
is linked. libgnomecanvas.so includes some gail functions. |
|
9963 | 128 |
* Wed May 30 2007 - [email protected] |
129 |
- Unbump from 1.90.0 to 1.8.5. Version 1.90.0 is a move toward version 2.0 |
|
130 |
which is incompatible with 1.x. This breaks gedit and gnome-python-desktop. |
|
131 |
There is a new module forthcoming, pygtksourceview, which will help. See |
|
132 |
bugzilla bugs 442283 and 442272. |
|
9949 | 133 |
* Mon May 28 2007 - [email protected] |
134 |
- Bump to 1.90.0. |
|
9520 | 135 |
* Mon Mar 12 2007 - [email protected] |
136 |
- Bump to 1.8.5. |
|
9397 | 137 |
* Tue Feb 13 2007 - [email protected] |
138 |
- Bump to 1.8.4. |
|
139 |
* Tue Jan 09 2007 - [email protected] |
|
140 |
- Bump to 1.8.3. |
|
141 |
* Wed Dec 13 2006 - [email protected] |
|
142 |
- Bump to 1.8.2. |
|
143 |
* Fri Nov 3 2006 - [email protected] |
|
144 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
145 |
--without-gtk-doc |
|
146 |
* Mon Oct 02 2006 - [email protected] |
|
147 |
- Bump to 1.8.1. |
|
148 |
* Mon Sep 04 2006 - [email protected] |
|
149 |
- Bump to 1.8.0. |
|
150 |
* Tue Aug 08 2006 - [email protected] |
|
151 |
- Bump to 1.7.2. |
|
152 |
* Mon Jul 24 2006 - [email protected] |
|
153 |
- Bump to 1.6.1. |
|
154 |
* Fri Apr 10 2006 - [email protected] |
|
155 |
- Bump to 1.6.1. |
|
156 |
* Sun Mar 12 2006 - [email protected] |
|
157 |
- Bump to 1.6.0. |
|
158 |
* Tue Jan 17 2006 - [email protected] |
|
159 |
- Bump to 1.5.6 |
|
160 |
* Sun Jan 15 2006 - [email protected] |
|
161 |
- Bump to 1.5.4 |
|
162 |
* Tue Dec 20 2005 - [email protected] |
|
163 |
- Bump to 1.5.2 |
|
164 |
* Tue Sep 27 2005 - [email protected] |
|
165 |
- Bump to 1.3.93. |
|
166 |
* Mon Aug 15 2005 - [email protected] |
|
167 |
- Bump to 1.3.91. |
|
168 |
* Thu May 19 2005 - [email protected] |
|
169 |
- Add aclocal and automake, needed for Solaris. |
|
170 |
* Wed Jan 12 2005 - [email protected] |
|
171 |
- Added gtksourceview-01-g11n-ai.diff for autoindent with localized chars |
|
172 |
Fixed 4937266 |
|
173 |
* Fri Dec 12 2004 - [email protected] |
|
174 |
- Replacing the gtksourceview-02-gedit-undo-sun-keyboard.diff |
|
175 |
patch with the one eventually got into cvs head. |
|
176 |
* Tue Nov 09 2004 - [email protected] |
|
177 |
- Removed gtksourceview-01-g11n-ai.diff that causes #6191240, gedit hangs when |
|
178 |
typing RETURN key. |
|
179 |
* Sat Oct 30 2004 - [email protected] |
|
180 |
- Added gtksourceview-02-gedit-undo-sun-keyboard.diff to make undo key in |
|
181 |
sun keyboard work for gedit application. Fixes bug #6178291. |
|
182 |
* Thu Oct 28 2004 - [email protected] |
|
183 |
- Add libgtksourceview-1.0.3 man page |
|
184 |
* Tue Oct 05 2004 - [email protected] |
|
185 |
- Added gtksourceview-01-g11n-ai.diff for autoindent with localized chars |
|
186 |
Fixed 4937266 |
|
187 |
* Wed Aug 18 2004 - [email protected] |
|
188 |
- added --enable-gtk-doc |
|
189 |
* Tue Jul 20 2004 - [email protected] |
|
190 |
- Bump to 1.0.1 |
|
191 |
* Thu Jul 08 2004 - [email protected] |
|
192 |
- Updated l10n content to gtksourceview-l10n-po-1.2.tar.bz2 |
|
193 |
* Wed Jul 07 2004 - [email protected] |
|
194 |
- added "-j $CPUS" to make to speed up builds |
|
195 |
* Wed May 12 2004 - [email protected] |
|
196 |
- Updated l10n content to gtksourceview-l10n-po-1.1.tar.bz2 |
|
197 |
* Wed Mar 31 2004 - [email protected] |
|
198 |
- replace tar jxf with the more solaris friendly |
|
199 |
bzcat piped through tar |
|
200 |
* Mon Mar 29 2004 - [email protected] |
|
201 |
- Adding gtksourceview-l10n-po-1.0.tar.bz2 l10n content |
|
202 |
* Mon Feb 23 2004 - <[email protected]> |
|
203 |
- Bump to 0.9.0 tarball, update %files |
|
204 |
* Thu Jan 29 2004 - <[email protected]> |
|
205 |
- Add dependency on libgnomeprintui |
|
206 |
* Wed Dec 17 2003 - <[email protected]> |
|
207 |
- Bump to 0.7.0 tarball |
|
208 |
* Tue Oct 21 2003 - <[email protected]> 0.6.0-2 |
|
209 |
- Fixed missing Requires and BuildRequires, comments |
|
210 |
and license. |
|
211 |
* Mon Oct 20 2003 - <[email protected]> 0.6.0-1 |
|
212 |
- Initial spec file. |
|
213 |