libdmx-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Summary: X.Org X11 libdmx runtime library
  2. Summary(ja): X.Org X11 libdmx ランタイムライブラリ
  3. Name: libdmx
  4. Version: 1.1.3
  5. Release: 1%{?_dist_release}
  6. License: MIT/X11
  7. Group: System Environment/Libraries
  8. URL: http://www.x.org
  9. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: pkgconfig
  12. BuildRequires: xorg-x11-proto-devel
  13. BuildRequires: xorg-x11-util-macros
  14. BuildRequires: libX11-devel
  15. BuildRequires: libXext-devel
  16. BuildRequires: libXau-devel
  17. Obsoletes: XFree86-libs, XOrg-libs
  18. %description
  19. X.Org X11 libdmx runtime library
  20. %package devel
  21. Summary: X.Org X11 libdmx development package
  22. Summary(ja): X.Org X11 libdmx 開発パッケージ
  23. Group: Development/Libraries
  24. Requires(pre): xorg-x11-filesystem
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: xorg-x11-proto-devel
  27. Obsoletes: XFree86-devel, XOrg-devel
  28. %description devel
  29. X.Org X11 libdmx development package
  30. %prep
  31. %setup -q
  32. # Disable static library creation by default.
  33. %define with_static 0
  34. %build
  35. %configure \
  36. %if ! %{with_static}
  37. --disable-static
  38. %endif
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. # We intentionally don't ship *.la files
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS COPYING README ChangeLog
  51. %{_libdir}/libdmx.so.1
  52. %{_libdir}/libdmx.so.1.*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %{_includedir}/X11/extensions/*.h
  56. %if %{with_static}
  57. %{_libdir}/libdmx.a
  58. %endif
  59. %{_libdir}/libdmx.so
  60. %{_libdir}/pkgconfig/dmx.pc
  61. #%dir %{_mandir}/man3x
  62. %{_mandir}/man3/*.3*
  63. %changelog
  64. * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
  65. - new upstream release
  66. (including security fix for CVE-2013-1992)
  67. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  68. - new upstream release
  69. - add BuildRequires: xorg-x11-util-macros
  70. * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  71. - new upstream release
  72. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3
  73. - rebuild with rpm-4.8.1 for pkg-config file
  74. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
  75. - add dmxext.h to %%files
  76. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  77. - new upstream release
  78. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
  79. - spec in utf-8
  80. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  81. - new versioning policy
  82. * Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
  83. - initial build for Vine Linux
  84. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-4
  85. - Rebuild for build id
  86. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.2-4
  87. - Don't install INSTALL
  88. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-3.1
  89. - rebuild
  90. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
  91. - Replace "makeinstall" with "make install DESTDIR=..."
  92. - Added "Requires: xorg-x11-proto-devel" to devel for dmx.pc
  93. - Remove package ownership of mandir/libdir/etc.
  94. * Wed Jun 07 2006 Jeremy Katz <katzj@redhat.com> 1.0.2-2
  95. - rebuild for -devel deps
  96. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  97. - Update to 1.0.2
  98. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  99. - bump again for double-long bug on ppc(64)
  100. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  101. - rebuilt for new gcc4.1 snapshot and glibc changes
  102. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  103. - Updated libdmx to version 1.0.1 from X11R7.0
  104. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  105. - Updated libdmx to version 1.0.0 from X11R7 RC4
  106. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  107. - Updated libdmx to version 0.99.2 from X11R7 RC3
  108. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  109. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  110. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  111. * Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
  112. - Added "BuildRequires: libXau-devel, pkgconfig" missing deps.
  113. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  114. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  115. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  116. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  117. - Updated libdmx to version 0.99.1 from X11R7 RC1
  118. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  119. - Renamed package to remove "xorg-x11" from the name due to unanimous decision
  120. between developers.
  121. - Use Fedora Extras style BuildRoot tag.
  122. - Disable static library creation by default.
  123. - Add missing defattr to devel subpackage
  124. - Add missing documentation files to doc macro
  125. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  126. - Renamed package to prepend "xorg-x11" to the name for consistency with
  127. the rest of the X11R7 packages.
  128. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  129. subpackage to ensure the devel package matches the installed shared libs.
  130. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  131. allow applications to use implementation agnostic dependencies.
  132. - Added post/postun scripts which call ldconfig.
  133. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  134. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  135. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  136. - Initial build.