1 | Name: glew |
---|
2 | Version: 1.13.0 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: The OpenGL Extension Wrangler Library |
---|
5 | Group: System Environment/Libraries |
---|
6 | License: BSD and MIT |
---|
7 | URL: http://glew.sourceforge.net |
---|
8 | |
---|
9 | Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz |
---|
10 | Patch0: glew-1.13.0-makefile.patch |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: libGLU-devel |
---|
13 | |
---|
14 | %description |
---|
15 | The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ |
---|
16 | extension loading library. GLEW provides efficient run-time mechanisms for |
---|
17 | determining which OpenGL extensions are supported on the target platform. |
---|
18 | OpenGL core and extension functionality is exposed in a single header file. |
---|
19 | GLEW is available for a variety of operating systems, including Windows, Linux, |
---|
20 | Mac OS X, FreeBSD, Irix, and Solaris. |
---|
21 | |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development files for glew |
---|
25 | Group: Development/Libraries |
---|
26 | Requires: %{name} = %{version}-%{release} |
---|
27 | Requires: libGLU-devel |
---|
28 | |
---|
29 | %description devel |
---|
30 | Development files for glew |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | %patch0 -p1 |
---|
36 | |
---|
37 | %__sed -i -e 's/\r//g' config/config.guess |
---|
38 | |
---|
39 | %build |
---|
40 | |
---|
41 | make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= libdir=%{_libdir} bindir=%{_bindir} GLEW_DEST= |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | %__rm -rf $RPM_BUILD_ROOT |
---|
46 | %__make install.all \ |
---|
47 | GLEW_DEST="$RPM_BUILD_ROOT" \ |
---|
48 | libdir=%{_libdir} \ |
---|
49 | bindir=%{_bindir} \ |
---|
50 | includedir=%{_includedir} |
---|
51 | |
---|
52 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
53 | |
---|
54 | |
---|
55 | %clean |
---|
56 | %__rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | |
---|
59 | %post -p /sbin/ldconfig |
---|
60 | |
---|
61 | %postun -p /sbin/ldconfig |
---|
62 | |
---|
63 | |
---|
64 | %files |
---|
65 | %defattr(-,root,root,-) |
---|
66 | %doc LICENSE.txt |
---|
67 | %{_bindir}/* |
---|
68 | %{_libdir}/libGLEW.so.* |
---|
69 | %{_libdir}/libGLEWmx.so.* |
---|
70 | |
---|
71 | %files devel |
---|
72 | %defattr(-,root,root,-) |
---|
73 | %{_libdir}/libGLEW.so |
---|
74 | %{_libdir}/libGLEWmx.so |
---|
75 | %{_libdir}/pkgconfig/glew.pc |
---|
76 | %{_libdir}/pkgconfig/glewmx.pc |
---|
77 | %{_includedir}/GL/*.h |
---|
78 | %doc doc/* |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13.0-1 |
---|
82 | - new upstream release |
---|
83 | - update Patch0 (glew-1.13.0-makefile.patch) |
---|
84 | |
---|
85 | * Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-1 |
---|
86 | - new upstream release |
---|
87 | - update Patch0 (glew-1.7.0-makefile.patch) |
---|
88 | - remove Patch1 |
---|
89 | |
---|
90 | * Sat Apr 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.5.2-1 |
---|
91 | - built based on Fedora development |
---|
92 | |
---|
93 | * Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.5.2-2 |
---|
94 | - glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed |
---|
95 | |
---|
96 | * Tue Feb 02 2010 Adam Jackson <ajax@redhat.com> 1.5.2-1 |
---|
97 | - glew 1.5.2 |
---|
98 | |
---|
99 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
101 | |
---|
102 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
104 | |
---|
105 | * Thu Nov 13 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.5.1-1 |
---|
106 | - New upstream release (#469639) |
---|
107 | - Fix licenseing issue with developer documentation |
---|
108 | |
---|
109 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2 |
---|
110 | - Autorebuild for GCC 4.3 |
---|
111 | |
---|
112 | * Mon Jan 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.5.0-1 |
---|
113 | - New upstream version, now SGI licensed stuff free out of the box! |
---|
114 | - Unfortunately some of the included docs are under a non free license, |
---|
115 | therefor this package is based on a modified tarbal with these files removed |
---|
116 | |
---|
117 | * Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-4 |
---|
118 | - Add missing GL_FLOAT_MATXxX defines |
---|
119 | |
---|
120 | * Sat Aug 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-3 |
---|
121 | - Fix multiple unused direct shlib dependencies in libGLEW.so |
---|
122 | - Remove the "SGI Free Software License B" and "GLX Public License" tekst from |
---|
123 | the doc dir in the tarbal |
---|
124 | - Patch credits.html to no longer refer to the 2 non free licenses, instead it |
---|
125 | now points to LICENSE-README.fedora |
---|
126 | - Put API docs in -devel instead of main package |
---|
127 | |
---|
128 | * Mon Aug 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-2 |
---|
129 | - Remove SGI encumbered files to make this ok to go into Fedora |
---|
130 | - Replace some removed files with (modified) mesa files |
---|
131 | - Regenerate some of the removed files using the mesa replacemenmt files |
---|
132 | and the scripts in the auto directory |
---|
133 | - Readd wglew.h, some programs may need this to compile |
---|
134 | - Update License tag for new Licensing Guidelines compliance |
---|
135 | |
---|
136 | * Sun May 06 2007 Ian Chapman <packages@amiga-hardware.com> 1.4.0-1%{?dist} |
---|
137 | - Updated to 1.4.0 |
---|
138 | |
---|
139 | * Sun Mar 04 2007 Ian Chapman <packages@amiga-hardware.com> 1.3.6-1%{?dist} |
---|
140 | - Updated to 1.3.6 |
---|
141 | - Updated pathandstrip patch |
---|
142 | - Dropped xlib patch - fixed upstream |
---|
143 | - Dropped sed EOL replacements - fixed upstream |
---|
144 | - Changed license to GPL |
---|
145 | |
---|
146 | * Fri Dec 01 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.5-1%{?dist} |
---|
147 | - Updated to 1.3.5 |
---|
148 | - Fixed stripping of the binaries |
---|
149 | - Reinstate parallel building, no longer appears broken |
---|
150 | - Removed FC4 specifics from spec (no longer supported) |
---|
151 | |
---|
152 | * Tue Jun 20 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-3%{?dist} |
---|
153 | - Added buildrequire macros to determine fc4, fc5, fc6 due to X modularisation |
---|
154 | |
---|
155 | * Sun Jun 04 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-2%{?dist} |
---|
156 | - Replaced %%{_sed} macro with sed |
---|
157 | - Replaced xorg-x11-devel (build)requires with libGLU-devel for compatibility |
---|
158 | with modular / non-modular X |
---|
159 | - Replaced source URL to use primary sf site rather than a mirror |
---|
160 | - Removed superfluous docs from devel package |
---|
161 | - Removed wglew.h, seems to be only useful for windows platforms |
---|
162 | |
---|
163 | * Thu May 11 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-1.iss |
---|
164 | - Initial Release |
---|