]> git.pld-linux.org Git - packages/SDLcam.git/blob - SDLcam.spec
- added gcc33 patch, use optflags
[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 Group:          X11/Applications/Multimedia
8 Source0:        http://raph.darktech.org/SDLcam/%{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://raph.darktech.org/SDLcam/
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 >= 0.7.15
18 BuildRequires:  divx4linux-devel
19 BuildRequires:  libfame-devel >= 0.8.10-2
20 BuildRequires:  libxml2-devel >= 2.4.24
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 %patch2 -p1
43
44 %build
45 %{__make} \
46         FEATURES="%{rpmcflags} -DMMX -DTIMER"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/SDLcam,%{_libdir}/SDLcam/{filters,capture,sources}}
51
52 install SDLcam $RPM_BUILD_ROOT%{_bindir}
53 install LucidaSansRegular.ttf LucidaTypewriterRegular.ttf $RPM_BUILD_ROOT%{_datadir}/SDLcam
54 install filter/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/filters
55 install capture/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/capture
56 install sources/*.so $RPM_BUILD_ROOT%{_libdir}/SDLcam/sources
57 install SDLcam.xml $RPM_BUILD_ROOT%{_datadir}/SDLcam
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc CHANGELOG README TODO
65 %attr(755,root,root) %{_bindir}/SDLcam
66 %attr(755,root,root) %{_libdir}/SDLcam
67 %{_datadir}/SDLcam
This page took 0.081171 seconds and 3 git commands to generate.