]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
- BR: ac,am,lt
[packages/libgtkhtml.git] / libgtkhtml.spec
1 %define gail_req 1.3.2
2 %define libxml2_req 2.5.1
3 %define libgnomecanvas_req 2.3.0
4 Summary:        GTK HTML widget 2
5 Summary(pl):    Widget GTK HTML dla GNOME2
6 Name:           libgtkhtml
7 Version:        2.3.4
8 Release:        1
9 License:        GPL/LGPL
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
12 # Source0-md5:  c0ad6532ad7d1e36299dfc69ce5bf748
13 URL:            http://gtkhtml2.codefactory.se/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gail-devel >= %{gail_req}
17 BuildRequires:  gtk+2-devel >= 2.2.0
18 BuildRequires:  libgnomecanvas-devel >= %{libgnomecanvas_req}
19 BuildRequires:  libtool
20 BuildRequires:  libxml2-devel >= %{libxml2_req}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 GTK HTML Widget for the GNOME 2 platform.
25
26 %description -l pl
27 Widget GTK HTML dla platformy GNOME2.
28
29 %package devel
30 Summary:        Header files for GTK HTML 2
31 Summary(pl):    Pliki nag³ówkowe GTK HTML 2
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}
34 Requires:       gail-devel >= %{gail_req}
35 Requires:       libgnomecanvas-devel >= %{libgnomecanvas_req}
36 Requires:       libxml2-devel >= %{libxml2_req}
37
38 %description devel
39 Header files for GTK HTML 2.
40
41 %description devel -l pl
42 Pliki nag³ówkowe dla GTK HTML 2.
43
44 %package static
45 Summary:        Static GTK HTML 2 library
46 Summary(pl):    Statyczna biblioteka GTK HTML 2
47 Group:          X11/Development/Libraries
48 Requires:       %{name}-devel = %{version}
49 Requires:       gail-static >= %{gail_req}
50 Requires:       libgnomecanvas-static >= %{libgnomecanvas_req}
51 Requires:       libxml2-static >= %{libxml2_req}
52
53 %description static
54 Static version of GTK HTML 2 library.
55
56 %description static -l pl
57 Statyczna wersja biblioteki GTK HTML 2.
58
59 %prep
60 %setup -q
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure 
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT 
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog TODO README NEWS
86 %attr(755,root,root) %{_libdir}/*.so.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %{_includedir}/gtkhtml-2.0
91 %{_libdir}/*.la
92 %attr(755,root,root) %{_libdir}/*.so
93 %{_pkgconfigdir}/*.pc
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/*.a
This page took 0.069484 seconds and 4 git commands to generate.