libXau-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libXau runtime library
  3. Summary(ja): X.Org X11 libXau ランタイムライブラリ
  4. Name: libXau
  5. Version: 1.0.9
  6. Release: 1%{?_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: pkgconfig
  13. BuildRequires: xorg-x11-proto-devel
  14. BuildRequires: xorg-x11-util-macros
  15. Obsoletes: XFree86-libs, XOrg-libs
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. X.Org X11 libXau runtime library
  20. %package devel
  21. Summary: X.Org X11 libXau development package
  22. Group: Development/Libraries
  23. Requires(pre): xorg-x11-filesystem
  24. Requires: %{name} = %{version}-%{release}
  25. # xorg-x11-proto-devel needed by xau.pc
  26. BuildRequires: xorg-x11-proto-devel
  27. Obsoletes: XFree86-devel, XOrg-devel
  28. %description devel
  29. X.Org X11 libXau development package
  30. # compat32
  31. %package -n compat32-%{name}
  32. Summary: X.Org X11 libXau runtime library
  33. Summary(ja): X.Org X11 libXau ランタイムライブラリ
  34. Group: System Environment/Libraries
  35. %description -n compat32-%{name}
  36. X.Org X11 libXau runtime library
  37. %package -n compat32-%{name}-devel
  38. Summary: X.Org X11 libXau development package
  39. Group: Development/Libraries
  40. Requires(pre): xorg-x11-filesystem
  41. Requires: compat32-%{name} = %{version}-%{release}
  42. Requires: %{name}-devel = %{version}-%{release}
  43. %description -n compat32-%{name}-devel
  44. X.Org X11 libXau development package
  45. %prep
  46. %setup -q
  47. # Disable static library creation by default.
  48. %define with_static 0
  49. %build
  50. %configure \
  51. %if ! %{with_static}
  52. --disable-static
  53. %endif
  54. make
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. # We intentionally don't ship *.la files
  59. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %post -p /sbin/ldconfig
  63. %postun -p /sbin/ldconfig
  64. %post -n compat32-%{name} -p /sbin/ldconfig
  65. %postun -n compat32-%{name} -p /sbin/ldconfig
  66. %files
  67. %defattr(-,root,root,-)
  68. %license COPYING
  69. %doc AUTHORS README ChangeLog
  70. %{_libdir}/libXau.so.6
  71. %{_libdir}/libXau.so.6.0.0
  72. %files devel
  73. %defattr(-,root,root,-)
  74. %dir %{_includedir}/X11
  75. %{_includedir}/X11/Xauth.h
  76. %if %{with_static}
  77. %{_libdir}/libXau.a
  78. %endif
  79. %{_libdir}/libXau.so
  80. %{_libdir}/pkgconfig/xau.pc
  81. #%dir %{_mandir}/man3x
  82. %{_mandir}/man3/*.3*
  83. # compat32
  84. %if %{build_compat32}
  85. %files -n compat32-%{name}
  86. %defattr(-,root,root,-)
  87. %{_libdir}/libXau.so.6
  88. %{_libdir}/libXau.so.6.0.0
  89. %files -n compat32-%{name}-devel
  90. %defattr(-,root,root,-)
  91. %if %{with_static}
  92. %{_libdir}/libXau.a
  93. %endif
  94. %{_libdir}/libXau.so
  95. %endif
  96. %changelog
  97. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
  98. - new upstream release.
  99. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  100. - rebuild with VineSeed environment
  101. * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  102. - new upstream release
  103. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  104. - new upstream release
  105. - add BuildRequires: xorg-x11-util-macros
  106. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
  107. - rebuild with rpm-4.8.1 for pkg-config file
  108. * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-1
  109. - new upstream release
  110. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  111. - new upstream release
  112. * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2
  113. - added compat32 package for x86_64 arch support
  114. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  115. - new upstream release
  116. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  117. - new versioning policy
  118. * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
  119. - initial build for Vine Linux
  120. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
  121. - Rebuild for build id
  122. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
  123. - Don't install INSTALL
  124. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
  125. - Update to 1.0.3
  126. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
  127. - Update to 1.0.2
  128. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
  129. - rebuild
  130. * Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
  131. - Remove package ownership of mandir/libdir/etc.
  132. - Added "BuildRequires: xorg-x11-proto-devel" needed by xau.pc
  133. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  134. - Added "BuildRequires: pkgconfig" for (#193422)
  135. - Replace "makeinstall" with "make install DESTDIR=..." to fix (#192718)
  136. * Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
  137. - Bump to 1.0.1
  138. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  139. - bump again for double-long bug on ppc(64)
  140. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  141. - rebuilt for new gcc4.1 snapshot and glibc changes
  142. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  143. - Bumped and rebuilt
  144. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  145. - Updated libXau to version 1.0.0 from X11R7 RC4
  146. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  147. - Updated libXau to version 0.99.2 from X11R7 RC3
  148. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  149. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  150. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  151. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  152. - rebuilt
  153. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  154. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  155. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  156. * Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  157. - Update to libXau-0.99.1 from X11R7 RC1 release.
  158. - Added manpages that were absent in X11R7 RC0, and updated the file lists
  159. to find them in section "man3x".
  160. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  161. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  162. between developers.
  163. - Use Fedora Extras style BuildRoot tag.
  164. - Disable static library creation by default.
  165. - Add missing defattr to devel subpackage
  166. - Add missing documentation files to doc macro
  167. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  168. - Renamed package to prepend "xorg-x11" to the name for consistency with
  169. the rest of the X11R7 packages.
  170. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  171. subpackage to ensure the devel package matches the installed shared libs.
  172. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  173. allow applications to use implementation agnostic dependencies.
  174. - Added post/postun scripts which call ldconfig.
  175. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  176. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  177. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  178. - Initial build.