]> git.pld-linux.org Git - packages/Mesa-libGLU.git/blame - Mesa-libGLU.spec
- updated to 9.0.1
[packages/Mesa-libGLU.git] / Mesa-libGLU.spec
CommitLineData
c68e9b0f
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4#
5Summary: SGI implementation of libGLU OpenGL library
6Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
7Name: Mesa-libGLU
5b7b2319
JB
8Version: 9.0.1
9Release: 1
c68e9b0f
JB
10License: SGI Free Software License B v2.0 (MIT-like)
11Group: Libraries
5b7b2319
JB
12Source0: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.xz
13# Source0-md5: 151aef599b8259efe9acd599c96ea2a3
c68e9b0f
JB
14URL: http://www.mesa3d.org/
15BuildRequires: OpenGL-devel >= 1.2
16BuildRequires: autoconf >= 2.60
17BuildRequires: automake
18BuildRequires: libstdc++-devel
19BuildRequires: libtool >= 2:2.2
20BuildRequires: pkgconfig
5b7b2319
JB
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
c68e9b0f
JB
23Requires: OpenGL >= 1.2
24Provides: OpenGL-GLU = 1.3
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
291.3 specifications.
30
31%description -l pl.UTF-8
32Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
33specyfikację OpenGL GLU 1.3.
34
35%package devel
36Summary: Header files for SGI libGLU library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: OpenGL-devel >= 1.2
9b1325b6 41Provides: OpenGL-GLU-devel = 1.3
c68e9b0f
JB
42
43%description devel
44Header files for SGI libGLU library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki SGI libGLU.
48
49%package static
50Summary: Static SGI libGLU library
51Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54Provides: OpenGL-GLU-static = 1.3
55
56%description static
57Static SGI libGLU library.
58
59%description static -l pl.UTF-8
60Statyczna biblioteka SGI libGLU.
61
62%prep
63%setup -q -n glu-%{version}
64
65%build
66%{__libtoolize}
67%{__aclocal}
68%{__autoconf}
69%{__automake}
70%configure \
71 --disable-silent-rules \
72 %{!?with_static_libs:--disable-static}
73
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82# there is pkg-config support; also, traditionally libGLU didn't have .la
83%{__rm} $RPM_BUILD_ROOT%{_libdir}/libGLU.la
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(644,root,root,755)
93%attr(755,root,root) %{_libdir}/libGLU.so.*.*.*
94%attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
95
96%files devel
97%defattr(644,root,root,755)
98%attr(755,root,root) %{_libdir}/libGLU.so
99%{_includedir}/GL/glu.h
100%{_includedir}/GL/glu_mangle.h
101%{_pkgconfigdir}/glu.pc
102
103%if %{with static_libs}
104%files static
105%defattr(644,root,root,755)
106%{_libdir}/libGLU.a
107%endif
This page took 0.103256 seconds and 4 git commands to generate.