Summary: X athena widgets in 3d Summary(de): X-Athena-Widgets in 3D Summary(fr): Widgets X Athena en 3D Summary(pl): Biblioteka X athena widgets (wersja 3D) Summary(tr): 3D X Athena arayüz elemanlarý (widgets) Name: Xaw3d Version: 1.5 Release: 3 Group: X11/Libraries Group(pl): X11/Biblioteki Copyright: MIT Source: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%{name}-%{version}.tar.gz Patch: Xaw3d-1.3-glibc.patch URL: ftp://ftp.x.org/contrib/widgets/Xaw3d/ Prereq: fileutils BuildRoot: /tmp/%{name}-%{version}-root %description Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows that adds a 3-dimensional look to the applications with minimal or no source code changes. %description -l de Xaw3d ist eine erweiterte Version des MIT Athena Widget Set für X Windows, das die Anwendung dreidimensional erscheinen läßt, ohne daß umfangreiche Änderungen am Quellcode notwendig sind. %description -l fr Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT pour X Window qui ajoute un aspect 3D aux applications avec peu, ou pas du tout, de modification du code. %description -l tr Xaw3d, MIT Athena kitaplýđýna, uygulamalara herhangi bir kod deđiţikliđi yapýlmasýný gerektirmeden (ya da ufak deđiţiklikler yaparak), üç boyutlu bir görüntü kazandýran bir geliţtirmedir. %description -l pl Xaw3d jest ulepszoną wersją biblioteki X Athena Widget, która dodaje trójwymiarowy wygląd aplikacjom przy minimalnych (lub żadnych) zmianach kodu źródłowego. %package devel Summary: Files for developing programs that use Xaw3d Summary(de): Dateien zur Entwicklung von Programmen, die Xaw3d benutzen Summary(fr): Fichiers pour développer des programmes utilisant Xaw3d Summary(pl): Pliki potrzebne przy kompilacji programów używających Xaw3d Summary(tr): Xaw3d kitaplýđýný kullanan programlar geliţtirmek için gerekli dosyalar Group: X11/Libraries Group(pl): X11/Biblioteki Requires: %{name} = %{version} %description devel Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows that adds a 3-dimensional look to the applications with minimal or no source code changes. This package includes the header files developing programs that take full advantage of Xaw3d's features. %description -l de devel Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für X-Windows, das einer Applikationen mit minimalen oder keinen Änderungen am Quellcode einen 3D-Look verleiht. Das Paket enthält die Headerdateien zur Entwicklung von Programmen, die die Vorteile von Xaw3d voll nutzen. %description -l fr devel Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT pour X Window qui ajoute un aspect 3D aux applications avec peu, ou pas du tout, de modification du code. Ce paquetage contient les en-tętes pour développer des programmes tirant plein avantage des caractéristiques de Xaw3d. %description -l pl devel Xaw3d jest ulepszoną wersją biblioteki X Athena Widget, która dodaje trójwymiarowy wygląd aplikacjom przy minimalnych (lub żadnych) zmianach kodu źródłowego. Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilacji programów wykorzystujących Xaw3d. %package static Summary: Xaw3d static library Summary(pl): Biblioteki statyczne Xaw3d Group: X11/Libraries Group(pl): X11/Biblioteki Requires: %{name}-devel = %{version} %description static Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows that adds a 3-dimensional look to the applications with minimal or no source code changes. This package includes the static library for developing programs that take full advantage of Xaw3d's features. %description -l de static Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für X-Windows, das einer Applikationen mit minimalen oder keinen Änderungen am Quellcode einen 3D-Look verleiht. Das Paket enthält die statischen Library zur Entwicklung von Programmen, die die Vorteile von Xaw3d voll nutzen. %description -l pl static Xaw3d jest ulepszoną wersją biblioteki X Athena Widget, która dodaje trójwymiarowy wygląd aplikacjom przy minimalnych (lub żadnych) zmianach kodu źródłowego. Ten pakiet zawiera biblioteki statyczne dla Xaw3d. %prep %setup -q -c %patch -p1 %build export PATH=/usr/X11R6/bin:$PATH cd xc/lib/Xaw3d xmkmf mkdir X11; ln -s `pwd` X11/Xaw3d make CDEBUGFLAGS="$RPM_OPT_FLAGS" \ CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \ LDFLAGS=-s \ EXTRA_INCLUDES=-I. %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/X11R6/include/X11 cd xc/lib/Xaw3d make install DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT/usr/X11R6/include/X11/Xaw3d \ $RPM_BUILD_ROOT/usr/X11R6/include/Xaw3d ln -s ../Xaw3d $RPM_BUILD_ROOT/usr/X11R6/include/X11/Xaw3d strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.* %files devel %defattr(644,root,root,755) /usr/X11R6/lib/lib*.so /usr/X11R6/include/Xaw3d /usr/X11R6/include/X11/Xaw3d %files static %attr(644,root,root) /usr/X11R6/lib/*.a %changelog * Thu Feb 10 1999 Michał Kuratczyk [1.5-3] - added pl translations - added LDFLAGS=-s * Mon Oct 12 1998 Tomasz Kłoczko [1.5-2] - fixed compiling Xaw3d on system without installled Xaw3d-devel. * Mon Aug 16 1998 Tomasz Kłoczko [1.5-1] - added -q %setup parameter, - changed Buildroot to /tmp/%%{name}-%%{version}-root, - added using %%{name} and %%{version} in Source, - added static subpackage, - changed dependencies to "Requires: %%{name} = %%{version}" in devel subpackage, - added using $RPM_OPT_FLAGS during compile, - added stripping shared libraries, - added %attr and %defattr macros in %files (allows build package from non-root account). * Wed May 06 1998 Cristian Gafton [1.3-15] - fixed the bad symlink - BuildRoot * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Tue Nov 04 1997 Erik Troan - don't lave an improper return code from %pre * Mon Nov 03 1997 Cristian Gafton - take care of the old location of the Xaw3d includes in case that one exist - updated Prereq: field * Mon Oct 26 1997 Cristian Gafton - minor spec file cleanups * Wed Oct 01 1997 Erik Troan - i18n widec.h patch needs to be applied on all systems * Sun Sep 14 1997 Erik Troan - changed axp check to alpha * Mon Jun 16 1997 Erik Troan - built against glibc