Summary(tr): 3D X Athena arayüz elemanlarý (widgets)
Name: Xaw3d
Version: 1.5
-Release: 4
+Release: 8
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-glibc.patch
+Source0: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%{name}-%{version}.tar.gz
+Patch0: %{name}-glibc.patch
+Patch1: %{name}-shlib.patch
+Patch2: %{name}.patch
+Patch3: %{name}-static.patch
+Patch4: %{name}-ia64.patch
Prereq: fileutils
-BuildRoot: /tmp/%{name}-%{version}-root
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%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.
+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.
+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.
+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 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.
+trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych)
+zmianach kodu ¼ród³owego.
%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.
+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.
%package devel
Summary: Files for developing programs that use Xaw3d
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.
+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.
+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.
+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.
+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.
+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.
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.
+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.
+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.
+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.
+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
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
export PATH=/usr/X11R6/bin:$PATH
install -d $RPM_BUILD_ROOT%{_includedir}/X11
cd xc/lib/Xaw3d
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d \
$RPM_BUILD_ROOT%{_includedir}/Xaw3d
ln -s ../Xaw3d $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d
-strip $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
rm -rf $RPM_BUILD_ROOT
%files
+%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%files devel
%{_includedir}/X11/Xaw3d
%files static
-%attr(644,root,root) %{_libdir}/lib*.a
-
-%changelog
-* Tue Jun 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.5-4]
-- based on RH spec,
-- spec rewrited by PLD team.
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a