]>
Commit | Line | Data |
---|---|---|
37daf0ac | 1 | Summary: Simple V4L program designed to view and process video streams |
2 | Summary(pl): Narzedzie do ogladania i przetwarzania strumieni video z urzadzen v4l | |
3 | Name: SDLcam | |
4 | Version: 0.7.3 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Source0: http://raph.darktech.org/SDLcam/%{name}-%{version}.tar.gz | |
8 | Patch0: %{name}-path.patch | |
9 | URL: http://raph.darktech.org/SDLcam/ | |
10 | Group: X11/Applications/Multimedia | |
11 | ||
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: libxml2-devel >= 2.4.24 | |
16 | BuildRequires: divx4linux | |
17 | BuildRequires: libfame-devel >= 0.8.10-2 | |
18 | BuildRequires: avifile-devel >= 0.7.15 | |
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 | ||
31 | %description -l pl | |
32 | Program SDLcam przeznaczony jest do ogladania i przetwarzania | |
33 | strumienia video pochodzacego ze zrodla kompatybilnego z v4l - | |
34 | szczegolnie kamer USB firmy Philips. Posiada prosty interfejs | |
35 | uzytkownika, potrafi zapisywac zrzuty w formacie JPEG, PNG i BMP. | |
36 | Posiada wiele filtrow, ktore mozna laczyc i przetwarzac nimi w czasie | |
37 | rzeczywistym obraz. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | %patch0 -p1 | |
42 | ||
43 | %build | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{_bindir} | |
49 | install -d $RPM_BUILD_ROOT%{_datadir}/SDLcam | |
50 | install -d $RPM_BUILD_ROOT%{_libdir}/SDLcam | |
51 | install -d $RPM_BUILD_ROOT%{_libdir}/SDLcam/filters | |
52 | install -d $RPM_BUILD_ROOT%{_libdir}/SDLcam/capture | |
53 | install -d $RPM_BUILD_ROOT%{_libdir}/SDLcam/sources | |
54 | cp SDLcam $RPM_BUILD_ROOT%{_bindir}/ | |
55 | cp LucidaSansRegular.ttf LucidaTypewriterRegular.ttf $RPM_BUILD_ROOT%{_datadir}/SDLcam/ | |
56 | cp -f filter/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/filters | |
57 | cp -f capture/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/capture | |
58 | cp -f sources/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/sources | |
59 | cp -f SDLcam.xml $RPM_BUILD_ROOT%{_datadir}/SDLcam | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc CHANGELOG LICENSE README TODO | |
67 | %attr(755,root,root) %{_bindir}/SDLcam | |
68 | %{_datadir}/SDLcam/LucidaSansRegular.ttf | |
69 | %{_datadir}/SDLcam/LucidaTypewriterRegular.ttf | |
70 | %{_datadir}/SDLcam/SDLcam.xml | |
71 | %{_libdir}/SDLcam/filters/* | |
72 | %{_libdir}/SDLcam/capture/* | |
73 | %{_libdir}/SDLcam/sources/* |