Compare commits

..

No commits in common. "62a10013eed91e3a99f0f40106ecb3301cd00525" and "e2f6dee78988feb14a080b33fbe9612cdc04557b" have entirely different histories.

3 changed files with 8 additions and 33 deletions

BIN
glew-2.1.0.tgz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: glew Name: glew
Version: 2.2.0 Version: 2.1.0
Release: 1 Release: 4
Summary: The OpenGL Extension Wrangler Library Summary: The OpenGL Extension Wrangler Library
License: BSD-3-Clause and MIT License: BSD and MIT
URL: https://github.com/nigels-com/glew URL: http://glew.sourceforge.net
Source0: https://github.com/nigels-com/glew/releases/download/glew-%{version}/glew-%{version}.tgz Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
Patch0000: glew-2.1.0-install.patch Patch0000: glew-2.1.0-install.patch
BuildRequires: libGLU-devel gcc make BuildRequires: libGLU-devel gcc
Provides: libGLEW = %{version}-%{release} Provides: libGLEW = %{version}-%{release}
Obsoletes: libGLEW < %{version}-%{release} Obsoletes: libGLEW < %{version}-%{release}
@ -36,17 +36,10 @@ Development files for glew
cp /usr/lib/rpm/%{_vendor}/config.guess config/ cp /usr/lib/rpm/%{_vendor}/config.guess config/
%build %build
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC"\ %make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
STRIP= \
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
includedir=%{_includedir} \
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
%install %install
make install.all DESTDIR="$RPM_BUILD_ROOT" \ make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
includedir=%{_includedir} \
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
%delete_la_and_a %delete_la_and_a
@ -68,24 +61,6 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
%doc doc/* %doc doc/*
%changelog %changelog
* Thu Oct 12 2023 liyanan <thistleslyn@163.com> - 2.2.0-1
- Update to 2.2.0
* Sat Jan 7 2023 mengwenhua <mengwenhua@xfusion.com> - 2.1.0-8
- glew cmake project requires a c++ compiler
* Fri Jan 6 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-7
- Fixed compilation with current mesa versions.
* Thu Jan 5 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-6
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Include description of glew in README.md
* Tue May 10 2022 xu_ping<xuping33@h-partners.com> - 2.1.0-5
- License compliance rectification
* Wed Jun 2 2021 baizhonggui <baizhonggui@huawei.com> - 2.1.0-4 * Wed Jun 2 2021 baizhonggui <baizhonggui@huawei.com> - 2.1.0-4
- Fixed make: cc: No such file or directory - Fixed make: cc: No such file or directory
- Add gcc in BuildRequires - Add gcc in BuildRequires