]> git.pld-linux.org Git - packages/NuppelVideo.git/blame_incremental - NuppelVideo.spec
- tabs in preamble
[packages/NuppelVideo.git] / NuppelVideo.spec
... / ...
CommitLineData
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
8Summary: Fast movie recorder and player for Linux
9Summary(pl.UTF-8): Szybka nagrywarka i odtwarzacz filmów pod Linuksa
10Name: NuppelVideo
11Version: 0.52a
12Release: 5
13License: GPL v2
14Group: X11/Applications/Multimedia
15Source0: http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/%{name}-%{version}.tar.gz
16# Source0-md5: 320fa43a19c71778ea0d403528125c1e
17Patch0: %{name}-make.patch
18Patch1: %{name}-nonx86.patch
19URL: http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/
20BuildRequires: XFree86-devel
21BuildRequires: sed >= 4.0
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25NuppelVideo is a simple low consuming and fast capture program for
26bttv-cards (BT8x8) it is based on the RTjpeg2.0 test3* programs from
27Justin 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
31NuppelVideo jest prostym, mało zasobożernym i szybkim programem do
32zrzucania obrazu z kart bttv (BT8x8) bazującym na programach RTjpeg2.0
33test3* Justina Schoemanna, który napisał bardzo szybki i dobry codec
34RTjpeg2.0 (poprawiony przez Joerga Waltera i Wima Taymansa).
35
36%prep
37%setup -q
38%patch0 -p1
39%patch1 -p1
40
41sed -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
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT \
53 BINDIR=%{_bindir}
54
55%clean
56rm -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.063747 seconds and 4 git commands to generate.