]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
- merged from DEVEL and updated to 2.6.0
[packages/libgtkhtml.git] / libgtkhtml.spec
1 %define gail_req 1.6.0
2 %define libxml2_req 2.5.10
3 %define libgnomecanvas_req 2.6.0
4 Summary:        GTK HTML widget 2
5 Summary(pl):    Widget GTK HTML dla GNOME2
6 Name:           libgtkhtml
7 Version:        2.6.0
8 Release:        1
9 License:        GPL/LGPL
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
12 # Source0-md5:  100d747ee9dce852e313c4f9fa202813
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.4.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}-%{release}
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}-%{release}
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 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog TODO README NEWS
85 %attr(755,root,root) %{_libdir}/*.so.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_includedir}/gtkhtml-2.0
90 %{_libdir}/*.la
91 %attr(755,root,root) %{_libdir}/*.so
92 %{_pkgconfigdir}/*.pc
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/*.a
This page took 0.030022 seconds and 4 git commands to generate.