- Add manpages to the -devel package (from openglut, bz 409651)

This commit is contained in:
Hans de Goede 2007-12-11 11:23:49 +00:00
parent 96a1817fc4
commit 481c88dc52
3 changed files with 13 additions and 2 deletions

View File

@ -1 +1,2 @@
freeglut-2.4.0.tar.gz
openglut-0.6.3-doc.tar.gz

View File

@ -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 <j.w.r.degoede@hhs.nl> 2.4.0-12
- Add manpages to the -devel package (from openglut, bz 409651)
* Sun Mar 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.4.0-11
- Minor specfile cleanups
- Add a patch from gentoo to stop flightgear from crashing

View File

@ -1 +1,2 @@
6d16873bd876fbf4980a927cfbc496a1 freeglut-2.4.0.tar.gz
cf6c3e8cd7711e2b75ff8d7950ac2f97 openglut-0.6.3-doc.tar.gz