]> git.pld-linux.org Git - packages/SDLcam.git/blob - SDLcam.spec
- added include patch, corrected pathes for source
[packages/SDLcam.git] / SDLcam.spec
1 Summary:        Simple V4L program designed to view and process video streams
2 Summary(pl):    Narzêdzie do ogl±dania i przetwarzania strumieni video z urz±dzeñ v4l
3 Name:           SDLcam
4 Version:        0.7.3
5 Release:        2
6 License:        GPL
7 Source0:        http://raph.darktech.org/SDLcam/%{name}-%{version}.tar.gz
8 Patch0:         %{name}-path.patch
9 Patch1:         %{name}-include.patch
10 URL:            http://raph.darktech.org/SDLcam/
11 Group:          X11/Applications/Multimedia
12 BuildRequires:  SDL-devel >= 1.2.4
13 BuildRequires:  SDL_image-devel >= 1.2.2
14 BuildRequires:  SDL_ttf-devel >= 2.0.5
15 BuildRequires:  avifile-devel >= 0.7.15
16 BuildRequires:  divx4linux
17 BuildRequires:  libfame-devel >= 0.8.10-2
18 BuildRequires:  libxml2-devel >= 2.4.24
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6 
22
23 %description
24 SDLcam is a simple Video4Linux program, that was designed to view
25 video streams coming from a Philips USB Webcam. It uses SDL, and has a
26 simple user interface. SDLcam can save snapshots in Jpeg, PNG or BMP
27 formats. It also has a lot of video filters that can be combined and
28 applied in real time to the video stream.
29
30 %description -l pl
31 Program SDLcam przeznaczony jest do ogl±dania i przetwarzania
32 strumienia video pochodz±cego ze ¼ród³a kompatybilnego z v4l - w
33 szczególno¶ci kamer USB firmy Philips. Posiada prosty interfejs
34 u¿ytkownika, potrafi zapisywaæ zrzuty w formacie JPEG, PNG i BMP.
35 Posiada wiele filtrów, które mo¿na ³±czyæ i przetwarzaæ nimi w czasie
36 rzeczywistym obraz.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/SDLcam,%{_libdir}/SDLcam/{filters,capture,sources}}
49
50 install SDLcam $RPM_BUILD_ROOT%{_bindir}
51 install LucidaSansRegular.ttf LucidaTypewriterRegular.ttf $RPM_BUILD_ROOT%{_datadir}/SDLcam
52 install filter/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/filters
53 install capture/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/capture
54 install sources/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/sources
55 install SDLcam.xml $RPM_BUILD_ROOT%{_datadir}/SDLcam
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc CHANGELOG LICENSE README TODO
63 %attr(755,root,root) %{_bindir}/SDLcam
64 %{_datadir}/SDLcam
65 %attr(755,root,root) %{_libdir}/SDLcam
This page took 0.055799 seconds and 3 git commands to generate.