libXrender-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libXrender runtime library
  3. Summary(ja): X.Org X11 libXrender ランタイムライブラリ
  4. Name: libXrender
  5. Version: 0.9.5
  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-proto-devel
  14. BuildRequires: libX11-devel
  15. Obsoletes: XFree86-libs, XOrg-libs
  16. %description
  17. X.Org X11 libXrender runtime library
  18. %package devel
  19. Summary: X.Org X11 libXrender development package
  20. Summary(ja): X.Org X11 libXrender 開発パッケージ
  21. Group: Development/Libraries
  22. Requires(pre): xorg-x11-filesystem
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: xorg-x11-proto-devel
  25. Requires: libX11-devel
  26. Obsoletes: XFree86-devel, XOrg-devel
  27. %description devel
  28. X.Org X11 libXrender development package
  29. # compat32
  30. %package -n compat32-%{name}
  31. Summary: X.Org X11 libXrender runtime library
  32. Summary(ja): X.Org X11 libXrender ランタイムライブラリ
  33. Group: System Environment/Libraries
  34. %description -n compat32-%{name}
  35. X.Org X11 libXrender runtime library
  36. %package -n compat32-%{name}-devel
  37. Summary: X.Org X11 libXrender development package
  38. Summary(ja): X.Org X11 libXrender 開発パッケージ
  39. Group: Development/Libraries
  40. Requires(pre): xorg-x11-filesystem
  41. Requires: compat32-%{name} = %{version}-%{release}
  42. Requires: %{name}-devel = %{version}-%{release}
  43. %description -n compat32-%{name}-devel
  44. X.Org X11 libXrender development package
  45. %prep
  46. %setup -q
  47. # Disable static library creation by default.
  48. %define with_static 0
  49. %build
  50. %configure \
  51. %if ! %{with_static}
  52. --disable-static
  53. %endif
  54. make
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. # We intentionally don't ship *.la files
  59. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %post -p /sbin/ldconfig
  63. %postun -p /sbin/ldconfig
  64. %post -n compat32-%{name} -p /sbin/ldconfig
  65. %postun -n compat32-%{name} -p /sbin/ldconfig
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc AUTHORS COPYING README ChangeLog
  69. %{_libdir}/libXrender.so.1
  70. %{_libdir}/libXrender.so.1.3.0
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %dir %{_includedir}/X11
  74. %dir %{_includedir}/X11/extensions
  75. %{_includedir}/X11/extensions/Xrender.h
  76. %if %{with_static}
  77. %{_libdir}/libXrender.a
  78. %endif
  79. %{_libdir}/libXrender.so
  80. %{_libdir}/pkgconfig/xrender.pc
  81. # compat32
  82. %if %{build_compat32}
  83. %files -n compat32-%{name}
  84. %defattr(-,root,root,-)
  85. %{_libdir}/libXrender.so.1
  86. %{_libdir}/libXrender.so.1.3.0
  87. %files -n compat32-%{name}-devel
  88. %defattr(-,root,root,-)
  89. %if %{with_static}
  90. %{_libdir}/libXrender.a
  91. %endif
  92. %{_libdir}/libXrender.so
  93. %{_libdir}/pkgconfig/xrender.pc
  94. %endif
  95. %changelog
  96. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.5-1
  97. - new upstream release
  98. * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.4-3
  99. - added compat32 package for x86_64 arch support
  100. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-2
  101. - spec in utf-8
  102. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-1
  103. - new versioning policy
  104. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-0vl1
  105. - initial build for Vine Linux
  106. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.4-1
  107. - libXrender 0.9.4
  108. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> 0.9.3-1
  109. - libXrender 0.9.3
  110. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 0.9.2-2
  111. - Don't install INSTALL
  112. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 0.9.2-1
  113. - Update to 0.9.2
  114. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 0.9.1-3.1
  115. - rebuild
  116. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 0.9.1-3
  117. - Added "Requires: libX11-devel" to devel package for xrender.pc
  118. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 0.9.1-2
  119. - Added "BuildRequires: pkgconfig" for (#193429)
  120. - Replace "makeinstall" with "make install DESTDIR=..."
  121. - Remove package ownership of mandir/libdir/etc.
  122. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 0.9.1-1
  123. - Update to 0.9.1
  124. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9.0.2-3.2
  125. - bump again for double-long bug on ppc(64)
  126. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9.0.2-3.1
  127. - rebuilt for new gcc4.1 snapshot and glibc changes
  128. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 0.9.0.2-3
  129. - Bump and rebuild
  130. * Mon Jan 16 2006 Mike A. Harris <mharris@redhat.com> 0.9.0.2-2
  131. - Added "Requires: xorg-x11-proto-devel" to resolve bug (#176742)
  132. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 0.9.0.2-1
  133. - Updated libXrender to version 0.9.0.2 from X11R7 RC4
  134. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.9.0.1-1
  135. - Updated libXrender to version 0.9.0.1 from X11R7 RC3
  136. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  137. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  138. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  139. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  140. - rebuilt
  141. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-5
  142. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  143. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  144. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-4
  145. - Updated libXrender to version 0.9.0 from X11R7 RC1
  146. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-3
  147. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  148. between developers.
  149. - Use Fedora Extras style BuildRoot tag.
  150. - Disable static library creation by default.
  151. - Add missing defattr to devel subpackage
  152. - Add missing documentation files to doc macro
  153. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-2
  154. - Renamed package to prepend "xorg-x11" to the name for consistency with
  155. the rest of the X11R7 packages.
  156. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  157. subpackage to ensure the devel package matches the installed shared libs.
  158. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  159. allow applications to use implementation agnostic dependencies.
  160. - Added post/postun scripts which call ldconfig.
  161. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  162. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  163. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-1
  164. - Initial build.