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