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: 1219ad1694df136f126507466aeb41aa
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-tools >= 0.17
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.40
19 BuildRequires: libtool >= 2:2.2.6
20 BuildRequires: libxml2-devel >= 1:2.6.31
21 BuildRequires: pkgconfig
22 BuildRequires: rpm-pythonprov
23 Requires: glib2 >= 1:2.24
24 # sr@Latn vs. sr@latin
25 Conflicts: glibc-misc < 6:2.7
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 GtkSourceView is a text widget that extends the standard GTK+ 2.x text
30 widget GtkTextView. It improves GtkTextView by implementing syntax
31 highlighting and other features typical of a source editor.
33 %description -l pl.UTF-8
34 GtkSourceView to widget tekstowy rozszerzający standardowy widget
35 tekstowy GtkTextView z GTK+ 2.x. Ulepsza GtkTextView poprzez
36 zaimplementowanie podświetlania składni i innych możliwości typowych
40 Summary: GtkSourceView API documentation
41 Summary(pl.UTF-8): Dokumentacja API GtkSourceView
43 Requires: gtk-doc-common
44 Conflicts: gtksourceview-apidocs
45 %if "%{_rpmversion}" >= "5"
50 GtkSourceView API documentation.
52 %description apidocs -l pl.UTF-8
53 Dokumentacja API GtkSourceView.
56 Summary: Header files for GtkSourceView
57 Summary(pl.UTF-8): Pliki nagłówkowe dla GtkSourceView
58 Group: X11/Development/Libraries
59 Requires: %{name} = %{version}-%{release}
60 Requires: gtk+2-devel >= 2:2.14.0
61 Requires: libxml2-devel >= 1:2.6.31
64 Header files for GtkSourceView.
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe dla GtkSourceView.
70 Summary: Static GtkSourceView library
71 Summary(pl.UTF-8): Statyczna biblioteka GtkSourceView
72 Group: X11/Development/Libraries
73 Requires: %{name}-devel = %{version}-%{release}
76 Static GtkSourceView library.
78 %description static -l pl.UTF-8
79 Statyczna biblioteka GtkSourceView.
82 %setup -q -n gtksourceview-%{version}
93 --disable-silent-rules \
96 --with-html-dir=%{_gtkdocdir}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtksourceview-2.0.la
107 %find_lang gtksourceview-2.0
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
115 %files -f gtksourceview-2.0.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
118 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
120 %{_datadir}/gtksourceview-2.0
123 %defattr(644,root,root,755)
124 %{_gtkdocdir}/gtksourceview-2.0
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
129 %{_includedir}/gtksourceview-2.0
130 %{_pkgconfigdir}/gtksourceview-2.0.pc
133 %defattr(644,root,root,755)
134 %{_libdir}/libgtksourceview-2.0.a