libXmu-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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.2
  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. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  135. - new upstream release
  136. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  137. - new upstream release
  138. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  139. - new upstream release
  140. - fix %%install, %%files
  141. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-2
  142. - rebuild with rpm-4.8.1 for pkg-config file
  143. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  144. - new upstream release
  145. * Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2
  146. - added compat32 package for x86_64 arch support
  147. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  148. - new upstream release
  149. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  150. - new versioning policy
  151. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
  152. - initial build for Vine Linux
  153. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
  154. - Rebuild for build id
  155. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
  156. - Don't install INSTALL
  157. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
  158. - Update to 1.0.3
  159. * Fri Oct 13 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-6.fc7
  160. - Also add Requires for libXext-devel for development package (#210123)
  161. - Add pkgconfig dependency for -devel package.
  162. * Fri Sep 15 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.2-5
  163. - Add Requires on libXt (bug 202558)
  164. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  165. - rebuild
  166. * Fri Jul 7 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-4
  167. - Rebuild, brew doesn't pick up buildroot changes fast enough.
  168. * Wed Jun 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-3
  169. - Rebuild for libXt pkgconfig fixes.
  170. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  171. - Replace "makeinstall" with "make install DESTDIR=..."
  172. - Added "Requires: xorg-x11-proto-devel, libX11-devel, libXt-devel" to devel
  173. subpackage needed by xmu.pc, xmuu.pc
  174. - Remove package ownership of mandir/libdir/etc.
  175. * Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  176. - Update to 1.0.2
  177. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
  178. - Update to 1.0.1
  179. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  180. - bump again for double-long bug on ppc(64)
  181. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  182. - rebuilt for new gcc4.1 snapshot and glibc changes
  183. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  184. - Bumped and rebuilt
  185. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  186. - Updated libXmu to version 1.0.0 from X11R7 RC4
  187. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  188. - Updated libXmu to version 0.99.2 from X11R7 RC3
  189. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  190. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  191. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  192. - Added "BuildRequires: pkgconfig, libXau-devel, xorg-x11-util-macros" to
  193. fix build dependencies.
  194. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  195. - rebuilt
  196. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  197. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  198. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  199. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  200. - Updated libXmu to version 0.99.1 from X11R7 RC1
  201. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  202. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  203. between developers.
  204. - Use Fedora Extras style BuildRoot tag.
  205. - Disable static library creation by default.
  206. - Add missing defattr to devel subpackage
  207. - Add missing documentation files to doc macro
  208. - Fix BuildRequires to use new style X library package names
  209. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  210. - Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
  211. package names, as we want xorg-x11 libs to explicitly build against
  212. X.Org supplied libs, rather than "any implementation", which is what the
  213. virtual provides is intended for.
  214. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  215. - Renamed package to prepend "xorg-x11" to the name for consistency with
  216. the rest of the X11R7 packages.
  217. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  218. subpackage to ensure the devel package matches the installed shared libs.
  219. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  220. allow applications to use implementation agnostic dependencies.
  221. - Added post/postun scripts which call ldconfig.
  222. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  223. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  224. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  225. - Initial build.