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