Author: timn
Update of /cvs/nonfree/rpms/openni-nite/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv4826/F-15
Modified Files:
.cvsignore sources
Added Files:
NITE-1.4.1.2-fedora.patch openni-nite.spec
Log Message:
Initial import of opennite-nite into F-15 branch
NITE-1.4.1.2-fedora.patch:
Boxes/Boxes.mak | 2 +-
CircleControl/CircleControl.mak | 2 +-
Players/Players.mak | 2 +-
PointViewer/PointViewer.mak | 2 +-
SceneAnalysis/SceneAnalysis.mak | 2 +-
TrackPad/TrackPad.mak | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE NITE-1.4.1.2-fedora.patch ---
diff -urN NITE-1.4.1.2/Samples/Boxes/Boxes.mak
NITE-1.4.1.2.fedora/Samples/Boxes/Boxes.mak
--- NITE-1.4.1.2/Samples/Boxes/Boxes.mak 2011-07-19 14:53:03.000000000 +0200
+++ NITE-1.4.1.2.fedora/Samples/Boxes/Boxes.mak 2011-08-30 17:17:01.587017594 +0200
@@ -10,7 +10,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
DEFINES = USE_GLUT
diff -urN NITE-1.4.1.2/Samples/CircleControl/CircleControl.mak
NITE-1.4.1.2.fedora/Samples/CircleControl/CircleControl.mak
--- NITE-1.4.1.2/Samples/CircleControl/CircleControl.mak 2011-07-19 14:53:05.000000000
+0200
+++ NITE-1.4.1.2.fedora/Samples/CircleControl/CircleControl.mak 2011-08-30
17:17:01.587017594 +0200
@@ -12,7 +12,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
EXE_NAME = Sample-CircleControl
diff -urN NITE-1.4.1.2/Samples/Players/Players.mak
NITE-1.4.1.2.fedora/Samples/Players/Players.mak
--- NITE-1.4.1.2/Samples/Players/Players.mak 2011-07-19 14:53:02.000000000 +0200
+++ NITE-1.4.1.2.fedora/Samples/Players/Players.mak 2011-08-30 17:17:01.588017592 +0200
@@ -15,7 +15,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
include ../NiteSampleMakefile
diff -urN NITE-1.4.1.2/Samples/PointViewer/PointViewer.mak
NITE-1.4.1.2.fedora/Samples/PointViewer/PointViewer.mak
--- NITE-1.4.1.2/Samples/PointViewer/PointViewer.mak 2011-07-19 14:53:05.000000000 +0200
+++ NITE-1.4.1.2.fedora/Samples/PointViewer/PointViewer.mak 2011-08-30 17:17:01.588017592
+0200
@@ -21,7 +21,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
endif
include ../NiteSampleMakefile
diff -urN NITE-1.4.1.2/Samples/SceneAnalysis/SceneAnalysis.mak
NITE-1.4.1.2.fedora/Samples/SceneAnalysis/SceneAnalysis.mak
--- NITE-1.4.1.2/Samples/SceneAnalysis/SceneAnalysis.mak 2011-07-19 14:53:06.000000000
+0200
+++ NITE-1.4.1.2.fedora/Samples/SceneAnalysis/SceneAnalysis.mak 2011-08-30
17:17:01.589017590 +0200
@@ -20,7 +20,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
endif
diff -urN NITE-1.4.1.2/Samples/TrackPad/TrackPad.mak
NITE-1.4.1.2.fedora/Samples/TrackPad/TrackPad.mak
--- NITE-1.4.1.2/Samples/TrackPad/TrackPad.mak 2011-07-19 14:53:04.000000000 +0200
+++ NITE-1.4.1.2.fedora/Samples/TrackPad/TrackPad.mak 2011-08-30 17:17:01.589017590 +0200
@@ -10,7 +10,7 @@
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
DEFINES = USE_GLUT
--- NEW FILE openni-nite.spec ---
#define gitrev 894cea01
Name: openni-nite
Version: 1.4.1.2
Release: 2%{?dist}
Summary: OpenNI-based toolbox for hand movement tracking
Group: System Environment/Libraries
License: Proprietary
URL:
http://www.openni.org
Source0:
http://www.openni.org/downloads/NITE-Bin-Linux64-v%{version}.tar.bz2
Source1:
http://www.openni.org/downloads/NITE-Bin-Linux32-v%{version}.tar.bz2
Patch0: NITE-1.4.1.2-fedora.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: x86_64 i386 i686
Requires: openni >= 1.3.2.1
%description
NITE is a toolbox to allow application to build flows based on the user's
hands movement. The hand movement is understood as gestures and is tracked,
to provide hand points. NITE works over OpenNI.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package examples
Summary: Sample programs for %{name}
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
%description examples
The %{name}-examples package contains sample programs for OpenNI Nite.
%prep
%ifarch x86_64
%define srcnum 0
%else
%define srcnum 1
%endif
%setup -q -c -n NITE-%{version} -T -b %{srcnum}
%patch0 -p1 -b .fedora
%build
sed -i "s|^make$|make CFLAGS_EXT=\\\"%{optflags} -I$PWD/Include\\\"
LDFLAGS_EXT=\\\"-L$RPM_BUILD_ROOT%{_libdir}\\\" SSE_GENERATION=2 DEBUG=1|"
install.sh
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mkdir -p $RPM_BUILD_ROOT%{_includedir}/nite
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openni/XnVFeatures
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/openni/XnVHandGenerator
# We omit .net stuff for now
#rm -f $RPM_BUILD_ROOT%{_libdir}/XnVNite.net.dll
for l in XnVCNITE XnVFeatures XnVHandGenerator XnVNite; do
install -m 0755 Bin/lib${l}_1_4_1.so $RPM_BUILD_ROOT%{_libdir}
done
cp -a Data/* $RPM_BUILD_ROOT%{_sysconfdir}/openni
cp -a Features_1_4_1/Data/* $RPM_BUILD_ROOT%{_sysconfdir}/openni/XnVFeatures
cp -a Hands_1_4_1/Data/* $RPM_BUILD_ROOT%{_sysconfdir}/openni/XnVHandGenerator
cp -a Include/* $RPM_BUILD_ROOT%{_includedir}/nite
for s in Boxes CircleControl Players PointServer PointViewer SceneAnalysis SingleControl
TrackPad; do
install -m 0755 Samples/Bin/Release/Sample-$s $RPM_BUILD_ROOT%{_bindir}/Nite$s;
done
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
if [ $1 == 1 ]; then
for l in XnVCNITE XnVFeatures XnVHandGenerator XnVNite; do
niReg %{_libdir}/lib${l}_1_4_1.so %{_sysconfdir}/openni/XnVFeatures
done
niLicense PrimeSense "0KOIk2JeIBYClPWVnMoRKn5cdY4="
fi
%preun
if [ $1 == 0 ]; then
for l in XnVCNITE XnVFeatures XnVHandGenerator XnVNite; do
niReg -u %{_libdir}/lib${l}_1_4_1.so
done
fi
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/openni/*
%{_libdir}/*.so*
%files devel
%defattr(-,root,root,-)
%doc Documentation/html
%{_includedir}/*
%files examples
%defattr(-,root,root,-)
%{_bindir}/*
%changelog
* Wed Feb 02 2012 Tim Niemueller <tim(a)niemueller.de> - 1.4.1.2-2
- Apply minor updates from rpmfusion review
* Tue Aug 30 2011 Tim Niemueller <tim(a)niemueller.de> - 1.4.1.2-1
- Update to 1.4.1.2
* Thu Mar 03 2011 Tim Niemueller <tim(a)niemueller.de> - 1.3.0.18-2
- Mark config files
- Comment with original download URLs
* Tue Jan 25 2011 Tim Niemueller <tim(a)niemueller.de> - 1.3.0.18-1
- Initial revision
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/openni-nite/F-15/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Feb 2012 19:50:18 -0000 1.1
+++ .cvsignore 9 Feb 2012 22:42:26 -0000 1.2
@@ -0,0 +1,2 @@
+NITE-Bin-Linux32-v1.4.1.2.tar.bz2
+NITE-Bin-Linux64-v1.4.1.2.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/openni-nite/F-15/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Feb 2012 19:50:18 -0000 1.1
+++ sources 9 Feb 2012 22:42:26 -0000 1.2
@@ -0,0 +1,2 @@
+b8a75b21b0800aa0cb7a846e44e81440 NITE-Bin-Linux32-v1.4.1.2.tar.bz2
+4727baabd2b9a4ed8a1c5b687b54da70 NITE-Bin-Linux64-v1.4.1.2.tar.bz2