openMotif-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. Summary: The Open Motif runtime components.
  2. Name: openMotif
  3. Version: 2.3.3
  4. Release: 2%{?_dist_release}
  5. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  6. License: The Open Group Public License
  7. Group: System Environment/Libraries
  8. Source0: ftp://ftp.ics.com/openmotif/2.3/%{version}/openmotif-%{version}.tar.gz
  9. Source1: xmbind
  10. # license at http://www.opengroup.org/openmotif/license/
  11. Source2: OPEN_GROUP_PUBLIC_LICENSE.html
  12. Patch0: openmotif-2.3.3-no_demos.patch
  13. Patch1: openMotif-2.2.3-uil_lib.patch
  14. Patch2: openMotif-2.3.0-rgbtxt.patch
  15. Patch3: openmotif-2.3.3-mwmrc_dir.patch
  16. Patch4: openmotif-2.3.3-bindings.patch
  17. Patch5: openMotif-2.3.0-no_X11R6.patch
  18. Patch6: openmotif-2.3.3-missing_deps.patch
  19. URL: http://www.motifzone.org/
  20. Buildrequires: automake112
  21. BuildRequires: autoconf213
  22. BuildRequires: texinfo
  23. BuildRequires: flex
  24. BuildRequires: byacc
  25. BuildRequires: perl
  26. BuildRequires: libjpeg-devel
  27. BuildRequires: libpng-devel
  28. BuildRequires: libXft-devel
  29. BuildRequires: libXmu-devel
  30. BuildRequires: libXp-devel
  31. BuildRequires: libXt-devel
  32. BuildRequires: libXext-devel
  33. BuildRequires: xorg-x11-xbitmaps
  34. Obsoletes: %{name}-devel < 2.2.2-0vl5
  35. Obsoletes: %{name}-demos
  36. Conflicts: lesstif-clients lesstif-mwm
  37. %description
  38. The base package for the industry standard
  39. user interface toolkit for the X Window
  40. System as enhanced by ICS and others for
  41. better integration with GNOME and KDE desktop
  42. environments. The base package consists of
  43. the Open Motif runtime components --
  44. shared libraries and mwm (Motif Window Manager).
  45. %package clients
  46. Summary: Open Motif clients
  47. Group: User Interface/X
  48. Obsoletes: lesstif-clients
  49. %description clients
  50. Uil and xmbind.
  51. %package devel
  52. Summary: The Open Motif development libraries and tools.
  53. Group: Development/Libraries
  54. Requires: %{name} = %{version}-%{release}
  55. Conflicts: lesstif lesstif-devel lesstif-static
  56. %description devel
  57. The development package includes all of the
  58. Open Motif header files, archive libraries,
  59. the UIL (User Interface Language) compiler,
  60. examples and ICS enhancements for greater
  61. integration with GNOME and KDE desktop
  62. environments.
  63. %prep
  64. %setup -q -n openmotif-%{version}
  65. cp -f %{SOURCE2} .
  66. %patch0 -p1 -b .no_demos
  67. %patch1 -p1 -b .uil_lib
  68. %patch2 -p1 -b .rgbtxt
  69. %patch3 -p1 -b .mwmrc_dir
  70. %patch4 -p1 -b .bindings
  71. %patch5 -p1 -b .no_X11R6
  72. %patch6 -p1 -b .missing_deps
  73. %build
  74. aclocal-1.12 -I .
  75. automake-1.12 --foreign
  76. autoreconf-2.13
  77. %configure \
  78. --enable-static \
  79. --enable-xft \
  80. --enable-jpeg \
  81. --enable-png
  82. export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs
  83. make clean
  84. make
  85. %install
  86. rm -rf $RPM_BUILD_ROOT
  87. export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs
  88. make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
  89. mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
  90. install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/xmbind.sh
  91. rm -f $RPM_BUILD_ROOT%{_bindir}/mwm
  92. rm -f $RPM_BUILD_ROOT%{_libdir}/X11/system.mwmrc
  93. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/mwm.1*
  94. rm -f $RPM_BUILD_ROOT%{_mandir}/man4/mwmrc.4*
  95. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/mwm/system.mwmrc
  96. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  97. %clean
  98. rm -rf $RPM_BUILD_ROOT
  99. %post -p /sbin/ldconfig
  100. %postun -p /sbin/ldconfig
  101. %files
  102. %defattr(-, root, root)
  103. %doc BUGREPORT COPYRIGHT.MOTIF LICENSE README RELEASE RELNOTES
  104. %doc OPEN_GROUP_PUBLIC_LICENSE.html
  105. %{_includedir}/X11/bitmaps/*
  106. %{_libdir}/lib*.so.*
  107. %files clients
  108. %defattr(-,root,root)
  109. %doc LICENSE OPEN_GROUP_PUBLIC_LICENSE.html
  110. %{_bindir}/uil
  111. %{_bindir}/xmbind
  112. %{_datadir}/X11/bindings
  113. %{_mandir}/man1/uil.*
  114. %{_mandir}/man1/xmbind.*
  115. %{_sysconfdir}/X11/xinit/xinitrc.d/xmbind.sh
  116. %files devel
  117. %defattr(-, root, root)
  118. %{_includedir}/Mrm
  119. %{_includedir}/Xm
  120. %{_includedir}/uil
  121. %{_libdir}/*.a
  122. %{_libdir}/*.so
  123. %{_mandir}/man3/*
  124. %{_mandir}/man5/*
  125. %changelog
  126. * Sun Jan 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-2
  127. - rebuild with VineSeed environment
  128. - change Buildrequires: automake112 instead of automake
  129. - change BuildRequires: autoconf213 instead of autoconf
  130. * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-1
  131. - update to 2.3.3
  132. - update patches for openMotif-2.3.3
  133. * Tue May 27 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3.0-1
  134. - new upstream release
  135. - revised patches (from momonga)
  136. - build with xorg-x11-7.3
  137. - update BuildPrereq
  138. - change prefix to /usr
  139. - change mandir to %%{_mandir}
  140. - drop demos
  141. * Wed Aug 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6
  142. - added Patch2 and 3 for security fix based on RHEL4
  143. * Wed Mar 29 2006 Thomas Woerner <twoerner@redhat.com> 2.2.3-10.RHEL4.1
  144. - fixed CVE-2005-3964: libUil buffer overflows (#174814)
  145. * Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.3-0vl5
  146. - fix library path on x86_64
  147. - add --libdir=%%{prefix}/%%{_lib} to %%configure
  148. - use %%{prefix}/%%{_lib} instead of %%{prefix}/lib
  149. -
  150. * Thu Mar 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl4
  151. - rebuilt
  152. * Sat Dec 4 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl3
  153. - rebuild for VineSeed
  154. * Fri Dec 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl2
  155. - add patch0 from Fedora Core (CAN-2004-0687-0688)
  156. - add patch1 from Fedora Core (CAN-2004-0914)
  157. - add BuildPrereq: autoconf213 automake14 for patch1
  158. * Thu Jun 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl1
  159. - source upgrade
  160. - add BuildPrereq: flex byacc
  161. - add %%postun -p /sbin/ldconfig
  162. - change configure option
  163. - use %%{prefix} for files section
  164. - sprit example code and demo programs to demos package
  165. - move %%{prefix}/lib/X11/bindings to main package
  166. - make symlink /usr/include/Mrm for %%{prefix}/include/Mrm
  167. - make symlink /usr/include/uil for %%{prefix}/include/uil
  168. - remove %%post devel and %%preun devel
  169. * Wed Apr 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl5
  170. - rebuild with XOrg
  171. - clean up changelog to use (double-percent) everywhere
  172. - add BuildPrereq: build-essential XOrg-devel
  173. - make symlink /usr/include/Xm for %%{prefix}/include/Xm in %%install
  174. (not %%post devel section)
  175. - add Obsoletes: %%{name}-devel < 2.2.2-0vl5
  176. - add PreReq: %%{name} = %%{version} to openMotif-devel package
  177. * Sat Jan 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl4
  178. - delete Obsoletes: lines
  179. - add Conflicts: lesstif-clients lesstif-mwm to openMotif package
  180. - add Conflicts: lesstif(-devel, static) to openMotif-devel package
  181. * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl3
  182. - rebuild without lesstif package installed
  183. * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl2
  184. - add %%defattr(-, root, root) in %%files section
  185. * Wed Jan 1 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl1
  186. - build for VineSeed
  187. - cleanup spec
  188. - Obsoletes: lesstif <= 0.91.0-0vl2
  189. * Wed Jan 23 2002 ICS <info@ics.om>
  190. - Switched build system to AutoConf and updated for new openMotif 2.2
  191. - widgets.
  192. * Wed Aug 30 2000 ICS <info@ics.com> 2.1.30-3_ICS
  193. - Update for the Rev 3 release
  194. * Fri May 19 2000 ICS <info@ics.com> 2.1.bz2.3.bz20-2_ICS
  195. - Significant overhaul for SRPM distribution