]> git.pld-linux.org Git - packages/flood.git/commitdiff
- new (based on dag's spec). doesn't build here (needs apr1 updates?)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 8 Aug 2006 00:40:06 +0000 (00:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flood.spec -> 1.1

flood.spec [new file with mode: 0644]

diff --git a/flood.spec b/flood.spec
new file mode 100644 (file)
index 0000000..d4f6ff6
--- /dev/null
@@ -0,0 +1,48 @@
+Summary:       Profile-driven HTTP load tester
+Name:          flood
+Version:       0.4
+Release:       0.1
+License:       Apache
+Group:         Applications/Networking
+URL:           http://httpd.apache.org/test/flood/
+Source0:       http://www.apache.org/dist/httpd/flood/%{name}-%{version}.tar.gz
+# Source0-md5: c10abd6f46175ab54b554337525d576d
+Patch0:                %{name}-libtool.patch
+BuildRequires: apr-devel
+BuildRequires: apr-util-devel
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Flood is a profile-driven HTTP load tester. It can be used to gather
+important performance matrics for your website.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__autoconf}
+%configure \
+       --enable-ssl \
+       --with-openssl="%{_includedir}/openssl" \
+       --with-capath="%{_datadir}/ssl/certs" \
+       --with-apr=/usr/bin/apr-1-config \
+       --with-apr-util=/usr/bin/apu-1-config
+
+%{__make} \
+       top_builddir=.
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D flood $RPM_BUILD_ROOT%{_bindir}/flood
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES CONFIG DESIGN LICENSE STATUS examples/
+%attr(755,root,root) %{_bindir}/flood
This page took 0.091524 seconds and 4 git commands to generate.