libXmu-vl.spec 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libXmu/libXmuu runtime libraries
  3. Summary(ja): X.Org X11 libXmu/libXmuu ランタイムライブラリ
  4. Name: libXmu
  5. Version: 1.0.5
  6. Release: 2%{?_dist_release}
  7. License: MIT/X11
  8. Group: System Environment/Libraries
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: pkgconfig
  13. BuildRequires: xorg-x11-util-macros
  14. BuildRequires: libX11-devel
  15. BuildRequires: libXext-devel
  16. BuildRequires: libXt-devel
  17. BuildRequires: libXau-devel
  18. Obsoletes: XFree86-libs, XOrg-libs
  19. %description
  20. X.Org X11 libXmu/libXmuu runtime libraries
  21. %package devel
  22. Summary: X.Org X11 libXmu development package
  23. Group: Development/Libraries
  24. Requires(pre): xorg-x11-filesystem
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. Requires: xorg-x11-util-macros
  28. Requires: xorg-x11-proto-devel libX11-devel libXt-devel libXext-devel
  29. Obsoletes: XFree86-devel, XOrg-devel
  30. %description devel
  31. X.Org X11 libXmu development package
  32. # compat32
  33. %package -n compat32-%{name}
  34. Summary: X.Org X11 libXmu/libXmuu runtime libraries
  35. Summary(ja): X.Org X11 libXmu/libXmuu ランタイムライブラリ
  36. Group: System Environment/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. %description -n compat32-%{name}
  39. X.Org X11 libXmu/libXmuu runtime libraries
  40. %package -n compat32-%{name}-devel
  41. Summary: X.Org X11 libXmu development package
  42. Group: Development/Libraries
  43. Requires(pre): xorg-x11-filesystem
  44. Requires: %{name}-devel = %{version}-%{release}
  45. Requires: compat32-%{name} = %{version}-%{release}
  46. Requires: compat32-libX11-devel compat32-libXt-devel compat32-libXext-devel
  47. %description -n compat32-%{name}-devel
  48. X.Org X11 libXmu development package
  49. %prep
  50. %setup -q
  51. # Disable static library creation by default.
  52. %define with_static 0
  53. %build
  54. %configure \
  55. %if ! %{with_static}
  56. --disable-static
  57. %endif
  58. make
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. make install DESTDIR=$RPM_BUILD_ROOT
  62. # We intentionally don't ship *.la files
  63. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %post -p /sbin/ldconfig
  67. %postun -p /sbin/ldconfig
  68. %post -n compat32-%{name} -p /sbin/ldconfig
  69. %postun -n compat32-%{name} -p /sbin/ldconfig
  70. %files
  71. %defattr(-,root,root,-)
  72. %doc AUTHORS COPYING README ChangeLog
  73. %{_libdir}/libXmu.so.6
  74. %{_libdir}/libXmu.so.6.2.0
  75. %{_libdir}/libXmuu.so.1
  76. %{_libdir}/libXmuu.so.1.0.0
  77. %files devel
  78. %defattr(-,root,root,-)
  79. %dir %{_includedir}/X11
  80. %dir %{_includedir}/X11/Xmu
  81. %{_includedir}/X11/Xmu/Atoms.h
  82. %{_includedir}/X11/Xmu/CharSet.h
  83. %{_includedir}/X11/Xmu/CloseHook.h
  84. %{_includedir}/X11/Xmu/Converters.h
  85. %{_includedir}/X11/Xmu/CurUtil.h
  86. %{_includedir}/X11/Xmu/CvtCache.h
  87. %{_includedir}/X11/Xmu/DisplayQue.h
  88. %{_includedir}/X11/Xmu/Drawing.h
  89. %{_includedir}/X11/Xmu/Editres.h
  90. %{_includedir}/X11/Xmu/EditresP.h
  91. %{_includedir}/X11/Xmu/Error.h
  92. %{_includedir}/X11/Xmu/ExtAgent.h
  93. %{_includedir}/X11/Xmu/Initer.h
  94. %{_includedir}/X11/Xmu/Lookup.h
  95. %{_includedir}/X11/Xmu/Misc.h
  96. %{_includedir}/X11/Xmu/StdCmap.h
  97. %{_includedir}/X11/Xmu/StdSel.h
  98. %{_includedir}/X11/Xmu/SysUtil.h
  99. %{_includedir}/X11/Xmu/WidgetNode.h
  100. %{_includedir}/X11/Xmu/WinUtil.h
  101. %{_includedir}/X11/Xmu/Xct.h
  102. %{_includedir}/X11/Xmu/Xmu.h
  103. %if %{with_static}
  104. %{_libdir}/libXmu.a
  105. %{_libdir}/libXmuu.a
  106. %endif
  107. %{_libdir}/libXmu.so
  108. %{_libdir}/libXmuu.so
  109. %{_libdir}/pkgconfig/xmu.pc
  110. %{_libdir}/pkgconfig/xmuu.pc
  111. # compat32
  112. %if %{build_compat32}
  113. %files -n compat32-%{name}
  114. %defattr(-,root,root,-)
  115. %{_libdir}/libXmu.so.6
  116. %{_libdir}/libXmu.so.6.2.0
  117. %{_libdir}/libXmuu.so.1
  118. %{_libdir}/libXmuu.so.1.0.0
  119. %files -n compat32-%{name}-devel
  120. %defattr(-,root,root,-)
  121. %if %{with_static}
  122. %{_libdir}/libXmu.a
  123. %{_libdir}/libXmuu.a
  124. %endif
  125. %{_libdir}/libXmu.so
  126. %{_libdir}/libXmuu.so
  127. %{_libdir}/pkgconfig/xmu.pc
  128. %{_libdir}/pkgconfig/xmuu.pc
  129. %endif
  130. %changelog
  131. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-2
  132. - rebuild with rpm-4.8.1 for pkg-config file
  133. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  134. - new upstream release
  135. * Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2
  136. - added compat32 package for x86_64 arch support
  137. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  138. - new upstream release
  139. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  140. - new versioning policy
  141. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
  142. - initial build for Vine Linux
  143. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
  144. - Rebuild for build id
  145. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
  146. - Don't install INSTALL
  147. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
  148. - Update to 1.0.3
  149. * Fri Oct 13 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-6.fc7
  150. - Also add Requires for libXext-devel for development package (#210123)
  151. - Add pkgconfig dependency for -devel package.
  152. * Fri Sep 15 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.2-5
  153. - Add Requires on libXt (bug 202558)
  154. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  155. - rebuild
  156. * Fri Jul 7 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-4
  157. - Rebuild, brew doesn't pick up buildroot changes fast enough.
  158. * Wed Jun 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-3
  159. - Rebuild for libXt pkgconfig fixes.
  160. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  161. - Replace "makeinstall" with "make install DESTDIR=..."
  162. - Added "Requires: xorg-x11-proto-devel, libX11-devel, libXt-devel" to devel
  163. subpackage needed by xmu.pc, xmuu.pc
  164. - Remove package ownership of mandir/libdir/etc.
  165. * Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  166. - Update to 1.0.2
  167. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
  168. - Update to 1.0.1
  169. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  170. - bump again for double-long bug on ppc(64)
  171. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  172. - rebuilt for new gcc4.1 snapshot and glibc changes
  173. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  174. - Bumped and rebuilt
  175. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  176. - Updated libXmu to version 1.0.0 from X11R7 RC4
  177. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  178. - Updated libXmu to version 0.99.2 from X11R7 RC3
  179. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  180. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  181. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  182. - Added "BuildRequires: pkgconfig, libXau-devel, xorg-x11-util-macros" to
  183. fix build dependencies.
  184. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  185. - rebuilt
  186. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  187. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  188. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  189. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  190. - Updated libXmu to version 0.99.1 from X11R7 RC1
  191. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  192. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  193. between developers.
  194. - Use Fedora Extras style BuildRoot tag.
  195. - Disable static library creation by default.
  196. - Add missing defattr to devel subpackage
  197. - Add missing documentation files to doc macro
  198. - Fix BuildRequires to use new style X library package names
  199. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  200. - Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
  201. package names, as we want xorg-x11 libs to explicitly build against
  202. X.Org supplied libs, rather than "any implementation", which is what the
  203. virtual provides is intended for.
  204. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  205. - Renamed package to prepend "xorg-x11" to the name for consistency with
  206. the rest of the X11R7 packages.
  207. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  208. subpackage to ensure the devel package matches the installed shared libs.
  209. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  210. allow applications to use implementation agnostic dependencies.
  211. - Added post/postun scripts which call ldconfig.
  212. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  213. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  214. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  215. - Initial build.