]> git.pld-linux.org Git - packages/freeglut.git/blob - freeglut.spec
- 2.6.0
[packages/freeglut.git] / freeglut.spec
1 Summary:        A freely licensed alternative to the GLUT library
2 Summary(pl.UTF-8):      Zamiennik biblioteki GLUT na wolnej licencji
3 Name:           freeglut
4 Version:        2.6.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
9 # Source0-md5:  39f0f2de89f399529d2b981188082218
10 URL:            http://freeglut.sourceforge.net/
11 BuildRequires:  OpenGL-GLU-devel
12 BuildRequires:  autoconf >= 2.59-9
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  xorg-lib-libXext-devel
16 BuildRequires:  xorg-lib-libXxf86vm-devel
17 Provides:       OpenGL-glut = 4.0
18 Obsoletes:      glut
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Freeglut, the Free OpenGL Utility Toolkit, is meant to be a free
23 alternative to Mark Kilgard's GLUT library. It is distributed under an
24 X-Consortium style license (see COPYING for details), to offer you a
25 chance to use and/or modify the source.
26
27 It makes use of OpenGL, GLU, and pthread libraries. The library does
28 not make use of any GLUT code and is not 100% compatible. Code
29 recompilation and/or slight modifications might be required for your
30 applications to work with freeglut.
31
32 %description -l pl.UTF-8
33 Freeglut to Free OpenGL Utility Toolkit, mający być wolnodostępnym
34 zamiennikiem biblioteki GLUT Marka Kilgarda. Jest rozprowadzany na
35 licencji w stylu X-Consortium (szczegóły w pliku COPYING), aby
36 umożliwić korzystanie i/lub modyfikowanie źródeł.
37
38 Korzysta z bibliotek OpenGL, GLU i pthread. Biblioteka nie korzysta z
39 żadnego kodu GLUT-a i nie jest w 100% kompatybilna. Do działania
40 aplikacji z freeglutem może być konieczna rekompilacja kodu i/lub małe
41 modyfikacje.
42
43 %package devel
44 Summary:        Header files for freeglut library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki freeglut
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       OpenGL-GLU-devel
49 Requires:       xorg-lib-libXext-devel
50 Requires:       xorg-lib-libXxf86vm-devel
51 Provides:       OpenGL-glut-devel = 4.0
52 Obsoletes:      glut-devel
53
54 %description devel
55 Header files for freeglut library.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki freeglut.
59
60 %package static
61 Summary:        Static freeglut library
62 Summary(pl.UTF-8):      Statyczna biblioteka freeglut
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65 Provides:       OpenGL-glut-static = 4.0
66 Obsoletes:      glut-static
67
68 %description static
69 Static freeglut library.
70
71 %description static -l pl.UTF-8
72 Statyczna biblioteka freeglut.
73
74 %prep
75 %setup -q
76
77 %build
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure \
84         --disable-warnings
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -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.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libglut.so.3
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.03513 seconds and 4 git commands to generate.