]>
Commit | Line | Data |
---|---|---|
88a108b5 AM |
1 | Summary: Apache server-status viewer |
2 | Name: ftss | |
3 | Version: 0.9.3 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Networking/Admin | |
7 | Source0: http://fabletech.com/ftss-download/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 2a8a364a87e1b9f310e3b068e2f20fe5 | |
9 | URL: http://fabletech.com/ftss | |
10 | BuildRequires: apache-devel | |
11 | BuildRequires: apr-devel | |
12 | BuildRequires: apr-util-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _sbindir /sbin | |
16 | ||
17 | %description | |
18 | Apache server-status viewer from "name based" shared memory segment | |
19 | setup in apache for the scoreboard. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %configure \ | |
26 | CFLAGS="%{rpmcppflags} $(%{_bindir}/apu-1-config --includes)" \ | |
27 | --with-apr-config=%{_bindir}/apr-1-config | |
28 | ||
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %{__make} install \ | |
35 | DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc AUTHORS ChangeLog README | |
43 | %attr(755,root,root) %{_sbindir}/ftss |