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