# Source0-md5: 5f2f245f6c7c1255ee60a007527e2fd2
Source0: http://www.smcc.demon.nl/camstream/download/%{name}-%{version}.tar.gz
Patch1: %{name}-destdir.patch
-URL: http://www.smcc.demon.nl/camstream
+URL: http://www.smcc.demon.nl/camstream/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: qt-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Empty
+CamStream is (going to be) a collection of tools for webcams and other
+video-devices, enhancing your Linux system with multimedia video. All
+written in C++ and with a nice GUI frontend. The interface is based on
+Qt, an excellent GUI framework.
%description -l pl
-Empty
+CamStream jest (a w³a¶ciwie ma byæ) zestawem narzêdzi do kamer
+internetowych i innych urz±dzeñ video, rozszerzaj±cych mo¿liwo¶ci
+Linuksa o obraz multimedialny. Wszystkie narzêdzia s± napisane w C++ i
+maj± mi³y graficzny interfejs u¿ytkownika. Interfejs jest oparty na
+Qt.
%prep
%setup -q
%patch1 -p1
+
%build
cd lib/ccvt
%{__aclocal}
cd ../../camstream
%{__aclocal}
%{__autoconf}
-cd ../
+cd ..
%{__aclocal}
%{__autoconf}
QTDIR=%{_prefix} %configure
%install
rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_bindir}/*
-%attr(644,root,root) %{_datadir}/camstream/icons/*
+%attr(644,root,root) %{_datadir}/camstream