From: kloczek Date: Thu, 30 Aug 2001 12:30:14 +0000 (+0000) Subject: - added BuildRequires rules, X-Git-Tag: NuppelVideo-0_52a-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FNuppelVideo.git;a=commitdiff_plain;h=767f0847ee9e5a501a9047d3a367132435153a05 - added BuildRequires rules, - fixes for correct using $RPM_OPT_FLAGS, - -DMMX use only for i686 target, - s/GNU/GPL/ in License. NOTE: probably it will be good add desktop file. Changed files: NuppelVideo.spec -> 1.2 --- diff --git a/NuppelVideo.spec b/NuppelVideo.spec index 8ad1b2e..057730e 100644 --- a/NuppelVideo.spec +++ b/NuppelVideo.spec @@ -2,35 +2,43 @@ Summary: Fast movie recorder and player for linux Name: NuppelVideo Version: 0.52a Release: 1 -License: GNU +License: GPL Group: X11/Applications/Multimedia Group(de): X11/Applikationen/Multimedia Group(pl): X11/Aplikacje/Multimedia -Source0: %{name}-%{version}.tar.gz +Source0: http://mars.tuwien.ac.at/~roman/nuppelvideo/%{name}-%{version}.tar.gz Patch0: %{name}-make.patch +URL: http://mars.tuwien.ac.at/~roman/nuppelvideo/ +BUildRequires: XFree86-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %description -NuppelVideo is a simple low consuming and fast capture program -for bttv-cards (BT8x8) it is based on the RTjpeg2.0 test3* programs -from Justin Schoemann , who wrote the very fast and fine RTjpeg2.0 -codec (improved by Joerg Walter and Wim Taymans). +NuppelVideo is a simple low consuming and fast capture program for +bttv-cards (BT8x8) it is based on the RTjpeg2.0 test3* programs from +Justin Schoemann , who wrote the very fast and fine RTjpeg2.0 codec +(improved by Joerg Walter and Wim Taymans). %prep %setup -q %patch0 -p1 %build -%{__make} +%{__make} \ + CC=%{__cc} \ +%ifarch i686 + COPTS="%{rpmcflags} -DMMX" +%else + COPTS="%{rpmcflags}" +%endif %install rm -rf $RPM_BUILD_ROOT -%{__make} \ + +%{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ - BINDIR=%{_bindir} \ - install + BINDIR=%{_bindir} gzip -9nf README* LICENSE* @@ -39,5 +47,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* %doc *.gz +%attr(755,root,root) %{_bindir}/*