libXpm-vl.spec 7.9 KB

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