libXmu-vl.spec 8.4 KB

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