Summary: ekhtml - a speedy HTML parser
Summary(pl.UTF-8): ekhtml - szybki analizator HTML-a
Name: ekhtml
Version: 0.3.2
Release: 2
License: BSD
Group: Libraries
Source0: http://downloads.sourceforge.net/ekhtml/%{name}-%{version}.tar.gz
# Source0-md5: cc9d2e4adaccacfacefddbd75ccccfdf
URL: http://ekhtml.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
ekhtml is a speedy, yet forgiving, SAX-style HTML parser.
%description -l pl.UTF-8
ekhtml to szybki ale odpuszczający analizator HTML-a w stylu SAX.
%package devel
Summary: Header files for ekhtml
Summary(pl.UTF-8): Pliki nagłówkowe do ekhtml
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Header files for ekhtml.
%description devel -l pl.UTF-8
Pliki nagłówkowe do ekhtml.
%package static
Summary: Static ekhtml library
Summary(pl.UTF-8): Biblioteka statyczna ekhtml
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Static ekhtml library.
%description static -l pl.UTF-8
Biblioteka statyczna ekhtml.
%prep
%setup -q
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure
%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc ChangeLog README AUTHORS NEWS TODO
%attr(755,root,root) %{_libdir}/libekhtml.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libekhtml.so.0
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libekhtml.so
%{_libdir}/libekhtml.la
%{_includedir}/ekhtml.h
%files static
%defattr(644,root,root,755)
%{_libdir}/libekhtml.a