add packaging accepted/tizen/20130503.223253 accepted/tizen/20130520.095447 submit/tizen/20130503.191626 submit/tizen/20130509.174336 submit/tizen/20130517.021040
authorAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 04:26:54 +0000 (20:26 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 04:26:54 +0000 (20:26 -0800)
packaging/freeglut.spec

index e222498..bcc38e7 100644 (file)
@@ -8,7 +8,6 @@ Summary:        Freely licensed alternative to the GLUT library
 Url:            http://freeglut.sourceforge.net/
 Group:          System/Libraries
 Source:         %{name}-%{version}.tar.bz2
-Source1:        glutman.tar.bz2
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  mesa-devel
@@ -84,7 +83,7 @@ containing OpenGL contexts and also read the mouse, keyboard, and
 joystick functions on a wide range of platforms.
 
 %prep
-%setup -q -b0 -b1 -n %{name}-%{version}
+%setup -q
 
 %build
 ./autogen.sh
@@ -100,11 +99,6 @@ make %{?_smp_mflags}  -C include
 %install
 make install -C src DESTDIR=%{buildroot}
 make install -C include DESTDIR=%{buildroot}
-# glut Manual Pages
-mkdir -p %{buildroot}/%{_mandir}/man3
-for i in ../glut-3.7/man/glut/glut*; do
-  install -m 644 $i %{buildroot}/%{_mandir}/man3/`basename $i man`3
-done
 rm -rf %{buildroot}%{_libdir}/libglut.la
 
 %post -n libglut -p /sbin/ldconfig
@@ -120,4 +114,3 @@ rm -rf %{buildroot}%{_libdir}/libglut.la
 %defattr(-,root,root)
 %{_includedir}/GL
 %{_libdir}/libglut.so
-%{_mandir}/man3/*