]> git.pld-linux.org Git - packages/NuppelVideo.git/commitdiff
- added BuildRequires rules, NuppelVideo-0_52a-1
authorkloczek <kloczek@pld-linux.org>
Thu, 30 Aug 2001 12:30:14 +0000 (12:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

NuppelVideo.spec

index 8ad1b2ee5e0b498a549223fdde6ff5c8d9e9d707..057730e12b8c9fe985fb8946460f1ba2c0b219cc 100644 (file)
@@ -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}/*
This page took 0.133721 seconds and 4 git commands to generate.