From 481c88dc526cfa2b5e391ad20dfe3632ceb49fb4 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Dec 11 2007 11:23:49 +0000 Subject: - Add manpages to the -devel package (from openglut, bz 409651) --- diff --git a/.cvsignore b/.cvsignore index fe96235..46e1123 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ freeglut-2.4.0.tar.gz +openglut-0.6.3-doc.tar.gz diff --git a/freeglut.spec b/freeglut.spec index 394e8e0..b088d73 100644 --- a/freeglut.spec +++ b/freeglut.spec @@ -1,9 +1,11 @@ Summary: A freely licensed alternative to the GLUT library Name: freeglut Version: 2.4.0 -Release: 11%{?dist} +Release: 12%{?dist} URL: http://freeglut.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +# For the manpages +Source1: http://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz Patch0: freeglut-2.4.0-cursor.patch License: MIT Group: System Environment/Libraries @@ -45,7 +47,7 @@ license. %prep -%setup -q +%setup -q -a 1 %patch0 -p0 -z .cursor chmod 644 doc/*.{html,png} @@ -61,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/%{_libdir}/*.la +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3 +install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3 + %clean rm -rf $RPM_BUILD_ROOT @@ -80,9 +85,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_includedir}/GL/*.h %{_libdir}/libglut.so +%{_mandir}/man3/* %changelog +* Tue Dec 11 2007 Hans de Goede 2.4.0-12 +- Add manpages to the -devel package (from openglut, bz 409651) + * Sun Mar 18 2007 Hans de Goede 2.4.0-11 - Minor specfile cleanups - Add a patch from gentoo to stop flightgear from crashing diff --git a/sources b/sources index e3fb315..bee4c72 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 6d16873bd876fbf4980a927cfbc496a1 freeglut-2.4.0.tar.gz +cf6c3e8cd7711e2b75ff8d7950ac2f97 openglut-0.6.3-doc.tar.gz