Xaw3d-vl.spec 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. %define compatlib 0
  2. Summary: A version of the MIT Athena widget set for X.
  3. Summary(ja): X 用 MIT Athena widget の 3D 風バージョン
  4. Name: Xaw3d
  5. Version: 1.6.2
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. Source: http://xorg.freedesktop.org/archive/individual/lib/libXaw3d-%{version}.tar.bz2
  9. URL: http://xorg.freedesktop.org/
  10. # patch from fedora
  11. Patch7: Xaw3d-1.6.1-3Dlabel.patch
  12. Patch10: Xaw3d-1.6.1-fontset.patch
  13. Patch11: Xaw3d-1.6.1-hsbar.patch
  14. License: MIT
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: libXmu-devel
  17. BuildRequires: libXt-devel
  18. BuildRequires: libSM-devel
  19. BuildRequires: libXext-devel
  20. BuildRequires: libX11-devel
  21. BuildRequires: libXpm-devel
  22. BuildRequires: bison
  23. BuildRequires: flex
  24. BuildRequires: ed
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  28. %description
  29. Xaw3d is an enhanced version of the MIT Athena Widget set for
  30. the X Window System. Xaw3d adds a three-dimensional look to applications
  31. with minimal or no source code changes.
  32. You should install Xaw3d if you are using applications which incorporate
  33. the MIT Athena widget set and you'd like to incorporate a 3D look into
  34. those applications.
  35. %description -l ja
  36. Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
  37. 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
  38. 加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
  39. MIT Athena ウィジェットセットを使ったアプリケーションを利用していて,
  40. これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい.
  41. %package -n compat32-%{name}
  42. Summary: A version of the MIT Athena widget set for X.
  43. Summary(ja): X 用 MIT Athena widget の 3D 風バージョン
  44. Group: System Environment/Libraries
  45. Requires: %{name} = %{version}-%{release}
  46. %description -n compat32-%{name}
  47. Xaw3d is an enhanced version of the MIT Athena Widget set for
  48. the X Window System. Xaw3d adds a three-dimensional look to applications
  49. with minimal or no source code changes.
  50. You should install Xaw3d if you are using applications which incorporate
  51. the MIT Athena widget set and you'd like to incorporate a 3D look into
  52. those applications.
  53. %description -n compat32-%{name} -l ja
  54. Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
  55. 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
  56. 加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
  57. MIT Athena ウィジェットセットを使ったアプリケーションを利用していて,
  58. これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい.
  59. %package devel
  60. Summary: Header files and static libraries for development using Xaw3d.
  61. Group: Development/Libraries
  62. Requires: %{name} = %{version}-%{release}
  63. Requires: libXmu-devel
  64. Requires: libXt-devel
  65. Requires: libSM-devel
  66. Requires: libXext-devel
  67. Requires: libX11-devel
  68. Requires: libXpm-devel
  69. %description devel
  70. Xaw3d is an enhanced version of the MIT Athena widget set for
  71. the X Window System. Xaw3d adds a three-dimensional look to those
  72. applications with minimal or no source code changes. Xaw3d-devel includes
  73. the header files and static libraries for developing programs that take
  74. full advantage of Xaw3d's features.
  75. You should install Xaw3d-devel if you are going to develop applications
  76. using the Xaw3d widget set. You'll also need to install the Xaw3d
  77. package.
  78. %description devel -l ja
  79. Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
  80. 拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
  81. 加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
  82. Xaw3d-devel パッケージには,Xaw3d の機能を最大限に利用するプログラムの
  83. 開発に必要なヘッダファイルとスタティックライブラリが収められています.
  84. Xaw3d ウィジェットセットを使ったアプリケーション開発を行う場合は
  85. Xaw3d-devel パッケージをインストールして下さい.
  86. 同時に Xaw3d もインストールしておく必要があります.
  87. %prep
  88. %setup -q -n libXaw3d-%{version}
  89. %patch7 -p1 -b .3Dlabel
  90. %patch10 -p1 -b .fontset
  91. %patch11 -p1 -b .hsbar
  92. %build
  93. %configure \
  94. --disable-static \
  95. --enable-arrow-scrollbars \
  96. --enable-gray-stipples \
  97. --enable-multiplane-bitmaps
  98. make %{?_smp_mflags}
  99. %install
  100. rm -rf $RPM_BUILD_ROOT
  101. make install DESTDIR=$RPM_BUILD_ROOT
  102. rm $RPM_BUILD_ROOT%{_libdir}/libXaw3d.la
  103. rm -r $RPM_BUILD_ROOT%{_docdir}
  104. %clean
  105. rm -rf $RPM_BUILD_ROOT
  106. %post -p /sbin/ldconfig
  107. %postun -p /sbin/ldconfig
  108. %post -n compat32-%{name} -p /sbin/ldconfig
  109. %postun -n compat32-%{name} -p /sbin/ldconfig
  110. %files
  111. %defattr(-,root,root)
  112. %{_libdir}/*.so.*
  113. %files devel
  114. %defattr(-,root,root)
  115. %{_includedir}/X11/Xaw3d
  116. %{_libdir}/*.so
  117. %{_libdir}/pkgconfig/xaw3d.pc
  118. %if %{build_compat32}
  119. %files -n compat32-%{name}
  120. %defattr(-,root,root)
  121. %{_libdir}/*.so.*
  122. %endif
  123. %changelog
  124. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  125. - update to 1.6.2
  126. - merge with Xaw3d-1.6.2-9.fc24
  127. - remove BuildRequires: imake
  128. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5E-6
  129. - update Requires of -devel
  130. * Sat Jun 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5E-5
  131. - rebuilt with xorg-x11-7.3
  132. - updated BuildRequires
  133. - spec in UTF-8
  134. * Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5E-4vl1
  135. - update to 1.5E
  136. - sync with fedora core's 1.5E-4
  137. - import patches:
  138. - misc.patch (patch9)
  139. - scrollbar2.patch (patch10)
  140. - xorg-imake.patch (patch50)
  141. * Thu Jan 20 2005 Than Ngo <than@redhat.com> 1.5E-2
  142. - enable ARROW_SCROLLBARS, MULTIPLANE_PIXMAPS
  143. * Tue Nov 30 2004 Than Ngo <than@redhat.com> 1.5E-1
  144. - update to 1.5E, #130310
  145. - fix compiler warning #110766
  146. * Tue Nov 23 2004 Than Ngo <than@redhat.com> 1.5-24
  147. - add patch to fix build problem with xorg-x11, #140475
  148. * Wed Nov 26 2003 Than Ngo <than@redhat.com> 1.5-20
  149. - added missing Buildprereq: XFree86-devel (bug #110601, #109692, #110735)
  150. - fixed arguments in scrollbar (bug #110766)
  151. - fix description devel -l ja
  152. - update URLs
  153. - add Vendor/Distribution tag
  154. * Sat Sep 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5-17vl4
  155. - add BuildRequires: XOrg-devel, bison, flex
  156. - add Requires: XOrg-devel (Xaw3d-devel)
  157. - mkdir $RPM_BUILD_ROOT/usr/X11R6/%%{_lib} before copy libraries
  158. * Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.5-17vl3
  159. - added compat32-Xaw3d package for x86_64 architecture support
  160. * Mon Apr 7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.5-17vl2
  161. - rebuild
  162. * Tue Dec 10 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-17vl1
  163. - add patch7 to use grayscale color.
  164. - merged with rawhide release
  165. * Thu Nov 7 2002 han Ngo <than@redhat.com> 1.5-17
  166. - fix some building problems
  167. * Thu Sep 5 2002 Preston Brown <pbrown@redhat.com> 1.5-16
  168. - -DARROW_SCROLLBAR for rms
  169. * Thu Aug 8 2002 Than Ngo <than@redhat.com> 1.5-15
  170. - Added patch file to fix i18n issue, ynakai@redhat.com
  171. * Fri Jul 13 2001 <sagami@vinelinux.org>
  172. - 1.5-9vl3: use %%{ix86} for _arch instead of i386 :-)
  173. * Wed May 23 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  174. - 1.5-9vl2
  175. - add i386 and alpha to libXaw*so.*'s link in %%install
  176. * Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  177. - 1.5-9vl1
  178. - rebuilt for Vine Linux
  179. - added Japanese summary and description
  180. - added sparc, sparc64 to libXaw*so.*'s link in %%install
  181. (this is taken from 1.5-8vl1 from VineSeed/TestPkg by Machino-san)
  182. * Wed Feb 28 2001 Than Ngo <than@redhat.com>
  183. - add requires Xaw3d = %%{version}
  184. - add prereq /sbin/ldconfig
  185. * Tue Oct 10 2000 Than Ngo <than@redhat.com>
  186. - fix link which causes faulty update (Bug #17895)
  187. * Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
  188. - ia64 tweaks
  189. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  190. - automatic rebuild
  191. * Mon Jul 10 2000 Bernhard Rosenkraenzer <bero@redhat.de>
  192. - Restore Xaw3d 1.5 - the addition of the backward compatibility library
  193. killed the current one.
  194. - get rid of the CDEBUGFLAGS="" hack, the current gcc fixes it
  195. * Mon Jul 03 2000 Than Ngo <than@redhat.de>
  196. - fix Imakefile to static Xawd3d
  197. * Sat Jun 17 2000 Than Ngo <than@redhat.de>
  198. - add backward compatibility libXaw3d.so.6 (Bug# 12261)
  199. * Mon May 15 2000 Bill Nottingham <notting@redhat.com>
  200. - fix unaligned traps on ia64
  201. * Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  202. - 1.5
  203. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  204. - auto rebuild in the new build environment (release 21)
  205. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  206. - Injected new description and group.
  207. * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
  208. - bumped spec number for initial rh 6.0 build
  209. * Fri Nov 06 1998 Preston Brown <pbrown@redhat.com>
  210. - added security/update patch from debian (the X11R6.3 patch). Thanks guys. :)
  211. * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
  212. - handle the symlink with triggers instead of getting rid of it
  213. * Mon Oct 5 1998 Jeff Johnson <jbj@redhat.com>
  214. - remove backward compatible symlink.
  215. * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
  216. - fixed the bad symlink
  217. - BuildRoot
  218. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  219. - translations modified for de, fr, tr
  220. * Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
  221. - don't lave an improper return code from %pre
  222. * Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
  223. - take care of the old location of the Xaw3d includes in case that one exist
  224. - updated Prereq: field
  225. * Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com
  226. - fixed the -devel package for the right include files path
  227. * Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
  228. - minor spec file cleanups
  229. * Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
  230. - i18n widec.h patch needs to be applied on all systems
  231. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  232. - changed axp check to alpha
  233. * Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
  234. - built against glibc