]> git.pld-linux.org Git - packages/gtksourceview2.git/blob - gtksourceview2.spec
- rebuild
[packages/gtksourceview2.git] / gtksourceview2.spec
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
3 Name:           gtksourceview2
4 Version:        2.8.1
5 Release:        2
6 License:        GPL v2+ and LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.8/gtksourceview-%{version}.tar.bz2
9 # Source0-md5:  7741e41d3c7c83a35014f0faef3c94a2
10 URL:            http://www.gnome.org/
11 BuildRequires:  autoconf >= 2.59
12 BuildRequires:  automake >= 1:1.8
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-common >= 2.24.0
15 BuildRequires:  gtk+2-devel >= 2:2.14.0
16 BuildRequires:  gtk-doc >= 1.8
17 BuildRequires:  intltool >= 0.36.1
18 BuildRequires:  libtool
19 BuildRequires:  libxml2-devel >= 1:2.6.31
20 BuildRequires:  pkgconfig
21 # sr@Latn vs. sr@latin
22 Conflicts:      glibc-misc < 6:2.7
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GtkSourceView is a text widget that extends the standard GTK+ 2.x text
27 widget GtkTextView. It improves GtkTextView by implementing syntax
28 highlighting and other features typical of a source editor.
29
30 %description -l pl.UTF-8
31 GtkSourceView to widget tekstowy rozszerzający standardowy widget
32 tekstowy GtkTextView z GTK+ 2.x. Ulepsza GtkTextView poprzez
33 zaimplementowanie podświetlania składni i innych możliwości typowych
34 dla edytora źródeł.
35
36 %package apidocs
37 Summary:        GtkSourceView API documentation
38 Summary(pl.UTF-8):      Dokumentacja API GtkSourceView
39 Group:          Documentation
40 Requires:       gtk-doc-common
41 Conflicts:      gtksourceview-apidocs
42
43 %description apidocs
44 GtkSourceView API documentation.
45
46 %description apidocs -l pl.UTF-8
47 Dokumentacja API GtkSourceView.
48
49 %package devel
50 Summary:        Header files for GtkSourceView
51 Summary(pl.UTF-8):      Pliki nagłówkowe dla GtkSourceView
52 Group:          X11/Development/Libraries
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       gtk+2-devel >= 2:2.14.0
55 Requires:       libxml2-devel >= 1:2.6.31
56
57 %description devel
58 Header files for GtkSourceView.
59
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe dla GtkSourceView.
62
63 %package static
64 Summary:        Static GtkSourceView library
65 Summary(pl.UTF-8):      Statyczna biblioteka GtkSourceView
66 Group:          X11/Development/Libraries
67 Requires:       %{name}-devel = %{version}-%{release}
68
69 %description static
70 Static GtkSourceView library.
71
72 %description static -l pl.UTF-8
73 Statyczna biblioteka GtkSourceView.
74
75 %prep
76 %setup -q -n gtksourceview-%{version}
77
78 %build
79 %{__gtkdocize}
80 %{__intltoolize}
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --enable-gtk-doc \
88         --enable-static \
89         --with-html-dir=%{_gtkdocdir}
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %find_lang gtksourceview-2.0
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files -f gtksourceview-2.0.lang
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
110 %{_datadir}/gtksourceview-2.0
111
112 %files apidocs
113 %defattr(644,root,root,755)
114 %{_gtkdocdir}/gtksourceview-2.0
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
119 %{_libdir}/libgtksourceview-2.0.la
120 %{_includedir}/gtksourceview-2.0
121 %{_pkgconfigdir}/gtksourceview-2.0.pc
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libgtksourceview-2.0.a
This page took 0.103258 seconds and 4 git commands to generate.