]> git.pld-linux.org Git - packages/Xaw3d.git/blobdiff - Xaw3d.spec
- release 11.
[packages/Xaw3d.git] / Xaw3d.spec
index dbf52dad9f320019f0c99dad556329332f510668..4c498bd606e6f2cda186deba3582718a5a739384 100644 (file)
-Summary:       X athena widgets in 3d
-Summary(de):   X-Athena-Widgets in 3D 
+Summary:       A version of the MIT Athena widget set for X
+Summary(de):   3D-Version des MIT Athena-Widgetsatzes fuer X
 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
+Release:       11
+License:       MIT
 Group:         X11/Libraries
+Group(de):     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/
+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.
-
-%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 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.
 
 %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}
+Summary:       Files for developing programs that use Xaw3d
+Summary(de):   Header und statische Libraries fuer Xaw3d-Entwicklung
+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(de):     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.
+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.
 
 %package static
-Summary:     Xaw3d static library
-Summary(pl): Biblioteki statyczne Xaw3d
-Group:       X11/Libraries
-Group(pl):   X11/Biblioteki
-Requires:    %{name}-devel = %{version}
+Summary:       Xaw3d static library
+Summary(pl):   Biblioteki statyczne Xaw3d
+Group:         X11/Libraries
+Group(de):     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.
+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
+export PATH=%{_bindir}:$PATH
 cd xc/lib/Xaw3d
 xmkmf
 mkdir X11; ln -s `pwd` X11/Xaw3d
-make   CDEBUGFLAGS="$RPM_OPT_FLAGS" \
-       CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
-       LDFLAGS=-s \
+make   CDEBUGFLAGS="%{rpmcflags}" \
+       CXXDEBUGFLAGS="%{rpmcflags}" \
        EXTRA_INCLUDES=-I.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/include/X11
+install -d $RPM_BUILD_ROOT%{_includedir}/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
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
+mv -f    $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d \
+      $RPM_BUILD_ROOT%{_includedir}/Xaw3d
+ln -s ../Xaw3d $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -140,67 +151,22 @@ strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%triggerpostun devel -- Xaw3d-devel < 1.5-5
+if [ -d /usr/X11R6/include/Xaw3d ]; then
+       rm -rf /usr/X11R6/include/Xaw3d
+       ln -sf X11/Xaw3d /usr/X11R6/include
+fi                                                                                                            
+
 %files
-%attr(755, root, root) /usr/X11R6/lib/lib*.so.*.*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
-%defattr(644, root, root, 755)
-/usr/X11R6/lib/lib*.so
-/usr/X11R6/include/Xaw3d
-/usr/X11R6/include/X11/Xaw3d
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/Xaw3d
+%{_includedir}/X11/Xaw3d
 
 %files static
-%attr(644, root, root) /usr/X11R6/lib/*.a
-
-%changelog
-* Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [1.5-3]
-- added pl translations
-- added LDFLAGS=-s
-
-* Mon Oct 12 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.5-2]
-- fixed compiling Xaw3d on system without installled Xaw3d-devel.
-
-* Mon Aug 16 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [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 <gafton@redhat.com>
-  [1.3-15]
-- fixed the bad symlink
-- BuildRoot
-
-* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
-- don't lave an improper return code from %pre
-
-* Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
-- take care of the old location of the Xaw3d includes in case that one exist
-- updated Prereq: field
-
-* Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com
-- fixed the -devel package for the right include files path
-
-* Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
-- minor spec file cleanups
-
-* Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
-- i18n widec.h patch needs to be applied on all systems
-
-* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
-- changed axp check to alpha
-
-* Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.128661 seconds and 4 git commands to generate.