xorg-x11-server-utils-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. %define pkgname server-utils
  2. Summary: X.Org X11 X server utilities
  3. Summary(ja): X.Org X11 X サーバユーティリティ
  4. Name: xorg-x11-%{pkgname}
  5. Version: 7.5
  6. Release: 1%{?_dist_release}
  7. License: MIT/X11
  8. Group: User Interface/X
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/app/iceauth-1.0.3.tar.bz2
  11. Source2: ftp://ftp.x.org/pub/individual/app/rgb-1.0.3.tar.bz2
  12. Source3: ftp://ftp.x.org/pub/individual/app/sessreg-1.0.5.tar.bz2
  13. Source4: ftp://ftp.x.org/pub/individual/app/xcmsdb-1.0.2.tar.bz2
  14. Source5: ftp://ftp.x.org/pub/individual/app/xgamma-1.0.3.tar.bz2
  15. Source6: ftp://ftp.x.org/pub/individual/app/xhost-1.0.3.tar.bz2
  16. Source7: ftp://ftp.x.org/pub/individual/app/xmodmap-1.0.4.tar.bz2
  17. Source8: ftp://ftp.x.org/pub/individual/app/xrandr-1.3.2.tar.bz2
  18. Source9: ftp://ftp.x.org/pub/individual/app/xrdb-1.0.6.tar.bz2
  19. Source10: ftp://ftp.x.org/pub/individual/app/xrefresh-1.0.3.tar.bz2
  20. Source11: ftp://ftp.x.org/pub/individual/app/xset-1.1.0.tar.bz2
  21. Source12: ftp://ftp.x.org/pub/individual/app/xsetmode-1.0.0.tar.bz2
  22. Source13: ftp://ftp.x.org/pub/individual/app/xsetpointer-1.0.1.tar.bz2
  23. Source14: ftp://ftp.x.org/pub/individual/app/xsetroot-1.0.3.tar.bz2
  24. Source15: ftp://ftp.x.org/pub/individual/app/xstdcmap-1.0.1.tar.bz2
  25. Source17: ftp://ftp.x.org/pub/individual/app/xvidtune-1.0.1.tar.bz2
  26. # NOTE: Each upstream tarball has its own "PatchN" section, taken from
  27. # multiplying the "SourceN" line times 100. Please keep them in this
  28. # order. Also, please keep each patch specific to a single upstream tarball,
  29. # so that they don't have to be split in half when submitting upstream.
  30. #
  31. # iceauth section
  32. #Patch0:
  33. # rgb section
  34. Patch1100: rgb-1.0.3-datadir-rgbpath-fix.patch
  35. # xvidtune section
  36. Patch1700: xvidtune-1.0.1-buffer-stomp.patch
  37. Patch1710: xvidtune-1.0.1-xaw7.patch
  38. # xrandr section
  39. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  40. # FIXME: Temporary build dep on automake, autoconf while they're still used
  41. # in the specfile.
  42. BuildRequires: autoconf, automake
  43. BuildRequires: pkgconfig
  44. # xsetroot requires xbitmaps-devel
  45. BuildRequires: xbitmaps-devel
  46. # xsetroot requires libX11-devel
  47. BuildRequires: libX11-devel
  48. # xsetroot requires libXmu-devel
  49. BuildRequires: libXmu-devel
  50. BuildRequires: xorg-x11-xtrans-devel libXext-devel
  51. BuildRequires: libXrandr-devel >= 1.2.0
  52. BuildRequires: xorg-x11-util-macros libXxf86vm-devel libXrandr-devel
  53. BuildRequires: libXrender-devel libXi-devel libXt-devel
  54. BuildRequires: libXaw-devel >= 1.0.5
  55. BuildRequires: libXpm-devel libXxf86misc-devel libXfontcache-devel
  56. BuildRequires: zlib-devel
  57. # ENDNOTE
  58. # xrdb requires the C preprocessor to work properly
  59. Requires: cpp
  60. Requires: libXrandr
  61. Provides: iceauth rgb sessreg xcmsdb xgamma xhost
  62. Provides: xmodmap xrandr xrdb xrefresh xset xsetmode xsetpointer
  63. Provides: xsetroot xstdcmap xvidtune
  64. # NOTE: iceauth, rgb, sessreg, xcmsdb, xgamma, xhost, xmodmap,
  65. # xrandr, xrdb, xrefresh, xset, xsetmode, xsetpointer, xsetroot, xstdcmap,
  66. # xvidtune, were all in xorg-x11 and XFree86 packages, so we obsolete
  67. # them to ensure upgrades work.
  68. Obsoletes: xorg-x11, XFree86
  69. %description
  70. A collection of utilities used to tweak and query the runtime configuration
  71. of the X server.
  72. %prep
  73. %setup -q -c %{name}-%{version} -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a17
  74. %patch1100 -p0 -b .datadir-rgbpath-fix
  75. %patch1700 -p1 -b .buffer-stomp
  76. %patch1710 -p1 -b .xaw7
  77. %build
  78. # Build all apps
  79. {
  80. for app in * ; do
  81. pushd $app
  82. case $app in
  83. rgb-*)
  84. # FIXME: run autotools junk to kick in our patch
  85. aclocal --force
  86. automake -f
  87. autoconf
  88. %configure ;# --with-rgb-db=%{_datadir}/X11
  89. ;;
  90. xset-*)
  91. # FIXME: run autotools junk to kick in our patch
  92. aclocal --force
  93. automake -f
  94. autoconf
  95. %configure
  96. ;;
  97. xvidtune-*)
  98. # FIXME: run autotools junk to kick in our patch
  99. aclocal --force
  100. automake -f
  101. autoconf
  102. %configure
  103. ;;
  104. *)
  105. %configure
  106. ;;
  107. esac
  108. make
  109. popd
  110. done
  111. }
  112. %install
  113. rm -rf $RPM_BUILD_ROOT
  114. # Install all apps
  115. {
  116. for app in * ; do
  117. pushd $app
  118. case $app in
  119. *)
  120. make install DESTDIR=$RPM_BUILD_ROOT
  121. ;;
  122. esac
  123. popd
  124. done
  125. }
  126. %clean
  127. rm -rf $RPM_BUILD_ROOT
  128. %files
  129. %defattr(-,root,root,-)
  130. %doc
  131. %{_bindir}/iceauth
  132. %{_bindir}/sessreg
  133. %{_bindir}/showrgb
  134. %{_bindir}/xcmsdb
  135. %{_bindir}/xgamma
  136. %{_bindir}/xhost
  137. %{_bindir}/xmodmap
  138. %{_bindir}/xrandr
  139. %{_bindir}/xrdb
  140. %{_bindir}/xrefresh
  141. %{_bindir}/xset
  142. %{_bindir}/xsetmode
  143. %{_bindir}/xsetpointer
  144. %{_bindir}/xsetroot
  145. %{_bindir}/xstdcmap
  146. %{_bindir}/xvidtune
  147. %dir %{_datadir}/X11
  148. %{_datadir}/X11/rgb.txt
  149. %{_datadir}/X11/app-defaults/Xvidtune
  150. %{_mandir}/man1/iceauth.1*
  151. %{_mandir}/man1/sessreg.1*
  152. %{_mandir}/man1/showrgb.1*
  153. %{_mandir}/man1/xcmsdb.1*
  154. %{_mandir}/man1/xgamma.1*
  155. %{_mandir}/man1/xhost.1*
  156. %{_mandir}/man1/xmodmap.1*
  157. %{_mandir}/man1/xrandr.1*
  158. %{_mandir}/man1/xrdb.1*
  159. %{_mandir}/man1/xrefresh.1*
  160. %{_mandir}/man1/xset.1*
  161. %{_mandir}/man1/xsetmode.1*
  162. %{_mandir}/man1/xsetpointer.1*
  163. %{_mandir}/man1/xsetroot.1*
  164. %{_mandir}/man1/xstdcmap.1*
  165. %{_mandir}/man1/xvidtune.1*
  166. %changelog
  167. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  168. - iceauth-1.0.3
  169. - sessreg-1.0.5
  170. - xcmsdb-1.0.2
  171. - xgamma-1.0.3
  172. - xhost-1.0.3
  173. - xmodmap-1.0.4
  174. - xrandr-1.3.2
  175. - xrdb-1.0.6
  176. - xrefresh-1.0.3
  177. - xset-1.1.0
  178. - xsetroot-1.0.3
  179. - drop xtrap (deprecated upstream)
  180. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-2
  181. - xrandr-1.3.0
  182. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-1
  183. - xrandr-1.2.99.4
  184. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-3
  185. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  186. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-2
  187. - rgb 1.0.3
  188. - sessreg 1.0.4
  189. - xhost 1.0.2
  190. - xrandr 1.2.3
  191. - xrdb 1.0.5
  192. - xset 1.0.4
  193. - xsetpointer 1.0.1
  194. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-1
  195. - new versioning policy
  196. * Sun Jan 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-0vl1
  197. - initial build for Vine Linux
  198. * Thu Nov 29 2007 Dave Airlie <airlied@redhat.com> 7.3-2
  199. - xrandr-1.2.2-reset-other-outputs-using-best-crtc.patch
  200. - xrandr-1.2.2-verify-crtc-against-prev-config.patch
  201. - Patches from upstream to fix some bug in xrandr app
  202. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 7.3-1
  203. - sessreg 1.0.3
  204. - xgamma 1.0.2
  205. - xmodmap 1.0.3
  206. - xrdb 1.0.4
  207. - xset 1.0.3
  208. - xsetroot 1.0.2
  209. - Bump to 7.3
  210. * Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 7.2-6
  211. - Rebuild for ppc toolchain bug
  212. * Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 7.2-5
  213. - rebuild for toolchain bug
  214. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 7.2-4
  215. - iceauth 1.0.2
  216. * Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 7.2-3
  217. - xrandr 1.2.2
  218. * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 7.2-2
  219. - xrandr 1.2.1
  220. * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-1
  221. - Superstition bump to 7.2
  222. - xrandr 1.2.0
  223. * Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 7.1-5
  224. - Fix man page globs and rebuild for FC7.
  225. * Fri Aug 4 2006 Adam Jackson <ajackson@redhat.com> 7.1-4.fc6
  226. - xvidtune-1.0.1-buffer-stomp.patch: Fix a heap smash. (#189146)
  227. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-3.fc6
  228. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  229. - Add 'dist' tag to package release string.
  230. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-2.1
  231. - rebuild
  232. - Update to rgb-1.0.2 from X11R7.1
  233. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  234. - Bump the package version to 7.1 to have it match the X11 release that the
  235. tarballs came from going forward.
  236. - Update to xrefresh-1.0.2, xtrap-1.0.2 from X11R7.1
  237. - Remove build dependency on liblbxutil-devel, as LBX is no longer supported.
  238. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-6
  239. - Clean up Source lines in spec file, and other minor cleanups.
  240. * Wed May 17 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-5
  241. - Added a whackload of BuildRequires for bug (#191987)
  242. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-4
  243. - Updated xmodmap, xrandr, xrdb, and xset.
  244. * Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-3
  245. - Eliminate a spurious Xprint dependency from xset.
  246. * Fri Apr 14 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-2
  247. - Drop lbxproxy, LBX is deprecated upstream
  248. - Update to xhost 1.0.1
  249. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  250. - bump again for double-long bug on ppc(64)
  251. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  252. - rebuilt for new gcc4.1 snapshot and glibc changes
  253. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  254. - Updated all packages to the versions from X11R7.0
  255. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  256. - Updated all packages to version 1.0.0 from X11R7 RC4
  257. - Changed manpage dirs from man1x to man1 to match upstream RC4 default.
  258. - Updated lbxproxy-datadir-AtomControl-fix.patch
  259. - Updated rgb-1.0.0-datadir-rgbpath-fix.patch
  260. - Removed xvidtune-0.99.1-datadir-app-defaults-fix.patch, now unneeded.
  261. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-6
  262. - Added "Requires: cpp" as xrdb requires it for proper operation (#174302)
  263. * Wed Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-5
  264. - Bump "filesystem" Requires(pre) to 2.3.7-1.
  265. * Fri Nov 18 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
  266. - Added lbxproxy-0.99.2-datadir-AtomControl-fix.patch to move architecture
  267. independent data files from libdir to datadir.
  268. - Added rgb-0.99.2-datadir-rgbpath-fix.patch to move architecture independent
  269. data files from libdir to datadir.
  270. - Added xvidtune-0.99.1-datadir-app-defaults-fix.patch to move app-defaults
  271. into datadir.
  272. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
  273. - require newer filesystem package (#172610)
  274. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  275. - Added "Obsoletes: XFree86, xorg-x11", as these utilities came from there.
  276. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  277. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  278. - Initial build, with all apps taken from X11R7 RC2
  279. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  280. some packages.