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