]> git.pld-linux.org Git - packages/Xaw3d.git/blob - Xaw3d.spec
- Xaw3d patch for proper compiling on systems with glibc.
[packages/Xaw3d.git] / Xaw3d.spec
1 Summary:        X athena widgets in 3d
2 Summary(de):    X-Athena-Widgets in 3D 
3 Summary(fr):    Widgets X Athena en 3D
4 Summary(pl):    Biblioteka X athena widgets (wersja 3D)
5 Summary(tr):    3D X Athena arayüz elemanlarý (widgets)
6 Name:           Xaw3d
7 Version:        1.5
8 Release:        3
9 Group:          X11/Libraries
10 Group(pl):      X11/Biblioteki
11 Copyright:      MIT
12 Source:         ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%{name}-%{version}.tar.gz
13 Patch:          Xaw3d-1.3-glibc.patch
14 URL:            ftp://ftp.x.org/contrib/widgets/Xaw3d/
15 Prereq:         fileutils
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows
20 that adds a 3-dimensional look to the applications with minimal or no
21 source code changes.
22
23 %description -l de
24 Xaw3d ist eine erweiterte Version des MIT Athena Widget Set für X Windows,
25 das die Anwendung dreidimensional erscheinen läßt, ohne daß umfangreiche 
26 Änderungen am Quellcode notwendig sind.
27
28 %description -l fr
29 Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT pour
30 X Window qui ajoute un aspect 3D aux applications avec peu, ou pas du tout,
31 de modification du code.
32
33 %description -l tr
34 Xaw3d, MIT Athena kitaplýðýna, uygulamalara herhangi bir kod deðiþikliði
35 yapýlmasýný gerektirmeden (ya da ufak deðiþiklikler yaparak), üç boyutlu
36 bir görüntü kazandýran bir geliþtirmedir.
37
38 %description -l pl
39 Xaw3d jest ulepszon± wersj± biblioteki X Athena Widget, która dodaje
40 trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych) zmianach
41 kodu ¼ród³owego.
42
43 %package devel
44 Summary:     Files for developing programs that use Xaw3d
45 Summary(de): Dateien zur Entwicklung von Programmen, die Xaw3d benutzen 
46 Summary(fr): Fichiers pour développer des programmes utilisant Xaw3d
47 Summary(pl): Pliki potrzebne przy kompilacji programów u¿ywaj±cych Xaw3d
48 Summary(tr): Xaw3d kitaplýðýný kullanan programlar geliþtirmek için gerekli dosyalar
49 Group:       X11/Libraries
50 Group(pl):   X11/Biblioteki
51 Requires:    %{name} = %{version}
52
53 %description devel
54 Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows
55 that adds a 3-dimensional look to the applications with minimal or no
56 source code changes.
57
58 This package includes the header files developing programs that take full
59 advantage of Xaw3d's features.
60
61 %description -l de devel
62 Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für X-Windows,
63 das einer Applikationen mit minimalen oder keinen Änderungen am Quellcode
64 einen 3D-Look verleiht. Das Paket enthält die Headerdateien zur Entwicklung
65 von Programmen, die die Vorteile von Xaw3d voll nutzen.
66
67 %description -l fr devel
68 Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT pour X
69 Window qui ajoute un aspect 3D aux applications avec peu, ou pas du tout,
70 de modification du code. Ce paquetage contient les en-têtes pour
71 développer des programmes tirant plein avantage des caractéristiques de
72 Xaw3d.
73
74 %description -l pl devel
75 Xaw3d jest ulepszon± wersj± biblioteki X Athena Widget, która dodaje
76 trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych) zmianach
77 kodu ¼ród³owego.
78
79 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilacji programów
80 wykorzystuj±cych Xaw3d.
81
82 %package static
83 Summary:     Xaw3d static library
84 Summary(pl): Biblioteki statyczne Xaw3d
85 Group:       X11/Libraries
86 Group(pl):   X11/Biblioteki
87 Requires:    %{name}-devel = %{version}
88
89 %description static
90 Xaw3d is an enhanced version of the MIT Athena Widget set for X Windows
91 that adds a 3-dimensional look to the applications with minimal or no
92 source code changes.
93
94 This package includes the static library for developing programs that take
95 full advantage of Xaw3d's features.
96
97 %description -l de static
98 Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für X-Windows, 
99 das einer Applikationen mit minimalen oder keinen Änderungen am Quellcode
100 einen 3D-Look verleiht. Das Paket enthält die statischen Library zur
101 Entwicklung von Programmen, die die Vorteile von Xaw3d voll nutzen.
102
103 %description -l pl static
104 Xaw3d jest ulepszon± wersj± biblioteki X Athena Widget, która dodaje
105 trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych) zmianach
106 kodu ¼ród³owego.
107
108 Ten pakiet zawiera biblioteki statyczne dla Xaw3d.
109
110 %prep
111 %setup -q -c
112 %patch -p1
113
114 %build
115 export PATH=/usr/X11R6/bin:$PATH
116 cd xc/lib/Xaw3d
117 xmkmf
118 mkdir X11; ln -s `pwd` X11/Xaw3d
119 make    CDEBUGFLAGS="$RPM_OPT_FLAGS" \
120         CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
121         LDFLAGS=-s \
122         EXTRA_INCLUDES=-I.
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT/usr/X11R6/include/X11
127
128 cd xc/lib/Xaw3d
129 make install DESTDIR=$RPM_BUILD_ROOT
130
131 mv    $RPM_BUILD_ROOT/usr/X11R6/include/X11/Xaw3d \
132       $RPM_BUILD_ROOT/usr/X11R6/include/Xaw3d
133 ln -s ../Xaw3d $RPM_BUILD_ROOT/usr/X11R6/include/X11/Xaw3d
134
135 strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
136
137 %post   -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %files
144 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
145
146 %files devel
147 %defattr(644,root,root,755)
148 /usr/X11R6/lib/lib*.so
149 /usr/X11R6/include/Xaw3d
150 /usr/X11R6/include/X11/Xaw3d
151
152 %files static
153 %attr(644,root,root) /usr/X11R6/lib/*.a
154
155 %changelog
156 * Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
157   [1.5-3]
158 - added pl translations
159 - added LDFLAGS=-s
160
161 * Mon Oct 12 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
162   [1.5-2]
163 - fixed compiling Xaw3d on system without installled Xaw3d-devel.
164
165 * Mon Aug 16 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
166   [1.5-1]
167 - added -q %setup parameter,
168 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
169 - added using %%{name} and %%{version} in Source,
170 - added static subpackage,
171 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
172   subpackage,
173 - added using $RPM_OPT_FLAGS during compile,
174 - added stripping shared libraries,
175 - added %attr and %defattr macros in %files (allows build package from
176   non-root account).
177
178 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
179   [1.3-15]
180 - fixed the bad symlink
181 - BuildRoot
182
183 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
184 - translations modified for de, fr, tr
185
186 * Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
187 - don't lave an improper return code from %pre
188
189 * Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
190 - take care of the old location of the Xaw3d includes in case that one exist
191 - updated Prereq: field
192
193 * Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com
194 - fixed the -devel package for the right include files path
195
196 * Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
197 - minor spec file cleanups
198
199 * Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
200 - i18n widec.h patch needs to be applied on all systems
201
202 * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
203 - changed axp check to alpha
204
205 * Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
206 - built against glibc
This page took 0.112062 seconds and 3 git commands to generate.