]> git.pld-linux.org Git - packages/NuppelVideo.git/blob - NuppelVideo.spec
- tabs in preamble
[packages/NuppelVideo.git] / NuppelVideo.spec
1 #
2 # Conditional build:
3 %bcond_with     mmx     # use MMX (makes sense on i586/i686)
4 #
5 %ifarch athlon pentium3 pentium4
6 %define with_mmx        1
7 %endif
8 Summary:        Fast movie recorder and player for Linux
9 Summary(pl.UTF-8):      Szybka nagrywarka i odtwarzacz filmów pod Linuksa
10 Name:           NuppelVideo
11 Version:        0.52a
12 Release:        5
13 License:        GPL v2
14 Group:          X11/Applications/Multimedia
15 Source0:        http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/%{name}-%{version}.tar.gz
16 # Source0-md5:  320fa43a19c71778ea0d403528125c1e
17 Patch0:         %{name}-make.patch
18 Patch1:         %{name}-nonx86.patch
19 URL:            http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/
20 BuildRequires:  XFree86-devel
21 BuildRequires:  sed >= 4.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 NuppelVideo is a simple low consuming and fast capture program for
26 bttv-cards (BT8x8) it is based on the RTjpeg2.0 test3* programs from
27 Justin Schoemann, who wrote the very fast and fine RTjpeg2.0 codec
28 (improved by Joerg Walter and Wim Taymans).
29
30 %description -l pl.UTF-8
31 NuppelVideo jest prostym, mało zasobożernym i szybkim programem do
32 zrzucania obrazu z kart bttv (BT8x8) bazującym na programach RTjpeg2.0
33 test3* Justina Schoemanna, który napisał bardzo szybki i dobry codec
34 RTjpeg2.0 (poprawiony przez Joerga Waltera i Wima Taymansa).
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 sed -i -e 's@-L/usr/X11R6/lib@-L/usr/X11R6/%{_lib}@' Makefile
42
43 %build
44 %{__make} \
45         CC="%{__cc}" \
46         COPTS="%{rpmcflags}%{?with_mmx: -DMMX}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT \
53         BINDIR=%{_bindir}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README* LICENSE*
61 %attr(755,root,root) %{_bindir}/*
This page took 0.067124 seconds and 3 git commands to generate.