]> git.pld-linux.org Git - packages/gtksourceview2.git/blob - gtksourceview2.spec
9edb7e7751bb57da6ac104d95e128dba9d7b2da0
[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:        5
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-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)
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 %if "%{_rpmversion}" >= "5"
46 BuildArch:      noarch
47 %endif
48
49 %description apidocs
50 GtkSourceView API documentation.
51
52 %description apidocs -l pl.UTF-8
53 Dokumentacja API GtkSourceView.
54
55 %package devel
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
62
63 %description devel
64 Header files for GtkSourceView.
65
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe dla GtkSourceView.
68
69 %package static
70 Summary:        Static GtkSourceView library
71 Summary(pl.UTF-8):      Statyczna biblioteka GtkSourceView
72 Group:          X11/Development/Libraries
73 Requires:       %{name}-devel = %{version}-%{release}
74
75 %description static
76 Static GtkSourceView library.
77
78 %description static -l pl.UTF-8
79 Statyczna biblioteka GtkSourceView.
80
81 %prep
82 %setup -q -n gtksourceview-%{version}
83
84 %build
85 %{__gtkdocize}
86 %{__intltoolize}
87 %{__libtoolize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 %configure \
93         --disable-silent-rules \
94         --enable-gtk-doc \
95         --enable-static \
96         --with-html-dir=%{_gtkdocdir}
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtksourceview-2.0.la
106
107 %find_lang gtksourceview-2.0
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
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
121
122 %files apidocs
123 %defattr(644,root,root,755)
124 %{_gtkdocdir}/gtksourceview-2.0
125
126 %files devel
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
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libgtksourceview-2.0.a
This page took 0.081082 seconds and 2 git commands to generate.