]> git.pld-linux.org Git - packages/freeglut.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 31 Oct 2005 13:37:45 +0000 (13:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freeglut.spec -> 1.1

freeglut.spec [new file with mode: 0644]

diff --git a/freeglut.spec b/freeglut.spec
new file mode 100644 (file)
index 0000000..b0aced4
--- /dev/null
@@ -0,0 +1,102 @@
+Summary:       A freely licensed alternative to the GLUT library
+Summary(pl):   Zamiennik biblioteki GLUT na wolnej licencji
+Name:          freeglut
+Version:       2.4.0
+Release:       1
+License:       MIT
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
+# Source0-md5: 6d16873bd876fbf4980a927cfbc496a1
+URL:           http://freeglut.sourceforge.net/
+BuildRequires: OpenGL-GLU-devel
+# libX11, libXext, libXxf86vm
+BuildRequires: XFree86-devel
+Provides:      OpenGL-glut = 3.7
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Freeglut, the Free OpenGL Utility Toolkit, is meant to be a free
+alternative to Mark Kilgard's GLUT library. It is distributed under an
+X-Consortium style license (see COPYING for details), to offer you a
+chance to use and/or modify the source.
+
+It makes use of OpenGL, GLU, and pthread libraries. The library does
+not make use of any GLUT code and is not 100% compatible. Code
+recompilation and/or slight modifications might be required for your
+applications to work with freeglut.
+
+%description -l pl
+Freeglut to Free OpenGL Utility Toolkit, maj±cy byæ wolnodostêpnym
+zamiennikiem biblioteki GLUT Marka Kilgarda. Jest rozprowadzany na
+licencji w stylu X-Consortium (szczegó³y w pliku COPYING), aby
+umo¿liwiæ korzystanie i/lub modyfikowanie ¼róde³.
+
+Korzysta z bibliotek OpenGL, GLU i pthread. Biblioteka nie korzysta z
+¿adnego kodu GLUT-a i nie jest w 100% kompatybilna. Do dzia³ania
+aplikacji z freeglutem mo¿e byæ konieczna rekompilacja kodu i/lub ma³e
+modyfikacje.
+
+%package devel
+Summary:       Header files for freeglut library
+Summary(pl):   Pliki nag³ówkowe biblioteki freeglut
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      OpenGL-GLU-devel
+Requires:      XFree86-devel
+Provides:      OpenGL-glut-devel = 3.7
+
+%description devel
+Header files for freeglut library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki freeglut.
+
+%package static
+Summary:       Static freeglut library
+Summary(pl):   Statyczna biblioteka freeglut
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+Provides:      OpenGL-glut-static = 3.7
+
+%description static
+Static freeglut library.
+
+%description static -l pl
+Statyczna biblioteka freeglut.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png}
+%lang(fr) %doc LISEZ_MOI
+%attr(755,root,root) %{_libdir}/libglut.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/{freeglut_user_interface.html,structure.html}
+%attr(755,root,root) %{_libdir}/libglut.so
+%{_libdir}/libglut.la
+%{_includedir}/GL/freeglut*.h
+%{_includedir}/GL/glut.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libglut.a
This page took 0.0836 seconds and 4 git commands to generate.