File ehs.spec of Package ehs

Name:           ehs
Version:        1.3.1
Release:        8.2
#
License:        GPL
Group:          Productivity/Networking/Other
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++ openssl-devel pme-devel
#
Url:            http://xaxxon.slackworks.com/ehs/
Source:         %{name}-%{version}.tar.bz2
Source1:	%{name}-%{version}.rpmlintrc
Patch0:		ehs-1.3.1.patch
Patch1:		ehs-gcc-43.patch
#
Requires:       openssl pme
Summary:        HTTP embedded server library

%description
EHS stands for embedded HTTP server. It allows you to easily add web server functionality to any C++ app. EHS allows your program to bind a port (probably not port 80, but it could if you weren't running a web server there already and ran the application as root) and handle application-specific web requests. It is handy for remote administration or statistics gathering. EHS is implemented as a C++ class which your application subclasses.

%package devel
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       openssl-devel libstdc++-devel pme-devel
#
Summary:        Development files for ehs

%description devel

%debug_package
%prep
%setup
%patch0 -p1
%patch1 -p1

%build
%configure --with-ssl --with-debug
%{__make}

%install
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files devel
%defattr(-,root,root,-)
%{_includedir}/contentdisposition.h
%{_includedir}/datum.h
%{_includedir}/dynamicssllocking.h
%{_includedir}/ehs.h
%{_includedir}/ehstypes.h
%{_includedir}/formvalue.h
%{_includedir}/httprequest.h
%{_includedir}/httpresponse.h
%{_includedir}/networkabstraction.h
%{_includedir}/securesocket.h
%{_includedir}/socket.h
%{_includedir}/sslerror.h
%{_includedir}/staticssllocking.h
%{_includedir}/threadabstractionlayer.h
%{_libdir}/libehs.a
%{_libdir}/libehs.la

%files
%defattr(-,root,root,-)
%{_libdir}/libehs.so
%{_libdir}/libehs.so.0
%{_libdir}/libehs.so.0.0.0

%changelog
* Thu Jul  24 2008 eltorio@none.com
- initial release



openSUSE Build Service is sponsored by