--- /dev/null
+Summary: A console program to nicely view squid's log
+Summary(pl): Konsolowy program pozwalaj±cy ogl±daæ logi squida
+Name: squidview
+Version: 0.20
+Release: 1
+License: GPL v2
+Group: Applications/System
+Source0: http://www.rillion.net/squidview/%{name}-%{version}.tar.gz
+Patch0: %{name}-makefile.patch
+URL: http://www.rillion.net/squidview/
+BuildRequires: ncurses-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Squidview is an interactive console program which monitors squid logs
+and displays them in a nice fashion. It has searching and reporting
+functions, giving information like per user bandwidth and cache hits.
+
+%description -l pl
+Squidview jest interaktywnym konsolowym programem, który monitoruje
+logi squida i wy¶wietla je w przyjemny sposób. Ma funkcje szukania i
+raportowania, daj±c informacje takie jak przepustowo¶æ na u¿ytkownika
+i trafienia cache-a.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} CXXFLAGS="-I%{_includedir}/ncurses"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README users words
+%attr(754,root,root) %{_bindir}/*