]> git.pld-linux.org Git - packages/gtksourceview.git/blob - gtksourceview.spec
7bf4da30889ab61e3aa56d17129c4697c89278c7
[packages/gtksourceview.git] / gtksourceview.spec
1 Summary:        Text widget that extends the standard GTK+ 2.x
2 Summary(pl):    Widget tekstowy rozszerzaj±cy standardowy z GTK+ 2.x
3 Name:           gtksourceview
4 Version:        1.0.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
9 # Source0-md5:  dccdc61d7626f2d222605f25fee41997
10 Patch0:         %{name}-locale-names.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gnome-common >= 2.4.0
15 BuildRequires:  gnome-vfs2-devel >= 2.6.0
16 BuildRequires:  gtk+2-devel >= 2:2.4.0
17 BuildRequires:  gtk-doc >= 1.0
18 BuildRequires:  intltool >= 0.30
19 BuildRequires:  libgnomeprintui-devel >= 2.6.0
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel >= 2.6.9
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GtkSourceView is a text widget that extends the standard GTK+ 2.x text
26 widget GtkTextView. It improves GtkTextView by implementing syntax
27 highlighting and other features typical of a source editor.
28
29 %description -l pl
30 GtkSourceView to widget tekstowy rozszerzaj±cy standardowy widget
31 tekstowy GtkTextView z GTK+ 2.x. Ulepsza GtkTextView poprzez
32 zaimplementowanie pod¶wietlania sk³adni i innych mo¿liwo¶ci typowych
33 dla edytora ¼róde³.
34
35 %package devel
36 Summary:        Header files for gtktextview
37 Summary(pl):    Pliki nag³ówkowe dla gtktextview
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       gtk-doc-common
41 Requires:       gtk+2-devel >= 2:2.4.0
42 Requires:       libgnomeprint-devel >= 2.6.0
43 Requires:       libxml2-devel >= 2.5.10
44
45 %description devel
46 Header files for gtktextview.
47
48 %description devel -l pl
49 Pliki nag³ówkowe dla gtktextview.
50
51 %package static
52 Summary:        Static gtksourceview library
53 Summary(pl):    Statyczna biblioteka gtksourceview
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static gtksourceview library.
59
60 %description static -l pl
61 Statyczna biblioteka gtksourceview.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 mv po/{no,nb}.po
68
69 %build
70 cp -f /usr/share/automake/config.sub .
71 %{__libtoolize}
72 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --with-html-dir=%{_gtkdocdir} \
77         --enable-static \
78         --enable-gtk-doc
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %find_lang %{name}-1.0
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files -f %{name}-1.0.lang
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
98 %{_datadir}/%{name}-1.0
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_libdir}/lib*.la
104 %{_includedir}/%{name}-1.0
105 %{_pkgconfigdir}/*
106 %{_gtkdocdir}/%{name}
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
This page took 0.046986 seconds and 2 git commands to generate.