]> git.pld-linux.org Git - packages/Xaw3d.git/blob - Xaw3d.spec
- release 8,
[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:        8
9 Group:          X11/Libraries
10 Group(pl):      X11/Biblioteki
11 Copyright:      MIT
12 Source0:        ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-glibc.patch
14 Patch1:         %{name}-shlib.patch
15 Patch2:         %{name}.patch
16 Patch3:         %{name}-static.patch
17 Patch4:         %{name}-ia64.patch
18 Prereq:         fileutils
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 Xaw3d is an enhanced version of the MIT Athena Widget set for X
25 Windows that adds a 3-dimensional look to the applications with
26 minimal or no source code changes.
27
28 %description -l de
29 Xaw3d ist eine erweiterte Version des MIT Athena Widget Set für X
30 Windows, das die Anwendung dreidimensional erscheinen läßt, ohne daß
31 umfangreiche Änderungen am Quellcode notwendig sind.
32
33 %description -l fr
34 Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT
35 pour X Window qui ajoute un aspect 3D aux applications avec peu, ou
36 pas du tout, de modification du code.
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)
41 zmianach kodu ¼ród³owego.
42
43 %description -l tr
44 Xaw3d, MIT Athena kitaplýðýna, uygulamalara herhangi bir kod
45 deðiþikliði yapýlmasýný gerektirmeden (ya da ufak deðiþiklikler
46 yaparak), üç boyutlu bir görüntü kazandýran bir geliþtirmedir.
47
48 %package devel
49 Summary:        Files for developing programs that use Xaw3d
50 Summary(de):    Dateien zur Entwicklung von Programmen, die Xaw3d benutzen 
51 Summary(fr):    Fichiers pour développer des programmes utilisant Xaw3d
52 Summary(pl):    Pliki potrzebne przy kompilacji programów u¿ywaj±cych Xaw3d
53 Summary(tr):    Xaw3d kitaplýðýný kullanan programlar geliþtirmek için gerekli dosyalar
54 Group:          X11/Libraries
55 Group(pl):      X11/Biblioteki
56 Requires:       %{name} = %{version}
57
58 %description devel
59 Xaw3d is an enhanced version of the MIT Athena Widget set for X
60 Windows that adds a 3-dimensional look to the applications with
61 minimal or no source code changes.
62
63 This package includes the header files developing programs that take
64 full advantage of Xaw3d's features.
65
66 %description -l de devel
67 Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für
68 X-Windows, das einer Applikationen mit minimalen oder keinen
69 Änderungen am Quellcode einen 3D-Look verleiht. Das Paket enthält die
70 Headerdateien zur Entwicklung von Programmen, die die Vorteile von
71 Xaw3d voll nutzen.
72
73 %description -l fr devel
74 Xaw3d est une version améliorée de l'ensemble Athena Widget du MIT
75 pour X Window qui ajoute un aspect 3D aux applications avec peu, ou
76 pas du tout, de modification du code. Ce paquetage contient les
77 en-têtes pour développer des programmes tirant plein avantage des
78 caractéristiques de Xaw3d.
79
80 %description -l pl devel
81 Xaw3d jest ulepszon± wersj± biblioteki X Athena Widget, która dodaje
82 trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych)
83 zmianach kodu ¼ród³owego.
84
85 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilacji programów
86 wykorzystuj±cych Xaw3d.
87
88 %package static
89 Summary:        Xaw3d static library
90 Summary(pl):    Biblioteki statyczne Xaw3d
91 Group:          X11/Libraries
92 Group(pl):      X11/Biblioteki
93 Requires:       %{name}-devel = %{version}
94
95 %description static
96 Xaw3d is an enhanced version of the MIT Athena Widget set for X
97 Windows that adds a 3-dimensional look to the applications with
98 minimal or no source code changes.
99
100 This package includes the static library for developing programs that
101 take full advantage of Xaw3d's features.
102
103 %description -l de static
104 Xaw3d ist eine erweiterte Version des MIT-Athena Widget-Sets für
105 X-Windows, das einer Applikationen mit minimalen oder keinen
106 Änderungen am Quellcode einen 3D-Look verleiht. Das Paket enthält die
107 statischen Library zur Entwicklung von Programmen, die die Vorteile
108 von Xaw3d voll nutzen.
109
110 %description -l pl static
111 Xaw3d jest ulepszon± wersj± biblioteki X Athena Widget, która dodaje
112 trójwymiarowy wygl±d aplikacjom przy minimalnych (lub ¿adnych)
113 zmianach kodu ¼ród³owego.
114
115 Ten pakiet zawiera biblioteki statyczne dla Xaw3d.
116
117 %prep
118 %setup -q -c
119 %patch0 -p1
120 %patch1 -p1
121 %patch2 -p1
122 %patch3 -p1
123 %patch4 -p1
124
125 %build
126 export PATH=/usr/X11R6/bin:$PATH
127 cd xc/lib/Xaw3d
128 xmkmf
129 mkdir X11; ln -s `pwd` X11/Xaw3d
130 make    CDEBUGFLAGS="$RPM_OPT_FLAGS" \
131         CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
132         LDFLAGS="-s" \
133         EXTRA_INCLUDES=-I.
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT%{_includedir}/X11
138
139 cd xc/lib/Xaw3d
140 %{__make} install DESTDIR=$RPM_BUILD_ROOT
141
142 mv    $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d \
143       $RPM_BUILD_ROOT%{_includedir}/Xaw3d
144 ln -s ../Xaw3d $RPM_BUILD_ROOT%{_includedir}/X11/Xaw3d
145
146 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
147
148 %post   -p /sbin/ldconfig
149 %postun -p /sbin/ldconfig
150
151 %clean
152 rm -rf $RPM_BUILD_ROOT
153
154 %files
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*
157
158 %files devel
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_libdir}/lib*.so
161 %{_includedir}/Xaw3d
162 %{_includedir}/X11/Xaw3d
163
164 %files static
165 %defattr(644,root,root,755)
166 %{_libdir}/lib*.a
This page took 0.062505 seconds and 3 git commands to generate.