]> git.pld-linux.org Git - packages/libgtkhtml.git/blob - libgtkhtml.spec
- adjusted License, updated URL, run autoheader
[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:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        https://download.gnome.org/sources/libgtkhtml/2.11/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a1d1a197dcff8c4571659deef5495e24
10 Patch0:         format-security.patch
11 URL:            https://www.gnome.org/
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 %{__autoheader}
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 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkhtml-2.la
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog TODO README NEWS
87 %attr(755,root,root) %{_libdir}/libgtkhtml-2.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libgtkhtml-2.so.0
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libgtkhtml-2.so
93 %{_includedir}/gtkhtml-2.0
94 %{_pkgconfigdir}/libgtkhtml-2.0.pc
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/libgtkhtml-2.a
This page took 0.192545 seconds and 3 git commands to generate.