libXTrap-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Summary: X.Org X11 libXTrap runtime library
  2. Summary(ja): X.Org X11 libXTrap ランタイムライブラリ
  3. Name: libXTrap
  4. Version: 1.0.1
  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: libX11-devel
  14. BuildRequires: libXext-devel
  15. BuildRequires: libXt-devel
  16. Obsoletes: XFree86-libs, XOrg-libs
  17. %description
  18. X.Org X11 libXTrap runtime library
  19. %package devel
  20. Summary: X.Org X11 libXTrap development package
  21. Summary(ja): X.Org X11 libXTrap 開発パッケージ
  22. Group: Development/Libraries
  23. Requires(pre): xorg-x11-filesystem
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: xorg-x11-proto-devel
  26. Obsoletes: XFree86-devel, XOrg-devel
  27. %description devel
  28. X.Org X11 libXTrap development package
  29. %prep
  30. %setup -q
  31. # Disable static library creation by default.
  32. %define with_static 0
  33. %build
  34. %configure --disable-static
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. # We intentionally don't ship *.la files
  40. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc AUTHORS COPYING README ChangeLog
  48. %{_libdir}/libXTrap.so.6
  49. %{_libdir}/libXTrap.so.6.4.0
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %{_libdir}/libXTrap.so
  53. %{_libdir}/pkgconfig/xtrap.pc
  54. %changelog
  55. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  56. - new upstream release
  57. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-3
  58. - rebuild with rpm-4.8.1 for pkg-config file
  59. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2
  60. - spec in utf-8
  61. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  62. - new versioning policy
  63. * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
  64. - initial build for Vine Linux
  65. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.0-4
  66. - Rebuild for build id
  67. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.0-4
  68. - Don't install INSTALL
  69. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-3.1
  70. - rebuild
  71. * Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-3
  72. - Added "Requires: xorg-x11-proto-devel" for xtrap.pc
  73. - Replace "makeinstall" with "make install DESTDIR=..."
  74. - Remove package ownership of mandir/libdir/etc.
  75. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  76. - bump again for double-long bug on ppc(64)
  77. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  78. - rebuilt for new gcc4.1 snapshot and glibc changes
  79. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  80. - Bumped and rebuilt with X11R7 tarball
  81. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  82. - Updated libXTrap to version 1.0.0 from X11R7 RC4
  83. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  84. - Updated libXTrap to version 0.99.2 from X11R7 RC3
  85. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  86. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  87. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  88. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  89. - rebuilt
  90. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  91. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  92. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  93. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  94. - Updated libXTrap to version 0.99.1 from X11R7 RC1
  95. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  96. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  97. between developers.
  98. - Use Fedora Extras style BuildRoot tag.
  99. - Disable static library creation by default.
  100. - Add missing defattr to devel subpackage
  101. - Add missing documentation files to doc macro
  102. - Fix BuildRequires to use new style X library package names
  103. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  104. - Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
  105. package names, as we want xorg-x11 libs to explicitly build against
  106. X.Org supplied libs, rather than "any implementation", which is what the
  107. virtual provides is intended for.
  108. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  109. - Renamed package to prepend "xorg-x11" to the name for consistency with
  110. the rest of the X11R7 packages.
  111. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  112. subpackage to ensure the devel package matches the installed shared libs.
  113. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  114. allow applications to use implementation agnostic dependencies.
  115. - Added post/postun scripts which call ldconfig.
  116. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  117. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  118. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  119. - Initial build.