]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
updated to 1.99.8
[packages/libgtkhtml.git] / libgtkhtml.spec
1 # TODO:
2 # checl BRs
3 Summary:        GTK HTML widget 2
4 Summary(pl):    Widget GTK HTML dla GNOME2
5 Name:           libgtkhtml
6 Version:        1.99.8
7 Release:        1
8 License:        GPL/LGPL
9 Group:          X11/Libraries
10 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
11 BuildRequires:  gail-devel
12 BuildRequires:  gnome-vfs2-devel
13 BuildRequires:  gtk+2-devel
14 BuildRequires:  libxml2-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19 %define         _sysconfdir     /etc/X11/GNOME2
20
21 %description
22 GTK HTML Widget for the GNOME 2 platform.
23
24 %description -l pl
25 Widget GTK HTML dla platformy GNOME2.
26
27 %package devel
28 Summary:        Header files for GTK HTML 2
29 Summary(pl):    Pliki nag³ówkowe GTK HTML 2
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 Header files for GTK HTML 2.
35
36 %description devel -l pl
37 Pliki nag³ówkowe dla GTK HTML 2.
38
39 %package static
40 Summary:        Static GTK HTML 2 library
41 Summary(pl):    Statyczna biblioteka GTK HTML 2
42 Group:          X11/Development/Libraries
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Static version of GTK HTML 2 library.
47
48 %description static -l pl
49 Statyczna wersja biblioteki GTK HTML 2.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure \
56         --disable-gtk-doc
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         pkgconfigdir=%{_pkgconfigdir}
66
67 gzip -9nf AUTHORS ChangeLog INSTALL README NEWS
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc *.gz
78 %attr(755,root,root) %{_libdir}/*.so.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %{_includedir}/gtkhtml-2.0
83 %attr(755,root,root) %{_libdir}/*.??
84 %{_pkgconfigdir}/*.pc
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/*.a
This page took 0.037878 seconds and 4 git commands to generate.