File weighttp.spec of Package weighttp

# norootforbuild

Name:           weighttp
Version:        0.3_snap_20150621_213358_g8f2147
Release:        0
#
%define pkg_name %{name}
%define pkg_version 0.3
%define tarball_version 0.3-snap-20150621-213358-g8f2147
#
Group:          Productivity/Networking/Web/Servers
License:        BSD-3-Clause
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libev-devel python
#
Url:            http://redmine.lighttpd.net/projects/weighttp/wiki
Source:         %{name}_%{tarball_version}.orig.tar.xz
#
Summary:        Small tool to benchmark webservers
%description
weighttp (pronounced weighty) is a lightweight and small benchmarking tool for
webservers.  It was designed to be very fast and easy to use and only supports
a tiny fraction of the HTTP protocol in order to be lean and simple.  weighttp
supports multithreading to make good use of modern CPUs with multiple cores as
well as asynchronous i/o for concurrent requests within a single thread.

%prep
%setup -n %{pkg_name}-%{pkg_version}

%build
%configure
make

%install
make install DESTDIR=%{buildroot}

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

%files
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_bindir}/weighttp

%changelog
openSUSE Build Service is sponsored by