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