author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 19078 | a6e7d195f684 |
child 8800 | 354f100c8a0f |
permissions | -rw-r--r-- |
1302 | 1 |
# |
5518 | 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. |
|
1302 | 7 |
# |
8564 | 8 |
# Owner: hawklu |
9 |
# |
|
1302 | 10 |
Name: gtksourceview |
1316 | 11 |
License: GPL |
1302 | 12 |
Group: System/Libraries |
8234 | 13 |
Version: 1.8.1 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
1302 | 16 |
Vendor: Sun Microsystems, Inc. |
17 |
Summary: Syntax highlighting text widget |
|
8052 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.8/%{name}-%{version}.tar.bz2 |
5518 | 19 |
Source1: libgtksourceview-1.0.3.gz |
1302 | 20 |
URL: http://www.gnome.org/ |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
22 |
Docdir: %{_defaultdocdir}/doc |
|
23 |
Autoreqprov: on |
|
24 |
||
25 |
%define libxml_version 2.5.0 |
|
26 |
%define gtk2_version 2.2.0 |
|
27 |
%define libgnomeprint_version 2.2.0 |
|
28 |
%define gnome_vfs_version 2.2.0 |
|
29 |
||
1316 | 30 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
31 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
32 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
|
1302 | 33 |
BuildRequires: libxml2-devel >= %{libxml_version} |
1556 | 34 |
BuildRequires: libgnomeprintui |
1316 | 35 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
36 |
Requires: gtk2 >= %{gtk2_version} |
|
37 |
Requires: libgnomeprint >= %{libgnomeprint_version} |
|
38 |
Requires: libxml2 >= %{libxml_version} |
|
1556 | 39 |
Requires: libgnomeprintui |
1302 | 40 |
|
41 |
%description |
|
42 |
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget |
|
43 |
GtkTextView. |
|
44 |
||
45 |
It improves GtkTextView by implementing syntax highlighting and other features |
|
46 |
typical of a source editor. |
|
47 |
||
48 |
%package devel |
|
49 |
Summary: gtksourceview development files |
|
50 |
Group: Development/Libraries/X11 |
|
51 |
Requires: %{name} = %{version} |
|
52 |
||
53 |
%description devel |
|
54 |
Development files for gtksourceview |
|
55 |
||
56 |
%prep |
|
57 |
%setup -q |
|
4455 | 58 |
|
1302 | 59 |
%build |
3263 | 60 |
%ifos linux |
61 |
if [ -x /usr/bin/getconf ]; then |
|
62 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
63 |
fi |
|
64 |
%else |
|
3846 | 65 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 66 |
%endif |
67 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
68 |
CPUS=1 |
|
69 |
fi |
|
70 |
||
5518 | 71 |
aclocal $ACLOCAL_FLAGS |
72 |
automake -a -c -f |
|
5176 | 73 |
autoconf |
6923 | 74 |
intltoolize --force |
5176 | 75 |
|
19078
a6e7d195f684
Merged trunk changes r9788:9797 into 217update branch
dcarbery
parents:
8564
diff
changeset
|
76 |
CFLAGS="$RPM_OPT_FLAGS" \ |
1302 | 77 |
./configure --prefix=%{_prefix} \ |
19078
a6e7d195f684
Merged trunk changes r9788:9797 into 217update branch
dcarbery
parents:
8564
diff
changeset
|
78 |
--datadir=%{_datadir} \ |
3696 | 79 |
--sysconfdir=%{_sysconfdir} \ |
8501 | 80 |
%{gtk_doc_option} |
6923 | 81 |
./config.status |
3263 | 82 |
make -j $CPUS |
1302 | 83 |
|
84 |
%install |
|
85 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
4357 | 86 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
5518 | 87 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man3 |
1302 | 88 |
|
7526
1c45442fa37f
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7031
diff
changeset
|
89 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a |
1c45442fa37f
2006-06-26 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7031
diff
changeset
|
90 |
|
1302 | 91 |
%clean |
92 |
rm -rf $RPM_BUILD_ROOT |
|
93 |
||
94 |
%files |
|
95 |
%defattr(-,root,root) |
|
96 |
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO |
|
97 |
%{_libdir}/*.so.* |
|
98 |
%{_datadir}/gtksourceview-1.0 |
|
1896 | 99 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
100 |
%{_datadir}/gtk-doc/html/gtksourceview |
|
1302 | 101 |
|
102 |
%files devel |
|
103 |
%defattr(-,root,root) |
|
104 |
%{_includedir}/gtksourceview-* |
|
105 |
%{_libdir}/pkgconfig |
|
106 |
%{_libdir}/*.la |
|
107 |
%{_libdir}/*.so |
|
4357 | 108 |
%{_mandir}/man3/* |
1302 | 109 |
|
110 |
%changelog |
|
8501 | 111 |
* Fri Nov 3 2006 - [email protected] |
112 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
113 |
--without-gtk-doc |
|
8234 | 114 |
* Mon Oct 02 2006 - [email protected] |
115 |
- Bump to 1.8.1. |
|
8052 | 116 |
* Mon Sep 04 2006 - [email protected] |
117 |
- Bump to 1.8.0. |
|
7872 | 118 |
* Tue Aug 08 2006 - [email protected] |
119 |
- Bump to 1.7.2. |
|
7743 | 120 |
* Mon Jul 24 2006 - [email protected] |
121 |
- Bump to 1.6.1. |
|
7031 | 122 |
* Fri Apr 10 2006 - [email protected] |
123 |
- Bump to 1.6.1. |
|
6908 | 124 |
* Sun Mar 12 2006 - [email protected] |
125 |
- Bump to 1.6.0. |
|
6587
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
126 |
* Tue Jan 17 2006 - [email protected] |
1ac34d6f9507
* zenity.spec, sound-juicer.spec, nautilus-cd-burner.spec, nautilus.spec
dc144907
parents:
6564
diff
changeset
|
127 |
- Bump to 1.5.6 |
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6418
diff
changeset
|
128 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6418
diff
changeset
|
129 |
- Bump to 1.5.4 |
6418
7d38a3af9d6f
gedit.spec: Bump to 2.13.0; gtksourceview.spec: Bump to 1.5.2
dermotm
parents:
6016
diff
changeset
|
130 |
* Tue Dec 20 2005 - [email protected] |
7d38a3af9d6f
gedit.spec: Bump to 2.13.0; gtksourceview.spec: Bump to 1.5.2
dermotm
parents:
6016
diff
changeset
|
131 |
- Bump to 1.5.2 |
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5565
diff
changeset
|
132 |
* Tue Sep 27 2005 - [email protected] |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5565
diff
changeset
|
133 |
- Bump to 1.3.93. |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
134 |
* Mon Aug 15 2005 - [email protected] |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
135 |
- Bump to 1.3.91. |
5518 | 136 |
* Thu May 19 2005 - [email protected] |
137 |
- Add aclocal and automake, needed for Solaris. |
|
4821 | 138 |
* Wed Jan 12 2005 - [email protected] |
139 |
- Added gtksourceview-01-g11n-ai.diff for autoindent with localized chars |
|
140 |
Fixed 4937266 |
|
4764 | 141 |
* Fri Dec 12 2004 - [email protected] |
142 |
- Replacing the gtksourceview-02-gedit-undo-sun-keyboard.diff |
|
143 |
patch with the one eventually got into cvs head. |
|
4488 | 144 |
* Tue Nov 09 2004 - [email protected] |
145 |
- Removed gtksourceview-01-g11n-ai.diff that causes #6191240, gedit hangs when |
|
146 |
typing RETURN key. |
|
4396 | 147 |
* Sat Oct 30 2004 - [email protected] |
148 |
- Added gtksourceview-02-gedit-undo-sun-keyboard.diff to make undo key in |
|
149 |
sun keyboard work for gedit application. Fixes bug #6178291. |
|
4357 | 150 |
* Thu Oct 28 2004 - [email protected] |
151 |
- Add libgtksourceview-1.0.3 man page |
|
4149 | 152 |
* Tue Oct 05 2004 - [email protected] |
153 |
- Added gtksourceview-01-g11n-ai.diff for autoindent with localized chars |
|
154 |
Fixed 4937266 |
|
3696 | 155 |
* Wed Aug 18 2004 - [email protected] |
156 |
- added --enable-gtk-doc |
|
3368 | 157 |
* Tue Jul 20 2004 - [email protected] |
158 |
- Bump to 1.0.1 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
159 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
160 |
- Updated l10n content to gtksourceview-l10n-po-1.2.tar.bz2 |
3263 | 161 |
* Wed Jul 07 2004 - [email protected] |
162 |
- added "-j $CPUS" to make to speed up builds |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
163 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
164 |
- Updated l10n content to gtksourceview-l10n-po-1.1.tar.bz2 |
2355 | 165 |
* Wed Mar 31 2004 - [email protected] |
166 |
- replace tar jxf with the more solaris friendly |
|
167 |
bzcat piped through tar |
|
2350 | 168 |
* Mon Mar 29 2004 - [email protected] |
169 |
- Adding gtksourceview-l10n-po-1.0.tar.bz2 l10n content |
|
1896 | 170 |
* Mon Feb 23 2004 - <[email protected]> |
171 |
- Bump to 0.9.0 tarball, update %files |
|
1556 | 172 |
* Thu Jan 29 2004 - <[email protected]> |
173 |
- Add dependency on libgnomeprintui |
|
1474 | 174 |
* Wed Dec 17 2003 - <[email protected]> |
175 |
- Bump to 0.7.0 tarball |
|
1316 | 176 |
* Tue Oct 21 2003 - <[email protected]> 0.6.0-2 |
1474 | 177 |
- Fixed missing Requires and BuildRequires, comments |
178 |
and license. |
|
1303 | 179 |
* Mon Oct 20 2003 - <[email protected]> 0.6.0-1 |
1302 | 180 |
- Initial spec file. |
181 |