Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
62a10013ee
!21 Update to 2.2.0
From: @lyn1001 
Reviewed-by: @starlet-dx 
Signed-off-by: @starlet-dx
2023-10-13 01:01:05 +00:00
lyn1001
8baee14c7f update to 2.2.0 2023-10-12 11:15:42 +08:00
openeuler-ci-bot
34916b4e2f
!15 glew cmake project requires a c++ compiler
From: @meng-wenhua 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-13 09:46:47 +00:00
mengwenhua
d92906b92a glew cmake project requires a c++ compiler
Signed-off-by: mengwenhua <mengwenhua@xfusion.com>
2023-01-07 14:38:36 +08:00
openeuler-ci-bot
45c3eaa327
!10 Fixed compilation with current mesa versions.
From: @meng-wenhua 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-06 11:56:00 +00:00
mengwenhua
037cf85513 Fixed compilation with current mesa versions.
Signed-off-by: mengwenhua <mengwenhua@xfusion.com>
2023-01-06 18:15:06 +08:00
openeuler-ci-bot
75c69905a3
!4 Include description of glew in README.md
From: @meng-wenhua 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-05 09:12:44 +00:00
mengwenhua
86b51b66cd Include description of glew in README.md 2023-01-05 15:43:47 +08:00
openeuler-ci-bot
b684df08a9
!3 License compliance rectification
From: @cherry530 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-05-11 07:54:29 +00:00
cherry530
643fa770bf License compliance rectification 2022-05-10 19:17:04 +08:00
3 changed files with 33 additions and 8 deletions

Binary file not shown.

BIN
glew-2.2.0.tgz Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: glew
Version: 2.1.0
Release: 4
Version: 2.2.0
Release: 1
Summary: The OpenGL Extension Wrangler Library
License: BSD and MIT
URL: http://glew.sourceforge.net
License: BSD-3-Clause and MIT
URL: https://github.com/nigels-com/glew
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
Source0: https://github.com/nigels-com/glew/releases/download/glew-%{version}/glew-%{version}.tgz
Patch0000: glew-2.1.0-install.patch
BuildRequires: libGLU-devel gcc
BuildRequires: libGLU-devel gcc make
Provides: libGLEW = %{version}-%{release}
Obsoletes: libGLEW < %{version}-%{release}
@ -36,10 +36,17 @@ Development files for glew
cp /usr/lib/rpm/%{_vendor}/config.guess config/
%build
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC"\
STRIP= \
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
includedir=%{_includedir} \
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
%install
make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
make install.all DESTDIR="$RPM_BUILD_ROOT" \
GLEW_PREFIX=%{_prefix} GLEW_DEST=%{_prefix} \
includedir=%{_includedir} \
BINDIR=%{_bindir} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
%delete_la_and_a
@ -61,6 +68,24 @@ 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