diff --git a/README.md b/README.md index 5b38505..88cca59 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # glu +Utility library for the Mesa implementation of the OpenGL 3-D graphics library. + diff --git a/glu.spec b/glu.spec new file mode 100644 index 0000000..7c117b2 --- /dev/null +++ b/glu.spec @@ -0,0 +1,89 @@ +Name: glu +Epoch: 1 +Version: 9.0.0 +Release: 2mamba +Summary: Utility library for the Mesa implementation of the OpenGL 3-D graphics library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.mesa3d.org/ +Source: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libGL-devel +BuildRequires: libstdc++6-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +Requires: libGLU = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Utility library for the Mesa implementation of the OpenGL 3-D graphics library. + +%package -n libGLU +Group: System/Libraries +Summary: Utility library for the Mesa implementation of the OpenGL 3-D graphics library + +%description -n libGLU +Utility library for the Mesa implementation of the OpenGL 3-D graphics library. + +%package -n libGLU-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libGLU = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libGLU-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package -n libGLU-static +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libGLU-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libGLU-static +This package contains static libraries files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libGLU -p /sbin/ldconfig +%postun -n libGLU -p /sbin/ldconfig + +%files -n libGLU +%defattr(-,root,root) +%{_libdir}/libGLU.so.* + +%files -n libGLU-devel +%defattr(-,root,root) +%{_includedir}/GL/glu.h +%{_includedir}/GL/glu_mangle.h +%{_libdir}/libGLU.so +%{_libdir}/pkgconfig/glu.pc + +%files -n libGLU-static +%defattr(-,root,root) +%{_libdir}/libGLU.a +%{_libdir}/libGLU.la + +%changelog +* Wed Oct 10 2012 Silvan Calarco 9.0.0-2mamba +- bump epoch up to allow the upgrade of previous libGLU from Mesa + +* Wed Oct 10 2012 Silvan Calarco 9.0.0-1mamba +- package created by autospec