9965
|
1 |
#
|
|
2 |
# spec file for package gtksourceview
|
|
3 |
#
|
11475
|
4 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
9965
|
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
|
9965
|
9 |
#
|
16427
|
10 |
|
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
9965
|
13 |
Name: gtksourceview
|
|
14 |
License: GPL
|
|
15 |
Group: System/Libraries
|
16371
|
16 |
Version: 2.7.4
|
9965
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Summary: Syntax highlighting text widget
|
15409
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
|
12031
|
22 |
%if %build_l10n
|
|
23 |
Source1: l10n-configure.sh
|
|
24 |
%endif
|
9965
|
25 |
URL: http://www.gnome.org/
|
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
Docdir: %{_defaultdocdir}/doc
|
|
28 |
Autoreqprov: on
|
|
29 |
|
|
30 |
%define libxml_version 2.5.0
|
|
31 |
%define gtk2_version 2.2.0
|
|
32 |
%define libgnomeprint_version 2.2.0
|
|
33 |
%define gnome_vfs_version 2.2.0
|
|
34 |
|
|
35 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
|
|
36 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
37 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
|
|
38 |
BuildRequires: libxml2-devel >= %{libxml_version}
|
|
39 |
BuildRequires: libgnomeprintui
|
|
40 |
Requires: gnome-vfs >= %{gnome_vfs_version}
|
|
41 |
Requires: gtk2 >= %{gtk2_version}
|
|
42 |
Requires: libgnomeprint >= %{libgnomeprint_version}
|
|
43 |
Requires: libxml2 >= %{libxml_version}
|
|
44 |
Requires: libgnomeprintui
|
|
45 |
|
|
46 |
%description
|
|
47 |
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget
|
|
48 |
GtkTextView.
|
|
49 |
|
|
50 |
It improves GtkTextView by implementing syntax highlighting and other features
|
|
51 |
typical of a source editor.
|
|
52 |
|
|
53 |
%package devel
|
|
54 |
Summary: gtksourceview development files
|
|
55 |
Group: Development/Libraries/X11
|
|
56 |
Requires: %{name} = %{version}
|
|
57 |
|
|
58 |
%description devel
|
|
59 |
Development files for gtksourceview
|
|
60 |
|
|
61 |
%prep
|
|
62 |
%setup -q
|
|
63 |
|
|
64 |
%build
|
|
65 |
%ifos linux
|
|
66 |
if [ -x /usr/bin/getconf ]; then
|
|
67 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
68 |
fi
|
|
69 |
%else
|
|
70 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
71 |
%endif
|
|
72 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
73 |
CPUS=1
|
|
74 |
fi
|
|
75 |
|
15423
|
76 |
gtkdocize
|
15628
|
77 |
libtoolize --force --copy
|
9965
|
78 |
aclocal $ACLOCAL_FLAGS
|
|
79 |
automake -a -c -f
|
|
80 |
autoconf
|
|
81 |
intltoolize --force
|
|
82 |
|
12031
|
83 |
%if %build_l10n
|
|
84 |
bash -x %SOURCE1 --enable-copyright
|
|
85 |
%endif
|
|
86 |
|
|
87 |
|
9965
|
88 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
89 |
./configure --prefix=%{_prefix} \
|
|
90 |
--datadir=%{_datadir} \
|
|
91 |
--sysconfdir=%{_sysconfdir} \
|
|
92 |
%{gtk_doc_option}
|
|
93 |
./config.status
|
|
94 |
make -j $CPUS
|
|
95 |
|
|
96 |
%install
|
|
97 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
98 |
|
|
99 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
|
|
100 |
|
|
101 |
%clean
|
|
102 |
rm -rf $RPM_BUILD_ROOT
|
|
103 |
|
|
104 |
%files
|
|
105 |
%defattr(-,root,root)
|
|
106 |
%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
|
|
107 |
%{_libdir}/*.so.*
|
|
108 |
%{_datadir}/gtksourceview-2.0
|
|
109 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
110 |
%{_datadir}/gtk-doc/html/gtksourceview
|
|
111 |
|
|
112 |
%files devel
|
|
113 |
%defattr(-,root,root)
|
|
114 |
%{_includedir}/gtksourceview-*
|
|
115 |
%{_libdir}/pkgconfig
|
|
116 |
%{_libdir}/*.la
|
|
117 |
%{_libdir}/*.so
|
|
118 |
%{_mandir}/man3/*
|
|
119 |
|
|
120 |
%changelog
|
16371
|
121 |
* Wed Aug 26 2009 - [email protected]
|
|
122 |
- Bump to 2.7.4.
|
16155
|
123 |
* Tue Jul 28 2009 - [email protected]
|
|
124 |
- Bump to 2.7.3.
|
16118
|
125 |
* Sun Jul 26 2009 - [email protected]
|
|
126 |
- Bump to 2.7.2.
|
15924
|
127 |
* Tue Jun 16 2009 - [email protected]
|
|
128 |
- Bump to 2.7.1.
|
15628
|
129 |
* Wed Apr 15 2009 - [email protected]
|
|
130 |
- Bump to 2.6.1
|
|
131 |
- run libtoolize to fix CDPATH issue.
|
15409
|
132 |
* Tue Mar 17 2009 - [email protected]
|
|
133 |
- Bump to 2.6.0
|
15394
|
134 |
* Fri Mar 13 2009 - [email protected]
|
|
135 |
- Bump to 2.5.6
|
15113
|
136 |
* Mon Feb 17 2009 - [email protected]
|
|
137 |
- Bump to 2.5.5.
|
|
138 |
- Add patch 01-gtkdoc-rebase.diff to fix GTKDOC_REBASE issue.
|
14881
|
139 |
* Thu Jan 08 2009 - [email protected]
|
|
140 |
- Bump to 2.5.2.
|
13811
|
141 |
* Sun Sep 28 2008 - [email protected]
|
|
142 |
- Correct download URL
|
|
143 |
|
13706
|
144 |
* Sun Sep 21 2008 - [email protected]
|
|
145 |
- Bump to 2.4.0.
|
|
146 |
|
13525
|
147 |
* Wed Sep 10 2008 - [email protected]
|
|
148 |
- Bump to 2.3.3.
|
|
149 |
|
13365
|
150 |
* Tue Sep 02 2008 - [email protected]
|
|
151 |
- Bump to 2.3.2.
|
|
152 |
|
13096
|
153 |
* Mon Aug 11 2008 - [email protected]
|
|
154 |
- Bump to 2.3.1.
|
|
155 |
|
12725
|
156 |
* Mon Jun 23 2008 - [email protected]
|
|
157 |
- Bump to 2.2.2.
|
|
158 |
|
12071
|
159 |
* Wed Apr 09 2008 - [email protected]
|
|
160 |
- Bump to 2.2.1.
|
|
161 |
|
11830
|
162 |
* Mon Mar 10 2008 - [email protected]
|
|
163 |
- Bump to 2.2.0.
|
|
164 |
|
11724
|
165 |
* Tue Feb 26 2008 - [email protected]
|
|
166 |
- Bump to 2.1.3.
|
|
167 |
|
11598
|
168 |
* Tue Feb 05 2008 - [email protected]
|
|
169 |
- Bump to 2.1.2. Remove upstream patch 01-212.
|
|
170 |
|
11589
|
171 |
* Mon Feb 04 2008 - [email protected]
|
|
172 |
- Add patch 01-212 to bump module to 2.1.2 while waiting for tarball release.
|
|
173 |
|
11545
|
174 |
* Tue Jan 29 2008 - [email protected]
|
|
175 |
- Bump to 2.1.1.
|
|
176 |
|
11475
|
177 |
* Thu Jan 17 2008 - [email protected]
|
|
178 |
- Bump to 2.1.0.
|
|
179 |
|
11247
|
180 |
* Tue Nov 27 2007 - [email protected]
|
|
181 |
- Bump to 2.0.2.
|
|
182 |
|
10684
|
183 |
* Mon Oct 22 2007 - [email protected]
|
|
184 |
- Bump to 2.0.1.
|
|
185 |
|
10520
|
186 |
* Wed Sep 19 2007 - [email protected]
|
|
187 |
- Bump to 2.0.0.
|
|
188 |
|
10488
|
189 |
* Tue Sep 11 2007 - [email protected]
|
|
190 |
- Bump to 1.90.5.
|
|
191 |
|
10386
|
192 |
* Tue Aug 28 2007 - [email protected]
|
|
193 |
- Bump to 1.90.4.
|
|
194 |
|
10244
|
195 |
* Wed Aug 01 2007 - [email protected]
|
|
196 |
- Bump to 1.90.3.
|
|
197 |
|
10159
|
198 |
* Wed Jul 04 2007 - [email protected]
|
|
199 |
- Bump to 1.90.2.
|
|
200 |
|
10078
|
201 |
* Tue Jun 19 2007 - [email protected]
|
|
202 |
- Bump to 1.90.1.
|
|
203 |
|
9965
|
204 |
* Wed May 30 2007 - [email protected]
|
|
205 |
- Initial spec file.
|