ca31e5
Summary: Xt / Motif OpenGL widgets
ca31e5
Name: mesa-libGLw
ca31e5
Version: 8.0.0
ca31e5
Release: 4.1%{?dist}
ca31e5
License: MIT
ca31e5
Group: System Environment/Libraries
ca31e5
URL: http://www.mesa3d.org
ca31e5
Source0: ftp://ftp.freedesktop.org/pub/mesa/glw/glw-%{version}.tar.bz2
ca31e5
ca31e5
Patch0: 0001-libGLw-Use-newly-introduced-GLAPIVAR-for-variables.patch
ca31e5
ca31e5
BuildRequires: libXt-devel
ca31e5
BuildRequires: libGL-devel
ca31e5
%if 0%{?rhel}
ca31e5
BuildRequires: openmotif-devel
ca31e5
%else
ca31e5
BuildRequires: lesstif-devel
ca31e5
%endif
ca31e5
ca31e5
Provides: libGLw
ca31e5
ca31e5
%description
ca31e5
Mesa libGLw runtime library.
ca31e5
ca31e5
%package devel
ca31e5
Summary: Mesa libGLw development package
ca31e5
Group: Development/Libraries
ca31e5
Requires: %{name} = %{version}-%{release}
ca31e5
Requires: libGL-devel
ca31e5
%if 0%{?rhel}
ca31e5
Requires: openmotif-devel
ca31e5
%else
ca31e5
Requires: lesstif-devel
ca31e5
%endif
ca31e5
Provides: libGLw-devel
ca31e5
ca31e5
%description devel
ca31e5
Mesa libGLw development package.
ca31e5
ca31e5
%prep
ca31e5
%setup -q -n glw-%{version}
ca31e5
%patch0 -p1
ca31e5
ca31e5
%build
ca31e5
%configure --disable-static --enable-motif
ca31e5
make %{?_smp_mflags}
ca31e5
ca31e5
%install
ca31e5
rm -rf $RPM_BUILD_ROOT
ca31e5
make install DESTDIR=$RPM_BUILD_ROOT
ca31e5
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
ca31e5
ca31e5
%clean
ca31e5
rm -rf $RPM_BUILD_ROOT
ca31e5
ca31e5
%check
ca31e5
ca31e5
%post -p /sbin/ldconfig
ca31e5
%postun -p /sbin/ldconfig
ca31e5
ca31e5
%files
ca31e5
%defattr(-,root,root,-)
ca31e5
%doc README
ca31e5
%{_libdir}/libGLw.so.1
ca31e5
%{_libdir}/libGLw.so.1.0.0
ca31e5
ca31e5
%files devel
ca31e5
%defattr(-,root,root,-)
ca31e5
%{_libdir}/libGLw.so
ca31e5
%{_libdir}/pkgconfig/glw.pc
ca31e5
%{_includedir}/GL/GLwDrawA.h
ca31e5
%{_includedir}/GL/GLwDrawAP.h
ca31e5
%{_includedir}/GL/GLwMDrawA.h
ca31e5
%{_includedir}/GL/GLwMDrawAP.h
ca31e5
ca31e5
%changelog
ca31e5
* Thu May 30 2019 Adam Jackson <ajax@redhat.com> - 8.0.0-4.1
ca31e5
- Fix external API symbol visibility
ca31e5
ca31e5
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 8.0.0-4
ca31e5
- Mass rebuild 2014-01-24
ca31e5
ca31e5
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 8.0.0-3
ca31e5
- Mass rebuild 2013-12-27
ca31e5
ca31e5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.0.0-2
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ca31e5
ca31e5
* Mon Sep 10 2012 Adam Jackson <ajax@redhat.com> 8.0.0-1
ca31e5
- Switch to upstream's split-out glw release
ca31e5
ca31e5
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.1-13
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ca31e5
ca31e5
* Mon Jul 09 2012 Bill Nottingham - 6.5.1-12
ca31e5
- fix prior macros
ca31e5
ca31e5
* Thu Jul 05 2012 Bill Nottingham - 6.5.1-11
ca31e5
- add conditional macros for openmotif/lesstif
ca31e5
ca31e5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.1-10
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ca31e5
ca31e5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.1-9
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ca31e5
ca31e5
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.1-8
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ca31e5
ca31e5
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.1-7
ca31e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ca31e5
ca31e5
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 6.5.1-6
ca31e5
- fix license tag
ca31e5
ca31e5
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.5.1-5
ca31e5
- Autorebuild for GCC 4.3
ca31e5
ca31e5
* Fri Oct 12 2007 Matthias Clasen <mclasen@redhat.com> - 6.5.1-4
ca31e5
- Fix spec file syntax issues  (#330331)
ca31e5
ca31e5
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 6.5.1-3
ca31e5
- Rebuild for build id
ca31e5
ca31e5
* Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 6.5.1-2
ca31e5
- Minor spec fixes (#210798)
ca31e5
ca31e5
* Fri Sep 29 2006 Adam Jackson <ajackson@redhat.com> 6.5.1-1
ca31e5
- lib64 fixes and cleanups from Patrice Dumas (#188974)
ca31e5
ca31e5
* Tue Sep 19 2006 Adam Jackson <ajackson@redhat.com> 6.5.1-0.2
ca31e5
- Use 6.5.1 release tarball.  Drop patches and build scripts that are no
ca31e5
  longer necessary.
ca31e5
ca31e5
* Tue Sep 19 2006 Adam Jackson <ajackson@redhat.com> 6.5.1-0.1
ca31e5
- Move revision back up to 6.5.1 for upgrade path from FC5.  Misc other
ca31e5
  spec fixes as per bug #188974 comment 30.
ca31e5
ca31e5
* Mon Sep 18 2006 Adam Jackson <ajackson@redhat.com> 1.0-4
ca31e5
- Rename back to mesa-libGLw as per bug #188974.
ca31e5
ca31e5
* Wed Aug 30 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-3
ca31e5
- Fix package for x86_64
ca31e5
ca31e5
* Tue Aug 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-2
ca31e5
- Fix package to depend on lesstif-devel
ca31e5
- -devel now Requires libGL-devel
ca31e5
- use name var in -devel Requires
ca31e5
- actually use RPM_OPT_FLAGS
ca31e5
- symlink devel libs, not copy (except for .*.*.*)
ca31e5
ca31e5
* Fri Aug  7 2006 Adam Jackson <ajackson@redhat.com> 1.0-1
ca31e5
- Split libGLw out from Mesa.