]> git.pld-linux.org Git - SPECS.git/blob - openglut.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / openglut.spec
1 Summary:        An open source evolution of the GLUT API
2 Summary(pl.UTF-8):      Oparta na otwartych źródłach ewolucja API biblioteki GLUT
3 Name:           openglut
4 Version:        0.6.3
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/openglut/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9075d37d995d9f7dbb06a2e5fd9ffe20
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://openglut.sourceforge.net/
12 BuildRequires:  OpenGL-GLU-devel
13 BuildRequires:  autoconf >= 2.59-9
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  xorg-lib-libXext-devel
17 BuildRequires:  xorg-lib-libXxf86vm-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 OpenGLUT is a fork of the old freeglut package. With freeglut aiming
22 for almost bug-for-bug compatibility with old GLUT, OpenGLUT is at
23 liberty to pursue improvements that do not fit into the freeglut
24 charter: OpenGLUT plans to extend the GLUT API in some ways, and to
25 deprecate - and eventually delete - GLUT features that are felt to be
26 poor fits.
27
28 %description -l pl.UTF-8
29 OpenGLUT to odgałęzienie starego pakietu freeglut. O ile celem
30 freegluta jest prawie pełna zgodność, nawet co do błędów, z biblioteką
31 GLUT, OpenGLUT ma swobodę dodawania ulepszeń nie pasujących do
32 freegluta: planuje rozszerzyć API GLUT-a na pewne sposoby, a traktować
33 jako niepożądane (i ewentualnie usunąć) pewnie źle pasujące opcje
34 GLUT-a.
35
36 %package devel
37 Summary:        Header files for openglut library
38 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki openglut
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       OpenGL-GLU-devel
42 Requires:       xorg-lib-libXext-devel
43 Requires:       xorg-lib-libXxf86vm-devel
44
45 %description devel
46 Header files for openglut library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki openglut.
50
51 %package static
52 Summary:        Static openglut library
53 Summary(pl.UTF-8):      Statyczna biblioteka openglut
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static openglut library.
59
60 %description static -l pl.UTF-8
61 Statyczna biblioteka openglut.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure
74 %{__make}
75
76 %{__make} -C doc man-ascii
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc COPYING ChangeLog README
93 %attr(755,root,root) %{_libdir}/libopenglut.so.*.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libopenglut.so
98 %{_libdir}/libopenglut.la
99 %{_includedir}/GL/openglut*.h
100 %{_mandir}/man3/glut*.3*
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libopenglut.a
This page took 0.129189 seconds and 3 git commands to generate.