]> git.pld-linux.org Git - packages/gtksourceview2.git/blob - gtksourceview2.spec
4bffbd8e4b407569c4f3bf33984d349f577822a5
[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.5
5 Release:        3
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:  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-devel >= 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)
27
28 %description
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.
32
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
37 dla edytora źródeł.
38
39 %package apidocs
40 Summary:        GtkSourceView API documentation
41 Summary(pl.UTF-8):      Dokumentacja API GtkSourceView
42 Group:          Documentation
43 Requires:       gtk-doc-common
44 Conflicts:      gtksourceview-apidocs
45
46 %description apidocs
47 GtkSourceView API documentation.
48
49 %description apidocs -l pl.UTF-8
50 Dokumentacja API GtkSourceView.
51
52 %package devel
53 Summary:        Header files for GtkSourceView
54 Summary(pl.UTF-8):      Pliki nagłówkowe dla GtkSourceView
55 Group:          X11/Development/Libraries
56 Requires:       %{name} = %{version}-%{release}
57 Requires:       gtk+2-devel >= 2:2.14.0
58 Requires:       libxml2-devel >= 1:2.6.31
59
60 %description devel
61 Header files for GtkSourceView.
62
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe dla GtkSourceView.
65
66 %package static
67 Summary:        Static GtkSourceView library
68 Summary(pl.UTF-8):      Statyczna biblioteka GtkSourceView
69 Group:          X11/Development/Libraries
70 Requires:       %{name}-devel = %{version}-%{release}
71
72 %description static
73 Static GtkSourceView library.
74
75 %description static -l pl.UTF-8
76 Statyczna biblioteka GtkSourceView.
77
78 %prep
79 %setup -q -n gtksourceview-%{version}
80
81 %build
82 %{__gtkdocize}
83 %{__intltoolize}
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__autoheader}
88 %{__automake}
89 %configure \
90         --disable-silent-rules \
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 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtksourceview-2.0.la
103
104 %find_lang gtksourceview-2.0
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post   -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
111
112 %files -f gtksourceview-2.0.lang
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
115 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
117 %{_datadir}/gtksourceview-2.0
118
119 %files apidocs
120 %defattr(644,root,root,755)
121 %{_gtkdocdir}/gtksourceview-2.0
122
123 %files devel
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
126 %{_includedir}/gtksourceview-2.0
127 %{_pkgconfigdir}/gtksourceview-2.0.pc
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libgtksourceview-2.0.a
This page took 0.091246 seconds and 2 git commands to generate.