]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
- proper gail/libxml2 install deps
[packages/libgtkhtml.git] / libgtkhtml.spec
1 %define         gail_req                1.6.0
2 %define         libxml2_req             2.5.10
3 Summary:        GTK HTML widget 2
4 Summary(pl):    Widget GTK HTML dla GNOME2
5 Name:           libgtkhtml
6 Version:        2.6.0
7 Release:        1
8 License:        GPL/LGPL
9 Group:          X11/Libraries
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
11 # Source0-md5:  100d747ee9dce852e313c4f9fa202813
12 URL:            http://gtkhtml2.codefactory.se/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gail-devel >= %{gail_req}
16 BuildRequires:  gtk+2-devel >= 2:2.4.0
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel >= %{libxml2_req}
19 Requires:       gail >= %{gail_req}
20 Requires:       libxml2 >= %{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:       libxml2-devel >= %{libxml2_req}
36
37 %description devel
38 Header files for GTK HTML 2.
39
40 %description devel -l pl
41 Pliki nag³ówkowe dla GTK HTML 2.
42
43 %package static
44 Summary:        Static GTK HTML 2 library
45 Summary(pl):    Statyczna biblioteka GTK HTML 2
46 Group:          X11/Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static version of GTK HTML 2 library.
51
52 %description static -l pl
53 Statyczna wersja biblioteki GTK HTML 2.
54
55 %prep
56 %setup -q
57
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog TODO README NEWS
81 %attr(755,root,root) %{_libdir}/*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/*.so
86 %{_libdir}/*.la
87 %{_includedir}/gtkhtml-2.0
88 %{_pkgconfigdir}/*.pc
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/*.a
This page took 0.033242 seconds and 4 git commands to generate.