]>
Commit | Line | Data |
---|---|---|
4bf63384 | 1 | Summary: A console program to nicely view squid's log |
55ea96b3 | 2 | Summary(pl.UTF-8): Konsolowy program pozwalający oglądać logi squida |
4bf63384 | 3 | Name: squidview |
d1413898 | 4 | Version: 0.69 |
5 | Release: 1 | |
4bf63384 PG |
6 | License: GPL v2 |
7 | Group: Applications/System | |
8 | Source0: http://www.rillion.net/squidview/%{name}-%{version}.tar.gz | |
d1413898 | 9 | # Source0-md5: b9691075e44f7ae5f6ca7ebcc36e8327 |
a4195203 AA |
10 | Patch0: %{name}-pld.patch |
11 | Patch1: %{name}-curses,howto-dest.patch | |
4bf63384 | 12 | URL: http://www.rillion.net/squidview/ |
406851dc JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
25ea45f7 | 15 | BuildRequires: libstdc++-devel |
4bf63384 PG |
16 | BuildRequires: ncurses-devel |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Squidview is an interactive console program which monitors squid logs | |
21 | and displays them in a nice fashion. It has searching and reporting | |
22 | functions, giving information like per user bandwidth and cache hits. | |
23 | ||
55ea96b3 JR |
24 | %description -l pl.UTF-8 |
25 | Squidview jest interaktywnym konsolowym programem, który monitoruje | |
26 | logi squida i wyświetla je w przyjemny sposób. Ma funkcje szukania i | |
27 | raportowania, dając informacje takie jak przepustowość na użytkownika | |
4bf63384 PG |
28 | i trafienia cache-a. |
29 | ||
30 | %prep | |
31 | %setup -q | |
a4195203 AA |
32 | %patch0 -p1 |
33 | %patch1 -p1 | |
4bf63384 PG |
34 | |
35 | %build | |
a4195203 AA |
36 | %{__aclocal} |
37 | %{__autoconf} | |
38 | %{__autoheader} | |
39 | %{__automake} | |
40 | %configure | |
406851dc JB |
41 | %{__make} \ |
42 | CXXFLAGS="-I/usr/include/ncurses" | |
4bf63384 PG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
406851dc JB |
47 | %{__make} install \ |
48 | DESTDIR=$RPM_BUILD_ROOT \ | |
49 | PREFIX="%{_prefix}" | |
4bf63384 PG |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
8bfdf174 | 56 | %doc BUGS ChangeLog HOWTO README users words aliases |
4bf63384 | 57 | %attr(754,root,root) %{_bindir}/* |