File ekhtml.spec of Package ekhtml

Name:           ekhtml
Version:        0.3.2
Release:        1
License:        BSD
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Libraries
Summary:        El-Kabong - HTML Parser
Source:			%{name}-%{version}.tar.bz2
BuildRequires:	autoconf, automake, libtool

%description

El-Kabong is a high-speed, forgiving, sax-style HTML parser. Its aim is to provide consumers with a very fast, clean, lightweight library which parses HTML quickly, while forgiving syntactically incorrect tags.


%package -n libekhtml0
Group:          System/Libraries
Summary:        El-Kabong - HTML Parser

%description -n libekhtml0

El-kabong is a high-speed, forgiving, sax-style HTML parser. Its aim is to provide consumers with a very fast, clean, lightweight library which parses HTML quickly, while forgiving syntactically incorrect tags.

%package -n libekhtml-devel
Group:          Development/Libraries
Summary:        El-Kabong - HTML Parser
Requires:       libekhtml0 = %{version} glibc-devel

%description -n libekhtml-devel

Header files for ekbhtml


%prep
%setup -q

%build
autoreconf -fi

%configure --disable-static --with-pic
# Not parallel safe...
make -j1

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la

%post -n libekhtml0 -p /sbin/ldconfig

%postun -n libekhtml0 -p /sbin/ldconfig

%files -n libekhtml0
%defattr(-,root,root)
%{_libdir}/libekhtml.so.0*

%files -n libekhtml-devel
%defattr(-,root,root)
%{_includedir}/ekhtml.h
%{_libdir}/libekhtml.so

%changelog
openSUSE Build Service is sponsored by