]> git.pld-linux.org Git - packages/gtksourceview2.git/blob - gtksourceview2.spec
- updated to 2.10.1
[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.10.1
5 Release:        1
6 License:        GPL v2+ and LGPL v2+
7 Group:          X11/Libraries
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)
26
27 %description
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.
31
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
36 dla edytora źródeł.
37
38 %package apidocs
39 Summary:        GtkSourceView API documentation
40 Summary(pl.UTF-8):      Dokumentacja API GtkSourceView
41 Group:          Documentation
42 Requires:       gtk-doc-common
43 Conflicts:      gtksourceview-apidocs
44
45 %description apidocs
46 GtkSourceView API documentation.
47
48 %description apidocs -l pl.UTF-8
49 Dokumentacja API GtkSourceView.
50
51 %package devel
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
58
59 %description devel
60 Header files for GtkSourceView.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe dla GtkSourceView.
64
65 %package static
66 Summary:        Static GtkSourceView library
67 Summary(pl.UTF-8):      Statyczna biblioteka GtkSourceView
68 Group:          X11/Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static GtkSourceView library.
73
74 %description static -l pl.UTF-8
75 Statyczna biblioteka GtkSourceView.
76
77 %prep
78 %setup -q -n gtksourceview-%{version}
79 sed -i s#^en@shaw## po/LINGUAS
80 rm po/en@shaw.po
81
82 %build
83 %{__gtkdocize}
84 %{__intltoolize}
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         --enable-gtk-doc \
92         --enable-static \
93         --with-html-dir=%{_gtkdocdir}
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %find_lang gtksourceview-2.0
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
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
115
116 %files apidocs
117 %defattr(644,root,root,755)
118 %{_gtkdocdir}/gtksourceview-2.0
119
120 %files devel
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
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libgtksourceview-2.0.a
This page took 0.040389 seconds and 4 git commands to generate.