mesa-libGLU/mesa-libGLU.spec

70 lines
1.5 KiB
RPMSpec
Raw Normal View History

%define gitdate 20120904
Name: mesa-libGLU
Version: 9.0
2012-09-10 09:08:24 +00:00
Release: 0.2%{?dist}
Summary: Mesa libGLU library
License: MIT
URL: http://mesa3d.org/
# snapshot only at this point
Source0: libGLU-%{gitdate}.tar.xz
Source2: make-git-snapshot.sh
%if 0%{?gitdate}
BuildRequires: autoconf automake libtool
%endif
BuildRequires: mesa-libGL-devel
#Requires:
2012-09-10 09:08:24 +00:00
Provides: libGLU
%description
Mesa implementation of the standard GLU OpenGL utility API.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gl-manpages
2012-09-10 09:08:24 +00:00
Provides: libGLU-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n libGLU-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}}
%build
%if 0%{?gitdate}
autoreconf -v -i -f
%endif
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_libdir}/libGLU.so.1
%{_libdir}/libGLU.so.1.3.*
%files devel
%{_includedir}/GL/glu*.h
%{_libdir}/libGLU.so
%{_libdir}/pkgconfig/glu.pc
%changelog
2012-09-10 09:08:24 +00:00
* Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
- add back libGLU provides for now
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
- Initial packaging for split libGLU