Blame SPECS/mesa-libGLU.spec

46119b
#define gitdate 20120904
46119b
46119b
Name:           mesa-libGLU
46119b
Version:        9.0.0
46119b
Release:        15%{?dist}
46119b
Summary:        Mesa libGLU library
46119b
46119b
License:        MIT
46119b
URL:            http://mesa3d.org/
46119b
Source0:        ftp://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.bz2
46119b
Source2:        make-git-snapshot.sh
46119b
46119b
Patch1: 0001-glu-initialize-PriorityQ-order-field-to-NULL-in-pqNe.patch
46119b
Patch2: 0002-Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch
46119b
46119b
BuildRequires:  autoconf automake libtool
46119b
BuildRequires:  mesa-libGL-devel
46119b
#Requires:       
46119b
Provides: libGLU
46119b
46119b
%description
46119b
Mesa implementation of the standard GLU OpenGL utility API.
46119b
46119b
%package        devel
46119b
Summary:        Development files for %{name}
46119b
Requires:       %{name}%{?_isa} = %{version}-%{release}
46119b
Requires:       gl-manpages
46119b
Provides:	libGLU-devel
46119b
46119b
%description    devel
46119b
The %{name}-devel package contains libraries and header files for
46119b
developing applications that use %{name}.
46119b
46119b
%prep
46119b
%setup -q -n glu-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}}
46119b
%patch1 -p1
46119b
%patch2 -p1
46119b
46119b
%build
46119b
autoreconf -v -i -f
46119b
%configure --disable-static
46119b
make %{?_smp_mflags}
46119b
46119b
%install
46119b
rm -rf $RPM_BUILD_ROOT
46119b
make install DESTDIR=$RPM_BUILD_ROOT
46119b
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
46119b
rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
46119b
46119b
%ldconfig_post
46119b
46119b
%ldconfig_postun
46119b
46119b
%files
46119b
%{_libdir}/libGLU.so.1
46119b
%{_libdir}/libGLU.so.1.3.*
46119b
46119b
%files devel
46119b
%{_includedir}/GL/glu*.h
46119b
%{_libdir}/libGLU.so
46119b
%{_libdir}/pkgconfig/glu.pc
46119b
46119b
%changelog
46119b
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 9.0.0-15
46119b
- Use ldconfig scriptlet macros
46119b
46119b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-14
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
46119b
46119b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-13
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
46119b
46119b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-12
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
46119b
46119b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-11
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
46119b
46119b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-10
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
46119b
46119b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.0-9
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
46119b
46119b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 9.0.0-8
46119b
- Rebuilt for GCC 5 C++11 ABI change
46119b
46119b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.0-7
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
46119b
46119b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.0-6
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
46119b
46119b
* Wed May 21 2014 Adam Jackson <ajax@redhat.com> 9.0.0-5
46119b
- Always autoreconf to pick up patch changes (#1070602)
46119b
46119b
* Mon Dec 09 2013 Adam Jackson <ajax@redhat.com> 9.0.0-4
46119b
- Sync with git (#1011823)
46119b
46119b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.0-3
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
46119b
46119b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.0-2
46119b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
46119b
46119b
* Tue Sep 18 2012 Adam Jackson <ajax@redhat.com> 9.0.0-1
46119b
- libGLU 9.0
46119b
46119b
* Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
46119b
- add back libGLU provides for now
46119b
46119b
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
46119b
- Initial packaging for split libGLU
46119b