libXmu-vl.spec 8.7 KB

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