]> git.pld-linux.org Git - packages/freeglut.git/blame - freeglut.spec
- BR: xorg-lib-libXi-devel
[packages/freeglut.git] / freeglut.spec
CommitLineData
f47c7d95 1Summary: A freely licensed alternative to the GLUT library
d0191a96 2Summary(pl.UTF-8): Zamiennik biblioteki GLUT na wolnej licencji
f47c7d95 3Name: freeglut
03ac66ec
PZ
4Version: 2.6.0
5Release: 1
f47c7d95
JB
6License: MIT
7Group: Libraries
27c737c8 8Source0: http://downloads.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
03ac66ec 9# Source0-md5: 39f0f2de89f399529d2b981188082218
f47c7d95
JB
10URL: http://freeglut.sourceforge.net/
11BuildRequires: OpenGL-GLU-devel
3e3c81fe
JB
12BuildRequires: autoconf >= 2.59-9
13BuildRequires: automake
14BuildRequires: libtool
15BuildRequires: xorg-lib-libXext-devel
27c737c8 16BuildRequires: xorg-lib-libXi-devel
3e3c81fe 17BuildRequires: xorg-lib-libXxf86vm-devel
05ab4e2e 18Provides: OpenGL-glut = 4.0
7770b64f 19Obsoletes: glut
f47c7d95
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Freeglut, the Free OpenGL Utility Toolkit, is meant to be a free
24alternative to Mark Kilgard's GLUT library. It is distributed under an
25X-Consortium style license (see COPYING for details), to offer you a
26chance to use and/or modify the source.
27
28It makes use of OpenGL, GLU, and pthread libraries. The library does
29not make use of any GLUT code and is not 100% compatible. Code
30recompilation and/or slight modifications might be required for your
31applications to work with freeglut.
32
692b2449
JR
33%description -l pl.UTF-8
34Freeglut to Free OpenGL Utility Toolkit, mający być wolnodostępnym
f47c7d95 35zamiennikiem biblioteki GLUT Marka Kilgarda. Jest rozprowadzany na
692b2449
JR
36licencji w stylu X-Consortium (szczegóły w pliku COPYING), aby
37umożliwić korzystanie i/lub modyfikowanie źródeł.
f47c7d95
JB
38
39Korzysta z bibliotek OpenGL, GLU i pthread. Biblioteka nie korzysta z
692b2449
JR
40żadnego kodu GLUT-a i nie jest w 100% kompatybilna. Do działania
41aplikacji z freeglutem może być konieczna rekompilacja kodu i/lub małe
f47c7d95
JB
42modyfikacje.
43
44%package devel
45Summary: Header files for freeglut library
d0191a96 46Summary(pl.UTF-8): Pliki nagłówkowe biblioteki freeglut
f47c7d95
JB
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
49Requires: OpenGL-GLU-devel
3e3c81fe
JB
50Requires: xorg-lib-libXext-devel
51Requires: xorg-lib-libXxf86vm-devel
05ab4e2e 52Provides: OpenGL-glut-devel = 4.0
7770b64f 53Obsoletes: glut-devel
f47c7d95
JB
54
55%description devel
56Header files for freeglut library.
57
692b2449
JR
58%description devel -l pl.UTF-8
59Pliki nagłówkowe biblioteki freeglut.
f47c7d95
JB
60
61%package static
62Summary: Static freeglut library
d0191a96 63Summary(pl.UTF-8): Statyczna biblioteka freeglut
f47c7d95
JB
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
05ab4e2e 66Provides: OpenGL-glut-static = 4.0
7770b64f 67Obsoletes: glut-static
f47c7d95
JB
68
69%description static
70Static freeglut library.
71
692b2449 72%description static -l pl.UTF-8
f47c7d95
JB
73Statyczna biblioteka freeglut.
74
75%prep
76%setup -q
77
78%build
3e3c81fe
JB
79%{__libtoolize}
80%{__aclocal}
81%{__autoconf}
82%{__autoheader}
83%{__automake}
d001085f
MB
84%configure \
85 --disable-warnings
f47c7d95
JB
86%{__make}
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
91%{__make} install \
92 DESTDIR=$RPM_BUILD_ROOT
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100%files
101%defattr(644,root,root,755)
be493e91 102%doc AUTHORS COPYING ChangeLog FrequentlyAskedQuestions NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png}
f47c7d95
JB
103%lang(fr) %doc LISEZ_MOI
104%attr(755,root,root) %{_libdir}/libglut.so.*.*.*
d001085f 105%attr(755,root,root) %ghost %{_libdir}/libglut.so.3
f47c7d95
JB
106
107%files devel
108%defattr(644,root,root,755)
109%doc doc/{freeglut_user_interface.html,structure.html}
110%attr(755,root,root) %{_libdir}/libglut.so
111%{_libdir}/libglut.la
112%{_includedir}/GL/freeglut*.h
113%{_includedir}/GL/glut.h
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/libglut.a
This page took 0.107797 seconds and 4 git commands to generate.