]>
Commit | Line | Data |
---|---|---|
3ff37522 AM |
1 | # |
2 | # TODO: fam support is broken (it always needs running & working fam) | |
3 | # | |
ec3c6f89 | 4 | Summary: Apache top-like display |
df9696d7 | 5 | Summary(pl.UTF-8): Podobny do topa program pokazujący pracę Apache'a |
ec3c6f89 | 6 | Name: apachetop |
a5b1d4ad AM |
7 | Version: 0.12.6 |
8 | Release: 1 | |
e8851b20 | 9 | Epoch: 1 |
ec3c6f89 | 10 | License: BSD |
296d17b9 | 11 | Group: Networking/Utilities |
a5b1d4ad AM |
12 | Source0: http://www.webta.org/apachetop/%{name}-%{version}.tar.gz |
13 | # Source0-md5: 604283ac4bbbddd98fc9b1f11381657e | |
92568ef0 | 14 | Patch0: %{name}-log_location.patch |
a5b1d4ad | 15 | URL: http://www.webta.org/projects/apachetop/ |
ec3c6f89 | 16 | BuildRequires: ncurses-devel |
26644195 AG |
17 | BuildRequires: pcre-devel |
18 | BuildRequires: readline-devel | |
fa633c8b | 19 | BuildRequires: adns-devel |
ec3c6f89 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | A curses-based top-like display for Apache information, including | |
24 | requests per second, bytes per second, most popular URLs, etc. | |
25 | ||
df9696d7 JR |
26 | %description -l pl.UTF-8 |
27 | Oparty na curses podobny do topa program pokazujący informacje o pracy | |
28 | Apache'a, włączając w to zapytania na sekundę, bajty na sekundę, | |
4cc82156 | 29 | najbardziej popularne URL-e, itp. |
ec3c6f89 | 30 | |
31 | %prep | |
1790daf0 | 32 | %setup -q |
92568ef0 | 33 | %patch0 -p1 |
ec3c6f89 | 34 | |
fa633c8b AM |
35 | sed -i -e 's#fam#fambroken#g' configure* |
36 | ||
ec3c6f89 | 37 | %build |
fa633c8b | 38 | %configure |
3ff37522 | 39 | |
90ee50d5 | 40 | %{__make} \ |
d68e8728 | 41 | CXX="%{__cxx}" \ |
7624f4b7 | 42 | CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses -pthread" |
ec3c6f89 | 43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
90ee50d5 AG |
46 | %{__make} install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
ec3c6f89 | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
90ee50d5 | 54 | %doc AUTHORS ChangeLog INSTALL NEWS README TODO |
fd912474 | 55 | %attr(755,root,root) %{_bindir}/* |
90ee50d5 | 56 | %{_mandir}/man1/* |