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