]>
Commit | Line | Data |
---|---|---|
37daf0ac | 1 | Summary: Simple V4L program designed to view and process video streams |
b0fdf394 | 2 | Summary(pl.UTF-8): Narzędzie do oglądania i przetwarzania strumieni video z urządzeń v4l |
37daf0ac | 3 | Name: SDLcam |
4 | Version: 0.7.3 | |
e7ce329b | 5 | Release: 2 |
37daf0ac | 6 | License: GPL |
accfa414 | 7 | Group: X11/Applications/Multimedia |
1aa383c6 | 8 | Source0: http://sdlcam.raphnet.net/downloads/%{name}-%{version}.tar.gz |
e65c91e2 | 9 | # Source0-md5: 82b7d7e7e6f4d6fe1cd2c4ab97232fd8 |
37daf0ac | 10 | Patch0: %{name}-path.patch |
e7ce329b | 11 | Patch1: %{name}-include.patch |
e81e8db8 | 12 | Patch2: %{name}-gcc33.patch |
1aa383c6 | 13 | URL: http://sdlcam.raphnet.net/ |
37daf0ac | 14 | BuildRequires: SDL-devel >= 1.2.4 |
15 | BuildRequires: SDL_image-devel >= 1.2.2 | |
16 | BuildRequires: SDL_ttf-devel >= 2.0.5 | |
b80674d7 | 17 | BuildRequires: avifile-devel >= 3:0.7.15 |
e81e8db8 | 18 | BuildRequires: divx4linux-devel |
37daf0ac | 19 | BuildRequires: libfame-devel >= 0.8.10-2 |
79583156 | 20 | BuildRequires: libstdc++-devel |
3585948b | 21 | BuildRequires: libxml2-devel >= 2.4.24 |
37daf0ac | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
37daf0ac | 24 | %description |
25 | SDLcam is a simple Video4Linux program, that was designed to view | |
26 | video streams coming from a Philips USB Webcam. It uses SDL, and has a | |
27 | simple user interface. SDLcam can save snapshots in Jpeg, PNG or BMP | |
28 | formats. It also has a lot of video filters that can be combined and | |
29 | applied in real time to the video stream. | |
30 | ||
684b08f6 JR |
31 | %description -l pl.UTF-8 |
32 | Program SDLcam przeznaczony jest do oglądania i przetwarzania | |
33 | strumienia video pochodzącego ze źródła kompatybilnego z v4l - w | |
34 | szczególności kamer USB firmy Philips. Posiada prosty interfejs | |
35 | użytkownika, potrafi zapisywać zrzuty w formacie JPEG, PNG i BMP. | |
36 | Posiada wiele filtrów, które można łączyć i przetwarzać nimi w czasie | |
37daf0ac | 37 | rzeczywistym obraz. |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | %patch0 -p1 | |
e7ce329b | 42 | %patch1 -p1 |
e81e8db8 | 43 | %patch2 -p1 |
37daf0ac | 44 | |
45 | %build | |
e81e8db8 JB |
46 | %{__make} \ |
47 | FEATURES="%{rpmcflags} -DMMX -DTIMER" | |
37daf0ac | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
3585948b JB |
51 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/SDLcam,%{_libdir}/SDLcam/{filters,capture,sources}} |
52 | ||
53 | install SDLcam $RPM_BUILD_ROOT%{_bindir} | |
54 | install LucidaSansRegular.ttf LucidaTypewriterRegular.ttf $RPM_BUILD_ROOT%{_datadir}/SDLcam | |
55 | install filter/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/filters | |
56 | install capture/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/capture | |
57 | install sources/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/sources | |
58 | install SDLcam.xml $RPM_BUILD_ROOT%{_datadir}/SDLcam | |
37daf0ac | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
e81e8db8 | 65 | %doc CHANGELOG README TODO |
37daf0ac | 66 | %attr(755,root,root) %{_bindir}/SDLcam |
3585948b | 67 | %attr(755,root,root) %{_libdir}/SDLcam |
e81e8db8 | 68 | %{_datadir}/SDLcam |