Compare commits
No commits in common. "62a10013eed91e3a99f0f40106ecb3301cd00525" and "e2f6dee78988feb14a080b33fbe9612cdc04557b" have entirely different histories.
62a10013ee
...
e2f6dee789
BIN
glew-2.1.0.tgz
Normal file
BIN
glew-2.1.0.tgz
Normal file
Binary file not shown.
BIN
glew-2.2.0.tgz
BIN
glew-2.2.0.tgz
Binary file not shown.
41
glew.spec
41
glew.spec
@ -1,13 +1,13 @@
|
||||
Name: glew
|
||||
Version: 2.2.0
|
||||
Release: 1
|
||||
Version: 2.1.0
|
||||
Release: 4
|
||||
Summary: The OpenGL Extension Wrangler Library
|
||||
License: BSD-3-Clause and MIT
|
||||
URL: https://github.com/nigels-com/glew
|
||||
License: BSD and MIT
|
||||
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
|
||||
BuildRequires: libGLU-devel gcc make
|
||||
BuildRequires: libGLU-devel gcc
|
||||
|
||||
Provides: libGLEW = %{version}-%{release}
|
||||
Obsoletes: libGLEW < %{version}-%{release}
|
||||
@ -36,17 +36,10 @@ Development files for glew
|
||||
cp /usr/lib/rpm/%{_vendor}/config.guess config/
|
||||
|
||||
%build
|
||||
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC"\
|
||||
STRIP= \
|
||||
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
|
||||
includedir=%{_includedir} \
|
||||
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
|
||||
%install
|
||||
make install.all DESTDIR="$RPM_BUILD_ROOT" \
|
||||
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
|
||||
includedir=%{_includedir} \
|
||||
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
%delete_la_and_a
|
||||
|
||||
@ -68,24 +61,6 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
%doc doc/*
|
||||
|
||||
%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
|
||||
- Fixed make: cc: No such file or directory
|
||||
- Add gcc in BuildRequires
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user