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