1 Summary: Text widget that extends the standard GTK+ 2.x
2 Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 2.x
6 License: GPL v2+ and LGPL v2+
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
9 # Source0-md5: 1ed3eae620ec95b82baae9de6600af22
10 URL: http://www.gnome.org/
11 BuildRequires: autoconf >= 2.64
12 BuildRequires: automake >= 1:1.10.3
13 BuildRequires: docbook-dtd412-xml
14 BuildRequires: gettext-devel
15 BuildRequires: gnome-common >= 2.24.0
16 BuildRequires: gtk+2-devel >= 2:2.14.0
17 BuildRequires: gtk-doc >= 1.11
18 BuildRequires: intltool >= 0.36.1
19 BuildRequires: libtool
20 BuildRequires: libxml2-devel >= 1:2.6.31
21 BuildRequires: pkgconfig
22 BuildRequires: rpm-pythonprov
23 # sr@Latn vs. sr@latin
24 Conflicts: glibc-misc < 6:2.7
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 GtkSourceView is a text widget that extends the standard GTK+ 2.x text
29 widget GtkTextView. It improves GtkTextView by implementing syntax
30 highlighting and other features typical of a source editor.
32 %description -l pl.UTF-8
33 GtkSourceView to widget tekstowy rozszerzający standardowy widget
34 tekstowy GtkTextView z GTK+ 2.x. Ulepsza GtkTextView poprzez
35 zaimplementowanie podświetlania składni i innych możliwości typowych
39 Summary: GtkSourceView API documentation
40 Summary(pl.UTF-8): Dokumentacja API GtkSourceView
42 Requires: gtk-doc-common
43 Conflicts: gtksourceview-apidocs
46 GtkSourceView API documentation.
48 %description apidocs -l pl.UTF-8
49 Dokumentacja API GtkSourceView.
52 Summary: Header files for GtkSourceView
53 Summary(pl.UTF-8): Pliki nagłówkowe dla GtkSourceView
54 Group: X11/Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: gtk+2-devel >= 2:2.14.0
57 Requires: libxml2-devel >= 1:2.6.31
60 Header files for GtkSourceView.
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe dla GtkSourceView.
66 Summary: Static GtkSourceView library
67 Summary(pl.UTF-8): Statyczna biblioteka GtkSourceView
68 Group: X11/Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
72 Static GtkSourceView library.
74 %description static -l pl.UTF-8
75 Statyczna biblioteka GtkSourceView.
78 %setup -q -n gtksourceview-%{version}
79 sed -i s#^en@shaw## po/LINGUAS
93 --with-html-dir=%{_gtkdocdir}
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
102 %find_lang gtksourceview-2.0
105 rm -rf $RPM_BUILD_ROOT
107 %post -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
110 %files -f gtksourceview-2.0.lang
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
114 %{_datadir}/gtksourceview-2.0
117 %defattr(644,root,root,755)
118 %{_gtkdocdir}/gtksourceview-2.0
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
123 %{_libdir}/libgtksourceview-2.0.la
124 %{_includedir}/gtksourceview-2.0
125 %{_pkgconfigdir}/gtksourceview-2.0.pc
128 %defattr(644,root,root,755)
129 %{_libdir}/libgtksourceview-2.0.a