]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
add format-security.patch, drop unneeded -Wl,--as-needed
[packages/libgtkhtml.git] / libgtkhtml.spec
1 Summary:        GTK HTML widget 2
2 Summary(pl.UTF-8):      Widget GTK HTML dla GNOME2
3 Name:           libgtkhtml
4 Version:        2.11.1
5 Release:        6
6 License:        GPL/LGPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a1d1a197dcff8c4571659deef5495e24
10 Patch0:         format-security.patch
11 URL:            http://gtkhtml2.codefactory.se/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gail-devel >= 1.9.0
15 BuildRequires:  gtk+2-devel >= 2:2.10.0
16 BuildRequires:  libselinux-devel
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel >= 1:2.6.26
19 BuildRequires:  pkgconfig
20 BuildRequires:  xorg-lib-libSM-devel
21 Requires:       gail >= 1.9.0
22 Requires:       libxml2 >= 1:2.6.26
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GTK HTML Widget for the GNOME 2 platform.
27
28 %description -l pl.UTF-8
29 Widget GTK HTML dla platformy GNOME2.
30
31 %package devel
32 Summary:        Header files for GTK HTML 2
33 Summary(pl.UTF-8):      Pliki nagłówkowe GTK HTML 2
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       gail-devel >= 1.9.0
37 Requires:       libxml2-devel >= 1:2.6.26
38
39 %description devel
40 Header files for GTK HTML 2.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe dla GTK HTML 2.
44
45 %package static
46 Summary:        Static GTK HTML 2 library
47 Summary(pl.UTF-8):      Statyczna biblioteka GTK HTML 2
48 Group:          X11/Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static version of GTK HTML 2 library.
53
54 %description static -l pl.UTF-8
55 Statyczna wersja biblioteki GTK HTML 2.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__automake}
66 %configure
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkhtml-2.la
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}/libgtkhtml-2.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libgtkhtml-2.so.0
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libgtkhtml-2.so
91 %{_includedir}/gtkhtml-2.0
92 %{_pkgconfigdir}/libgtkhtml-2.0.pc
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libgtkhtml-2.a
This page took 0.07332 seconds and 3 git commands to generate.