Compare commits
10 Commits
e2f6dee789
...
62a10013ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62a10013ee | ||
|
|
8baee14c7f | ||
|
|
34916b4e2f | ||
|
|
d92906b92a | ||
|
|
45c3eaa327 | ||
|
|
037cf85513 | ||
|
|
75c69905a3 | ||
|
|
86b51b66cd | ||
|
|
b684df08a9 | ||
|
|
643fa770bf |
BIN
glew-2.1.0.tgz
BIN
glew-2.1.0.tgz
Binary file not shown.
BIN
glew-2.2.0.tgz
Normal file
BIN
glew-2.2.0.tgz
Normal file
Binary file not shown.
41
glew.spec
41
glew.spec
@ -1,13 +1,13 @@
|
|||||||
Name: glew
|
Name: glew
|
||||||
Version: 2.1.0
|
Version: 2.2.0
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: The OpenGL Extension Wrangler Library
|
Summary: The OpenGL Extension Wrangler Library
|
||||||
License: BSD and MIT
|
License: BSD-3-Clause and MIT
|
||||||
URL: http://glew.sourceforge.net
|
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
|
Patch0000: glew-2.1.0-install.patch
|
||||||
BuildRequires: libGLU-devel gcc
|
BuildRequires: libGLU-devel gcc make
|
||||||
|
|
||||||
Provides: libGLEW = %{version}-%{release}
|
Provides: libGLEW = %{version}-%{release}
|
||||||
Obsoletes: libGLEW < %{version}-%{release}
|
Obsoletes: libGLEW < %{version}-%{release}
|
||||||
@ -36,10 +36,17 @@ 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" 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
|
%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*
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
|
|
||||||
@ -61,6 +68,24 @@ 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user