libXpm-vl.spec 8.3 KB

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