]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
- rel.7 for rebuild with gail-1.9.0
[packages/libgtkhtml.git] / libgtkhtml.spec
1 Summary:        GTK HTML widget 2
2 Summary(pl):    Widget GTK HTML dla GNOME2
3 Name:           libgtkhtml
4 Version:        2.6.3
5 Release:        7
6 License:        GPL/LGPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/libgtkhtml/2.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c77789241d725e189ffc0391eda94361
10 URL:            http://gtkhtml2.codefactory.se/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gail-devel >= 1.9.0
14 BuildRequires:  gtk+2-devel >= 2:2.10.0
15 BuildRequires:  libtool
16 BuildRequires:  libxml2-devel >= 1:2.6.26
17 BuildRequires:  pkgconfig
18 Requires:       gail >= 1.9.0
19 Requires:       libxml2 >= 1:2.6.26
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 GTK HTML Widget for the GNOME 2 platform.
24
25 %description -l pl
26 Widget GTK HTML dla platformy GNOME2.
27
28 %package devel
29 Summary:        Header files for GTK HTML 2
30 Summary(pl):    Pliki nag³ówkowe GTK HTML 2
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       gail-devel >= 1.9.0
34 Requires:       libxml2-devel >= 1:2.6.26
35
36 %description devel
37 Header files for GTK HTML 2.
38
39 %description devel -l pl
40 Pliki nag³ówkowe dla GTK HTML 2.
41
42 %package static
43 Summary:        Static GTK HTML 2 library
44 Summary(pl):    Statyczna biblioteka GTK HTML 2
45 Group:          X11/Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static version of GTK HTML 2 library.
50
51 %description static -l pl
52 Statyczna wersja biblioteki GTK HTML 2.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
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.03092 seconds and 4 git commands to generate.