INFO: GtkGLarea.spec
Wojciech "Sas" Cieciwa
cieciwa w alpha.zarz.agh.edu.pl
Wto, 12 Sty 1999, 18:37:19 CET
Proszę sprawdzić :))
Pozdrawiam.
Sas.
--
=============================================================================
UNIX System Administrator, POLAND
_/_/_/_/ _/_/_/_/ _/_/_/_/ Wojciech 'Sas' Cieciwa
_/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ cieciwa w alpha.zarz.agh.edu.pl
_/ _/ _/ _/ sas w uci.agh.edu.pl
_/_/_/_/ _/ _/ _/_/_/_/
http://www2.zarz.agh.edu.pl/~cieciwa
-------------- następna część ---------
Summary:GtkGLarea - OpenGL widget for GTK+ GUI toolkit.
Summary(pl):GtkGLarea - widgety OpenGL-owe dla GTK+.
Name:gtkglarea
Version:1.0
Release:1
Copyright:GPL
Group:X11/Librarias
Source:http://www.student.oulu.fi/~jlof/gtkglarea/download/%name-%version.tar.gz
Buildroot: /tmp/%{name}-%{version}-root
%description
GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.
Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which
is basically wrapper around GLX functions. The widget itself is very similar
to GtkDrawinigArea widget and adds only three extra functions.
Lower level gdkgl functions make it easy to render on any widget that has
OpenGL capable visual, rendering to off-screen pixmaps is also supported.
Related project which may iterest those who use GTK-- is GtkGLArea--. It is a
C++ wrapper for gtkglarea written by Karl Nelson <kenelson w ece.ucdavis.edu>.
%description -l pl
Biblioteka widget-ów dla GTK+.
%package devel
Summary:GtkGLarea library develpment.
Summary(pl): GtkGLarea pliki nagłówkowe.
Group:X11/Libraries
%description devel
Include header files and source of example.
%description -l pl devel
Zawiera pliki nagłówkowe, źródła do przykładowych programów.
%prep
%setup -q
%build
./configure --prefix=/usr/X11R6
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
strip $RPM_BUILD_ROOT/usr/X11R6/lib/*.so.*.*
install -d $RPM_BUILD_ROOT/usr/X11R6/bin
install -d $RPM_BUILD_ROOT/usr/lib/%{name}/examples
cd examples
install -s gdkfont $RPM_BUILD_ROOT/usr/X11R6/bin
install -s glpixmap $RPM_BUILD_ROOT/usr/X11R6/bin
install -s simple $RPM_BUILD_ROOT/usr/X11R6/bin
install -s viewlw $RPM_BUILD_ROOT/usr/X11R6/bin
install -s zktor $RPM_BUILD_ROOT/usr/X11R6/bin
cp *.c *.h *.lwo $RPM_BUILD_ROOT/usr/lib/%{name}/examples
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%name-%version
%files
%defattr(644, root, root, 755)
%doc docs/HOWTO.txt docs/gdkgl.txt docs/gtkglarea.txt
%attr(644, root, root)/usr/X11R6/lib/libgtkgl.so
%attr(644, root, root)/usr/X11R6/lib/libgtkgl.so.1
%attr(644, root, root)/usr/X11R6/lib/libgtkgl.so.1.1.2
%attr(644, root, root)/usr/X11R6/lib/libgtkgl.la
%attr(755, root, root)/usr/X11R6/bin/*
%files devel
%defattr(644, root, root, 755)
%doc examples/README
/usr/X11R6/include/gtkgl
%attr( -, root, root)/usr/X11R6/lib/libgtkgl.a
/usr/lib/%{name}/examples
%changelog
*Tue Jan 12 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
-build RPM.
Więcej informacji o liście dyskusyjnej pld-devel-pl