From 14fa27f6474671fa20c0e20fea9546ad5ba10f74 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 4 Nov 2012 20:26:54 -0800 Subject: [PATCH] add packaging --- packaging/freeglut.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packaging/freeglut.spec b/packaging/freeglut.spec index e222498..bcc38e7 100644 --- a/packaging/freeglut.spec +++ b/packaging/freeglut.spec @@ -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/* -- 2.7.4