[521] | 1 | %define compatlib 0 |
---|
| 2 | |
---|
| 3 | Summary: A version of the MIT Athena widget set for X. |
---|
| 4 | Summary(ja): X 用 MIT Athena widget の 3D 風バージョン |
---|
| 5 | Name: Xaw3d |
---|
| 6 | Version: 1.5E |
---|
[5569] | 7 | Release: 7%{?_dist_release} |
---|
[521] | 8 | Group: System Environment/Libraries |
---|
| 9 | Source: ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-%{version}.tar.gz |
---|
| 10 | Source1: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6/Xaw3d-1.3.tar.gz |
---|
| 11 | Source2: Imakefile |
---|
| 12 | URL: ftp://ftp.visi.com/users/hawkeyd/X/ |
---|
| 13 | |
---|
| 14 | # patch for compat libraries |
---|
| 15 | Patch0: Xaw3d-1.1-shlib.patch |
---|
| 16 | Patch1: Xaw3d-1.3-glibc.patch |
---|
| 17 | Patch2: Xaw3d-1.3-X11R6.3.patch |
---|
| 18 | Patch3: xaw3d.patch |
---|
| 19 | Patch4: Xaw3d-1.3-static.patch |
---|
| 20 | Patch5: Xaw3d-ia64.patch |
---|
| 21 | Patch6: Xaw3d-1.5-i18n.patch |
---|
| 22 | Patch7: Xaw3d-1.5-color.patch |
---|
| 23 | Patch8: Xaw3d-1.5-troughColor.patch |
---|
| 24 | Patch9: Xaw3d-1.3-misc.patch |
---|
| 25 | Patch10: Xaw3d-1.5-scrollbar2.patch |
---|
| 26 | |
---|
| 27 | # patch for current libraries |
---|
| 28 | Patch50: Xaw3d-1.5E-xorg-imake.patch |
---|
| 29 | |
---|
| 30 | License: MIT |
---|
[5569] | 31 | Requires(pre): fileutils |
---|
[521] | 32 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 33 | BuildRequires: libXmu-devel |
---|
| 34 | BuildRequires: libXt-devel |
---|
| 35 | BuildRequires: libSM-devel |
---|
| 36 | BuildRequires: libXext-devel |
---|
| 37 | BuildRequires: libX11-devel |
---|
| 38 | BuildRequires: libXpm-devel |
---|
| 39 | BuildRequires: imake |
---|
| 40 | BuildRequires: bison |
---|
| 41 | BuildRequires: flex |
---|
| 42 | BuildRequires: ed |
---|
| 43 | |
---|
| 44 | Vendor: Project Vine |
---|
| 45 | Distribution: Vine Linux |
---|
| 46 | |
---|
| 47 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 48 | |
---|
| 49 | %description |
---|
| 50 | Xaw3d is an enhanced version of the MIT Athena Widget set for |
---|
| 51 | the X Window System. Xaw3d adds a three-dimensional look to applications |
---|
| 52 | with minimal or no source code changes. |
---|
| 53 | |
---|
| 54 | You should install Xaw3d if you are using applications which incorporate |
---|
| 55 | the MIT Athena widget set and you'd like to incorporate a 3D look into |
---|
| 56 | those applications. |
---|
| 57 | |
---|
| 58 | %description -l ja |
---|
| 59 | Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの |
---|
| 60 | 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を |
---|
| 61 | 加えることなく,アプリケーションに 3D ルックを追加することが出来ます. |
---|
| 62 | |
---|
| 63 | MIT Athena ウィジェットセットを使ったアプリケーションを利用していて, |
---|
| 64 | これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい. |
---|
| 65 | |
---|
| 66 | %package -n compat32-%{name} |
---|
| 67 | Summary: A version of the MIT Athena widget set for X. |
---|
| 68 | Summary(ja): X 用 MIT Athena widget の 3D 風バージョン |
---|
| 69 | Group: System Environment/Libraries |
---|
| 70 | Requires: %{name} = %{version}-%{release} |
---|
| 71 | |
---|
| 72 | %description -n compat32-%{name} |
---|
| 73 | Xaw3d is an enhanced version of the MIT Athena Widget set for |
---|
| 74 | the X Window System. Xaw3d adds a three-dimensional look to applications |
---|
| 75 | with minimal or no source code changes. |
---|
| 76 | |
---|
| 77 | You should install Xaw3d if you are using applications which incorporate |
---|
| 78 | the MIT Athena widget set and you'd like to incorporate a 3D look into |
---|
| 79 | those applications. |
---|
| 80 | |
---|
| 81 | %description -n compat32-%{name} -l ja |
---|
| 82 | Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの |
---|
| 83 | 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を |
---|
| 84 | 加えることなく,アプリケーションに 3D ルックを追加することが出来ます. |
---|
| 85 | |
---|
| 86 | MIT Athena ウィジェットセットを使ったアプリケーションを利用していて, |
---|
| 87 | これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい. |
---|
| 88 | |
---|
| 89 | %package devel |
---|
| 90 | Summary: Header files and static libraries for development using Xaw3d. |
---|
| 91 | Group: Development/Libraries |
---|
| 92 | Requires: %{name} = %{version}-%{release} |
---|
| 93 | Requires: libXmu-devel |
---|
| 94 | Requires: libXt-devel |
---|
| 95 | Requires: libSM-devel |
---|
| 96 | Requires: libXext-devel |
---|
| 97 | Requires: libX11-devel |
---|
| 98 | Requires: libXpm-devel |
---|
| 99 | |
---|
| 100 | %description devel |
---|
| 101 | Xaw3d is an enhanced version of the MIT Athena widget set for |
---|
| 102 | the X Window System. Xaw3d adds a three-dimensional look to those |
---|
| 103 | applications with minimal or no source code changes. Xaw3d-devel includes |
---|
| 104 | the header files and static libraries for developing programs that take |
---|
| 105 | full advantage of Xaw3d's features. |
---|
| 106 | |
---|
| 107 | You should install Xaw3d-devel if you are going to develop applications |
---|
| 108 | using the Xaw3d widget set. You'll also need to install the Xaw3d |
---|
| 109 | package. |
---|
| 110 | |
---|
| 111 | %description devel -l ja |
---|
| 112 | Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの |
---|
| 113 | 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を |
---|
| 114 | 加えることなく,アプリケーションに 3D ルックを追加することが出来ます. |
---|
| 115 | Xaw3d-devel パッケージには,Xaw3d の機能を最大限に利用するプログラムの |
---|
| 116 | 開発に必要なヘッダファイルとスタティックライブラリが収められています. |
---|
| 117 | |
---|
| 118 | Xaw3d ウィジェットセットを使ったアプリケーション開発を行う場合は |
---|
| 119 | Xaw3d-devel パッケージをインストールして下さい. |
---|
| 120 | 同時に Xaw3d もインストールしておく必要があります. |
---|
| 121 | |
---|
| 122 | %prep |
---|
| 123 | %setup -q -c |
---|
| 124 | |
---|
| 125 | # Xaw3d7 |
---|
| 126 | pushd xc/lib/Xaw3d |
---|
| 127 | ln -s .. X11 |
---|
| 128 | %patch50 -p0 -b .config |
---|
| 129 | popd |
---|
| 130 | |
---|
| 131 | # Xaw3d6 (compat libs) |
---|
| 132 | %if %{compatlib} |
---|
| 133 | %ifnarch ia64 |
---|
| 134 | mkdir old |
---|
| 135 | pushd old |
---|
| 136 | tar xzf %{SOURCE1} |
---|
| 137 | popd |
---|
| 138 | mv old/xc/lib/Xaw3d xc/lib/Xaw3d6 |
---|
| 139 | rm -rf old |
---|
| 140 | pushd xc/lib/Xaw3d6 |
---|
| 141 | %patch0 -p0 |
---|
| 142 | ln -s .. X11 |
---|
| 143 | %patch1 -p4 |
---|
| 144 | %patch2 -p3 |
---|
| 145 | %patch3 -p4 |
---|
| 146 | %patch4 -p0 |
---|
| 147 | %patch6 -p4 |
---|
| 148 | %patch7 -p3 |
---|
| 149 | #%patch8 -p3 |
---|
| 150 | %patch9 -p3 |
---|
| 151 | #%patch10 -p4 |
---|
| 152 | popd |
---|
| 153 | %endif |
---|
| 154 | %endif |
---|
| 155 | |
---|
| 156 | %build |
---|
| 157 | |
---|
| 158 | # Xaw3d7 |
---|
| 159 | pushd xc/lib/Xaw3d |
---|
| 160 | #export PATH=/usr/X11R6/bin:$PATH |
---|
| 161 | xmkmf |
---|
| 162 | make CDEBUGFLAGS="${RPM_OPT_FLAGS} -DARROW_SCROLLBAR -DUSEGRAY" |
---|
| 163 | popd |
---|
| 164 | |
---|
| 165 | # Xaw3d6 (compat libs) |
---|
| 166 | %if %{compatlib} |
---|
| 167 | %ifnarch ia64 |
---|
| 168 | cp %{SOURCE2} xc/lib/Xaw3d6 |
---|
| 169 | pushd xc/lib/Xaw3d6 |
---|
| 170 | xmkmf |
---|
| 171 | make CFLAGS="${RPM_OPT_FLAGS} -DARROW_SCROLLBAR -DUSEGRAY" |
---|
| 172 | popd |
---|
| 173 | %endif |
---|
| 174 | %endif |
---|
| 175 | |
---|
| 176 | %install |
---|
| 177 | rm -rf $RPM_BUILD_ROOT |
---|
| 178 | |
---|
| 179 | # Xaw3d7 |
---|
| 180 | pushd xc/lib/Xaw3d |
---|
| 181 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 182 | popd |
---|
| 183 | |
---|
| 184 | # Xaw3d6 |
---|
| 185 | %if %{compatlib} |
---|
| 186 | %ifnarch ia64 |
---|
| 187 | %__mkdir_p $RPM_BUILD_ROOT/usr/%{_lib} |
---|
| 188 | cp -aR xc/lib/Xaw3d6/libXaw*so.* $RPM_BUILD_ROOT/usr/%{_lib}/ |
---|
| 189 | %endif |
---|
| 190 | %endif |
---|
| 191 | |
---|
| 192 | %clean |
---|
| 193 | rm -rf $RPM_BUILD_ROOT |
---|
| 194 | |
---|
| 195 | %post -p /sbin/ldconfig |
---|
| 196 | |
---|
| 197 | %postun -p /sbin/ldconfig |
---|
| 198 | |
---|
| 199 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 200 | |
---|
| 201 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 202 | |
---|
| 203 | %files |
---|
| 204 | %defattr(-,root,root) |
---|
| 205 | /usr/%{_lib}/*.so.* |
---|
| 206 | |
---|
| 207 | %if %{build_compat32} |
---|
| 208 | %files -n compat32-%{name} |
---|
| 209 | %defattr(-,root,root) |
---|
| 210 | /usr/%{_lib}/*.so.* |
---|
| 211 | %endif |
---|
| 212 | |
---|
| 213 | %files devel |
---|
| 214 | %defattr(-,root,root) |
---|
| 215 | #/usr/X11R6/%{_lib}/*.a |
---|
| 216 | /usr/%{_lib}/*.so |
---|
| 217 | %{_includedir}/X11/Xaw3d |
---|
| 218 | #ghost /usr/X11R6/include/Xaw3d |
---|
| 219 | |
---|
| 220 | %changelog |
---|
[5569] | 221 | * Sat Feb 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5E-7 |
---|
| 222 | - rebuild with Vine6 environment |
---|
| 223 | |
---|
[521] | 224 | * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5E-6 |
---|
| 225 | - update Requires of -devel |
---|
| 226 | |
---|
| 227 | * Sat Jun 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5E-5 |
---|
| 228 | - rebuilt with xorg-x11-7.3 |
---|
| 229 | - updated BuildRequires |
---|
| 230 | - spec in UTF-8 |
---|
| 231 | |
---|
| 232 | * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5E-4vl1 |
---|
| 233 | - update to 1.5E |
---|
| 234 | - sync with fedora core's 1.5E-4 |
---|
| 235 | - import patches: |
---|
| 236 | - misc.patch (patch9) |
---|
| 237 | - scrollbar2.patch (patch10) |
---|
| 238 | - xorg-imake.patch (patch50) |
---|
| 239 | |
---|
| 240 | * Thu Jan 20 2005 Than Ngo <than@redhat.com> 1.5E-2 |
---|
| 241 | - enable ARROW_SCROLLBARS, MULTIPLANE_PIXMAPS |
---|
| 242 | |
---|
| 243 | * Tue Nov 30 2004 Than Ngo <than@redhat.com> 1.5E-1 |
---|
| 244 | - update to 1.5E, #130310 |
---|
| 245 | - fix compiler warning #110766 |
---|
| 246 | |
---|
| 247 | * Tue Nov 23 2004 Than Ngo <than@redhat.com> 1.5-24 |
---|
| 248 | - add patch to fix build problem with xorg-x11, #140475 |
---|
| 249 | |
---|
| 250 | * Wed Nov 26 2003 Than Ngo <than@redhat.com> 1.5-20 |
---|
| 251 | - added missing Buildprereq: XFree86-devel (bug #110601, #109692, #110735) |
---|
| 252 | - fixed arguments in scrollbar (bug #110766) |
---|
| 253 | |
---|
| 254 | - fix description devel -l ja |
---|
| 255 | - update URLs |
---|
| 256 | - add Vendor/Distribution tag |
---|
| 257 | |
---|
| 258 | * Sat Sep 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5-17vl4 |
---|
| 259 | - add BuildRequires: XOrg-devel, bison, flex |
---|
| 260 | - add Requires: XOrg-devel (Xaw3d-devel) |
---|
| 261 | - mkdir $RPM_BUILD_ROOT/usr/X11R6/%%{_lib} before copy libraries |
---|
| 262 | |
---|
| 263 | * Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.5-17vl3 |
---|
| 264 | - added compat32-Xaw3d package for x86_64 architecture support |
---|
| 265 | |
---|
| 266 | * Mon Apr 7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.5-17vl2 |
---|
| 267 | - rebuild |
---|
| 268 | |
---|
| 269 | * Tue Dec 10 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-17vl1 |
---|
| 270 | - add patch7 to use grayscale color. |
---|
| 271 | - merged with rawhide release |
---|
| 272 | * Thu Nov 7 2002 han Ngo <than@redhat.com> 1.5-17 |
---|
| 273 | - fix some building problems |
---|
| 274 | * Thu Sep 5 2002 Preston Brown <pbrown@redhat.com> 1.5-16 |
---|
| 275 | - -DARROW_SCROLLBAR for rms |
---|
| 276 | * Thu Aug 8 2002 Than Ngo <than@redhat.com> 1.5-15 |
---|
| 277 | - Added patch file to fix i18n issue, ynakai@redhat.com |
---|
| 278 | |
---|
| 279 | * Fri Jul 13 2001 <sagami@vinelinux.org> |
---|
| 280 | - 1.5-9vl3: use %%{ix86} for _arch instead of i386 :-) |
---|
| 281 | |
---|
| 282 | * Wed May 23 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> |
---|
| 283 | - 1.5-9vl2 |
---|
| 284 | - add i386 and alpha to libXaw*so.*'s link in %%install |
---|
| 285 | |
---|
| 286 | * Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
| 287 | - 1.5-9vl1 |
---|
| 288 | - rebuilt for Vine Linux |
---|
| 289 | - added Japanese summary and description |
---|
| 290 | - added sparc, sparc64 to libXaw*so.*'s link in %%install |
---|
| 291 | (this is taken from 1.5-8vl1 from VineSeed/TestPkg by Machino-san) |
---|
| 292 | |
---|
| 293 | * Wed Feb 28 2001 Than Ngo <than@redhat.com> |
---|
| 294 | - add requires Xaw3d = %%{version} |
---|
| 295 | - add prereq /sbin/ldconfig |
---|
| 296 | |
---|
| 297 | * Tue Oct 10 2000 Than Ngo <than@redhat.com> |
---|
| 298 | - fix link which causes faulty update (Bug #17895) |
---|
| 299 | |
---|
| 300 | * Mon Jul 24 2000 Bill Nottingham <notting@redhat.com> |
---|
| 301 | - ia64 tweaks |
---|
| 302 | |
---|
| 303 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 304 | - automatic rebuild |
---|
| 305 | |
---|
| 306 | * Mon Jul 10 2000 Bernhard Rosenkraenzer <bero@redhat.de> |
---|
| 307 | - Restore Xaw3d 1.5 - the addition of the backward compatibility library |
---|
| 308 | killed the current one. |
---|
| 309 | - get rid of the CDEBUGFLAGS="" hack, the current gcc fixes it |
---|
| 310 | |
---|
| 311 | * Mon Jul 03 2000 Than Ngo <than@redhat.de> |
---|
| 312 | - fix Imakefile to static Xawd3d |
---|
| 313 | |
---|
| 314 | * Sat Jun 17 2000 Than Ngo <than@redhat.de> |
---|
| 315 | - add backward compatibility libXaw3d.so.6 (Bug# 12261) |
---|
| 316 | |
---|
| 317 | * Mon May 15 2000 Bill Nottingham <notting@redhat.com> |
---|
| 318 | - fix unaligned traps on ia64 |
---|
| 319 | |
---|
| 320 | * Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 321 | - 1.5 |
---|
| 322 | |
---|
| 323 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 324 | - auto rebuild in the new build environment (release 21) |
---|
| 325 | |
---|
| 326 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
| 327 | - Injected new description and group. |
---|
| 328 | |
---|
| 329 | * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com> |
---|
| 330 | - bumped spec number for initial rh 6.0 build |
---|
| 331 | |
---|
| 332 | * Fri Nov 06 1998 Preston Brown <pbrown@redhat.com> |
---|
| 333 | - added security/update patch from debian (the X11R6.3 patch). Thanks guys. :) |
---|
| 334 | |
---|
| 335 | * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 336 | - handle the symlink with triggers instead of getting rid of it |
---|
| 337 | |
---|
| 338 | * Mon Oct 5 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 339 | - remove backward compatible symlink. |
---|
| 340 | |
---|
| 341 | * Wed May 06 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 342 | - fixed the bad symlink |
---|
| 343 | - BuildRoot |
---|
| 344 | |
---|
| 345 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
| 346 | - translations modified for de, fr, tr |
---|
| 347 | |
---|
| 348 | * Tue Nov 04 1997 Erik Troan <ewt@redhat.com> |
---|
| 349 | - don't lave an improper return code from %pre |
---|
| 350 | |
---|
| 351 | * Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com> |
---|
| 352 | - take care of the old location of the Xaw3d includes in case that one exist |
---|
| 353 | - updated Prereq: field |
---|
| 354 | |
---|
| 355 | * Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com |
---|
| 356 | - fixed the -devel package for the right include files path |
---|
| 357 | |
---|
| 358 | * Mon Oct 13 1997 Donnie Barnes <djb@redhat.com> |
---|
| 359 | - minor spec file cleanups |
---|
| 360 | |
---|
| 361 | * Wed Oct 01 1997 Erik Troan <ewt@redhat.com> |
---|
| 362 | - i18n widec.h patch needs to be applied on all systems |
---|
| 363 | |
---|
| 364 | * Sun Sep 14 1997 Erik Troan <ewt@redhat.com> |
---|
| 365 | - changed axp check to alpha |
---|
| 366 | |
---|
| 367 | * Mon Jun 16 1997 Erik Troan <ewt@redhat.com> |
---|
| 368 | - built against glibc |
---|