Blame SPECS/mesa-libGLU.spec

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