]> git.pld-linux.org Git - packages/squidview.git/blob - squidview.spec
5e8e1bed30ef5ca6a1c05b7148b12ef48c6a66c8
[packages/squidview.git] / squidview.spec
1 Summary:        A console program to nicely view squid's log
2 Summary(pl.UTF-8):      Konsolowy program pozwalający oglądać logi squida
3 Name:           squidview
4 Version:        0.71
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://www.rillion.net/squidview/%{name}-%{version}.tar.gz
9 # Source0-md5:  8588c0c36a19d8db0a7c4bfc5ba8a9bb
10 Patch0:         %{name}-pld.patch
11 Patch1:         %{name}-curses,howto-dest.patch
12 URL:            http://www.rillion.net/squidview/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
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
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
28 i trafienia cache-a.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make} \
42         CXXFLAGS="-I/usr/include/ncurses"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         PREFIX="%{_prefix}"
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc BUGS ChangeLog HOWTO README users words aliases
57 %attr(754,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
This page took 0.046857 seconds and 2 git commands to generate.