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