libXpm-vl.spec 7.8 KB

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