libXres-vl.spec 5.4 KB

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