libXpm-vl.spec 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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.17
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: MIT/X11
  11. URL: https://www.x.org
  12. Source0: https://www.x.org/releases/individual/lib/%{name}-%{version}.tar.xz
  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. BuildRequires: gzip
  27. Obsoletes: XFree86-libs, XOrg-libs
  28. %description
  29. X.Org X11 libXpm runtime library
  30. %package devel
  31. Summary: X.Org X11 libXpm development package
  32. Group: programming
  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,legacy
  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: programming,legacy
  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. %debug_package
  57. %prep
  58. %setup -q -n libXpm-%{version}
  59. %autopatch -p1
  60. autoreconf -vif
  61. # Disable static library creation by default.
  62. %define with_static 0
  63. %build
  64. %configure \
  65. %if ! %{with_static}
  66. --disable-static
  67. %endif
  68. make
  69. %install
  70. rm -rf $RPM_BUILD_ROOT
  71. make install DESTDIR=$RPM_BUILD_ROOT
  72. # We intentionally don't ship *.la files
  73. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %files
  77. %defattr(-,root,root,-)
  78. %license COPYING
  79. %doc AUTHORS README ChangeLog
  80. %{_libdir}/libXpm.so.4
  81. %{_libdir}/libXpm.so.4.11.*
  82. %files devel
  83. %defattr(-,root,root,-)
  84. %{_bindir}/cxpm
  85. %{_bindir}/sxpm
  86. %dir %{_includedir}/X11
  87. %{_includedir}/X11/xpm.h
  88. %if %{with_static}
  89. %{_libdir}/libXpm.a
  90. %endif
  91. %{_libdir}/libXpm.so
  92. %{_libdir}/pkgconfig/xpm.pc
  93. #%dir %{_mandir}/man1x
  94. %{_mandir}/man1/*.1*
  95. %{_mandir}/man3/*.3*
  96. %if %{build_compat32}
  97. %files -n compat32-%{name}
  98. %defattr(-,root,root,-)
  99. %{_libdir}/libXpm.so.4
  100. %{_libdir}/libXpm.so.4.11.*
  101. %files -n compat32-%{name}-devel
  102. %defattr(-,root,root,-)
  103. %if %{with_static}
  104. %{_libdir}/libXpm.a
  105. %endif
  106. %{_libdir}/libXpm.so
  107. %endif
  108. %changelog
  109. * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.17-1
  110. - new upstream release.
  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.