]> git.pld-linux.org Git - packages/SDLcam.git/blob - SDLcam.spec
- tabs in preamble
[packages/SDLcam.git] / SDLcam.spec
1 Summary:        Simple V4L program designed to view and process video streams
2 Summary(pl.UTF-8):      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 Group:          X11/Applications/Multimedia
8 Source0:        http://sdlcam.raphnet.net/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  82b7d7e7e6f4d6fe1cd2c4ab97232fd8
10 Patch0:         %{name}-path.patch
11 Patch1:         %{name}-include.patch
12 Patch2:         %{name}-gcc33.patch
13 URL:            http://sdlcam.raphnet.net/
14 BuildRequires:  SDL-devel >= 1.2.4
15 BuildRequires:  SDL_image-devel >= 1.2.2
16 BuildRequires:  SDL_ttf-devel >= 2.0.5
17 BuildRequires:  avifile-devel >= 3:0.7.15
18 BuildRequires:  divx4linux-devel
19 BuildRequires:  libfame-devel >= 0.8.10-2
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libxml2-devel >= 2.4.24
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
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
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
37 rzeczywistym obraz.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 %patch2 -p1
44
45 %build
46 %{__make} \
47         FEATURES="%{rpmcflags} -DMMX -DTIMER"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
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
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc CHANGELOG README TODO
66 %attr(755,root,root) %{_bindir}/SDLcam
67 %attr(755,root,root) %{_libdir}/SDLcam
68 %{_datadir}/SDLcam
This page took 0.047572 seconds and 3 git commands to generate.