source: projects/specs/trunk/g/glew/glew-vl.spec @ 5390

Revision 5390, 5.2 KB checked in by Takemikaduchi, 12 years ago (diff)

glew,gambas3: new upstream release
libprojectm, avogadro, kalzium, mesa-demos: rebuild with glew-1.7.0

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