libXpm-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Summary: X.Org X11 libXpm runtime library
  2. Summary(ja): X.Org X11 libXpm ランタイムライブラリ
  3. Name: libXpm
  4. Version: 3.5.8
  5. Release: 2%{?_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: gettext
  12. BuildRequires: pkgconfig
  13. BuildRequires: xorg-x11-proto-devel
  14. BuildRequires: libX11-devel
  15. # FIXME: Although ./configure checks for libXt and libXext, and indicates
  16. # that they are missing, it continues to build anyway, and just does not
  17. # build sxpm if they are not present. Therefore, libXt-devel and
  18. # libXext-devel are required build deps in order to get sxpm built.
  19. BuildRequires: libXt-devel
  20. BuildRequires: libXext-devel
  21. BuildRequires: libXau-devel
  22. Obsoletes: XFree86-libs, XOrg-libs
  23. %description
  24. X.Org X11 libXpm runtime library
  25. %package devel
  26. Summary: X.Org X11 libXpm development package
  27. Group: Development/Libraries
  28. Requires(pre): xorg-x11-filesystem
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: libX11-devel
  31. Obsoletes: XFree86-devel, XOrg-devel
  32. %description devel
  33. X.Org X11 libXpm development package
  34. %prep
  35. %setup -q
  36. # Disable static library creation by default.
  37. %define with_static 0
  38. %build
  39. %configure \
  40. %if ! %{with_static}
  41. --disable-static
  42. %endif
  43. make
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. # We intentionally don't ship *.la files
  48. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS COPYING README ChangeLog
  56. %{_libdir}/libXpm.so.4
  57. %{_libdir}/libXpm.so.4.11.*
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %defattr(-,root,root,-)
  61. %{_bindir}/cxpm
  62. %{_bindir}/sxpm
  63. %dir %{_includedir}/X11
  64. %{_includedir}/X11/xpm.h
  65. %if %{with_static}
  66. %{_libdir}/libXpm.a
  67. %endif
  68. %{_libdir}/libXpm.so
  69. %{_libdir}/pkgconfig/xpm.pc
  70. #%dir %{_mandir}/man1x
  71. %{_mandir}/man1/*.1*
  72. #%{_mandir}/man1/*.1x*
  73. %changelog
  74. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.8-2
  75. - rebuild with rpm-4.8.1 for pkg-config file
  76. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.8-1
  77. - new upstream release
  78. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-2
  79. - spec in utf-8
  80. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-1
  81. - new versioning policy
  82. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-0vl1
  83. - initial build for Vine Linux
  84. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 3.5.7-1
  85. - libXpm 3.5.7
  86. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 3.5.6-2
  87. - Rebuild for build id
  88. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 3.5.6-2
  89. - Don't install INSTALL
  90. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 3.5.6-1
  91. - Update to 3.5.6
  92. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.5.5-3
  93. - rebuild
  94. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 3.5.5-2
  95. - Added "BuildRequires: pkgconfig" for (#193427)
  96. - Replace "makeinstall" with "make install DESTDIR=..."
  97. - Remove package ownership of mandir/libdir/etc.
  98. * Thu Apr 26 2006 Adam Jackson <ajackson@redhat.com> 3.5.5-1
  99. - Update to 3.5.5
  100. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.2
  101. - bump again for double-long bug on ppc(64)
  102. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.1
  103. - rebuilt for new gcc4.1 snapshot and glibc changes
  104. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 3.5.4.2-2
  105. - Bumped and rebuilt
  106. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.2-1
  107. - Updated libXpm to version 3.5.4.2 from X11R7 RC4
  108. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.1-1
  109. - Updated libXpm to version 3.5.4.1 from X11R7 RC3
  110. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  111. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  112. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  113. - Added "Requires: libX11-devel" to devel subpackage as xpm.h includes various
  114. X headers. (#174163)
  115. - Added missing build dep libXau-devel
  116. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  117. - rebuilt
  118. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 3.5.4-1
  119. - Updated libXpm to version 3.5.4 from X11R7 RC2
  120. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  121. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  122. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 3.5.3-1
  123. - Updated libXpm to version 3.5.3 from X11R7 RC1
  124. - Added manpages for sxpm, cxpm
  125. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-5
  126. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  127. between developers.
  128. - Use Fedora Extras style BuildRoot tag.
  129. - Disable static library creation by default.
  130. - Add missing defattr to devel subpackage
  131. - Add missing documentation files to doc macro
  132. - Fix BuildRequires to use new style X library package names
  133. * Sun Sep 4 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-4
  134. - Although ./configure checks for libXt and libXext, and indicates
  135. that they are missing, it continues to build anyway, and just does not
  136. build sxpm if they are not present. Therefore, libXt-devel and
  137. libXext-devel are required build deps in order to get sxpm built.
  138. - Added missing defattr to devel subpackage.
  139. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-3
  140. - Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
  141. package names, as we want xorg-x11 libs to explicitly build against
  142. X.Org supplied libs, rather than "any implementation", which is what the
  143. virtual provides is intended for.
  144. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-2
  145. - Renamed package to prepend "xorg-x11" to the name for consistency with
  146. the rest of the X11R7 packages.
  147. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  148. subpackage to ensure the devel package matches the installed shared libs.
  149. - Added missing sxpm binary to devel subpackage
  150. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  151. allow applications to use implementation agnostic dependencies.
  152. - Added post/postun scripts which call ldconfig.
  153. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  154. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  155. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-1
  156. - Initial build.