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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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.6
  6. Release: 3%{?_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.4.tar.bz2
  11. Source2: ftp://ftp.x.org/pub/individual/app/rgb-1.0.4.tar.bz2
  12. Source3: ftp://ftp.x.org/pub/individual/app/sessreg-1.0.6.tar.bz2
  13. Source4: ftp://ftp.x.org/pub/individual/app/xcmsdb-1.0.3.tar.bz2
  14. Source5: ftp://ftp.x.org/pub/individual/app/xgamma-1.0.4.tar.bz2
  15. Source6: ftp://ftp.x.org/pub/individual/app/xhost-1.0.4.tar.bz2
  16. Source7: ftp://ftp.x.org/pub/individual/app/xmodmap-1.0.5.tar.bz2
  17. Source8: ftp://ftp.x.org/pub/individual/app/xrandr-1.3.4.tar.bz2
  18. Source9: ftp://ftp.x.org/pub/individual/app/xrdb-1.0.9.tar.bz2
  19. Source10: ftp://ftp.x.org/pub/individual/app/xrefresh-1.0.4.tar.bz2
  20. Source11: ftp://ftp.x.org/pub/individual/app/xset-1.2.1.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.1.0.tar.bz2
  24. Source15: ftp://ftp.x.org/pub/individual/app/xstdcmap-1.0.2.tar.bz2
  25. Source17: ftp://ftp.x.org/pub/individual/app/xvidtune-1.0.2.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. BuildRequires: libXcursor-devel
  58. # ENDNOTE
  59. # xrdb requires the C preprocessor to work properly
  60. Requires: cpp
  61. Requires: libXrandr
  62. Provides: iceauth rgb sessreg xcmsdb xgamma xhost
  63. Provides: xmodmap xrandr xrdb xrefresh xset xsetmode xsetpointer
  64. Provides: xsetroot xstdcmap xvidtune
  65. # NOTE: iceauth, rgb, sessreg, xcmsdb, xgamma, xhost, xmodmap,
  66. # xrandr, xrdb, xrefresh, xset, xsetmode, xsetpointer, xsetroot, xstdcmap,
  67. # xvidtune, were all in xorg-x11 and XFree86 packages, so we obsolete
  68. # them to ensure upgrades work.
  69. Obsoletes: XFree86
  70. %description
  71. A collection of utilities used to tweak and query the runtime configuration
  72. of the X server.
  73. %prep
  74. %setup -q -c %{name}-%{version} -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a17
  75. ## %patch1100 -p0 -b .datadir-rgbpath-fix
  76. ## %patch1700 -p1 -b .buffer-stomp
  77. ## %patch1710 -p1 -b .xaw7
  78. %build
  79. # Build all apps
  80. {
  81. for app in * ; do
  82. pushd $app
  83. case $app in
  84. rgb-*)
  85. # FIXME: run autotools junk to kick in our patch
  86. aclocal --force
  87. automake -f
  88. autoconf
  89. %configure ;# --with-rgb-db=%{_datadir}/X11
  90. ;;
  91. xset-*)
  92. # FIXME: run autotools junk to kick in our patch
  93. aclocal --force
  94. automake -f
  95. autoconf
  96. %configure
  97. ;;
  98. xvidtune-*)
  99. # FIXME: run autotools junk to kick in our patch
  100. aclocal --force
  101. automake -f
  102. autoconf
  103. %configure
  104. ;;
  105. *)
  106. %configure
  107. ;;
  108. esac
  109. make
  110. popd
  111. done
  112. }
  113. %install
  114. rm -rf $RPM_BUILD_ROOT
  115. # Install all apps
  116. {
  117. for app in * ; do
  118. pushd $app
  119. case $app in
  120. *)
  121. make install DESTDIR=$RPM_BUILD_ROOT
  122. ;;
  123. esac
  124. popd
  125. done
  126. }
  127. %clean
  128. rm -rf $RPM_BUILD_ROOT
  129. %files
  130. %defattr(-,root,root,-)
  131. %doc
  132. %{_bindir}/iceauth
  133. %{_bindir}/sessreg
  134. %{_bindir}/showrgb
  135. %{_bindir}/xcmsdb
  136. %{_bindir}/xgamma
  137. %{_bindir}/xhost
  138. %{_bindir}/xkeystone
  139. %{_bindir}/xmodmap
  140. %{_bindir}/xrandr
  141. %{_bindir}/xrdb
  142. %{_bindir}/xrefresh
  143. %{_bindir}/xset
  144. %{_bindir}/xsetmode
  145. %{_bindir}/xsetpointer
  146. %{_bindir}/xsetroot
  147. %{_bindir}/xstdcmap
  148. %{_bindir}/xvidtune
  149. %dir %{_datadir}/X11
  150. %{_datadir}/X11/rgb.txt
  151. %{_datadir}/X11/app-defaults/Xvidtune
  152. %{_mandir}/man1/iceauth.1*
  153. %{_mandir}/man1/sessreg.1*
  154. %{_mandir}/man1/showrgb.1*
  155. %{_mandir}/man1/xcmsdb.1*
  156. %{_mandir}/man1/xgamma.1*
  157. %{_mandir}/man1/xhost.1*
  158. %{_mandir}/man1/xmodmap.1*
  159. %{_mandir}/man1/xrandr.1*
  160. %{_mandir}/man1/xrdb.1*
  161. %{_mandir}/man1/xrefresh.1*
  162. %{_mandir}/man1/xset.1*
  163. %{_mandir}/man1/xsetmode.1*
  164. %{_mandir}/man1/xsetpointer.1*
  165. %{_mandir}/man1/xsetroot.1*
  166. %{_mandir}/man1/xstdcmap.1*
  167. %{_mandir}/man1/xvidtune.1*
  168. %changelog
  169. * Sun May 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-3
  170. - delete Obsoletes: xorg-x11
  171. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-2
  172. - xrdb-1.0.9
  173. (including security fix for CVE-2011-0465)
  174. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-1
  175. - xrdb-1.0.8
  176. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.5-3
  177. - xgamma-1.0.4
  178. - xrdb-1.0.7
  179. - xrefresh-1.0.4
  180. - xset-1.2.1
  181. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.5-2
  182. - iceauth-1.0.4
  183. - rgb-1.0.4
  184. - sessreg-1.0.6
  185. - xcmsdb-1.0.3
  186. - xhost-1.0.4
  187. - xmodmap-1.0.5
  188. - xrandr-1.3.4
  189. - xset-1.2.0
  190. - xsetroot-1.1.0
  191. - xstdcmap-1.0.2
  192. - xvidtune-1.0.2
  193. - drop Patch1100,1700,1710
  194. - add BuildRequires: libXcursor-devel
  195. - fix %%files
  196. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  197. - iceauth-1.0.3
  198. - sessreg-1.0.5
  199. - xcmsdb-1.0.2
  200. - xgamma-1.0.3
  201. - xhost-1.0.3
  202. - xmodmap-1.0.4
  203. - xrandr-1.3.2
  204. - xrdb-1.0.6
  205. - xrefresh-1.0.3
  206. - xset-1.1.0
  207. - xsetroot-1.0.3
  208. - drop xtrap (deprecated upstream)
  209. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-2
  210. - xrandr-1.3.0
  211. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-1
  212. - xrandr-1.2.99.4
  213. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-3
  214. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  215. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-2
  216. - rgb 1.0.3
  217. - sessreg 1.0.4
  218. - xhost 1.0.2
  219. - xrandr 1.2.3
  220. - xrdb 1.0.5
  221. - xset 1.0.4
  222. - xsetpointer 1.0.1
  223. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-1
  224. - new versioning policy
  225. * Sun Jan 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-0vl1
  226. - initial build for Vine Linux
  227. * Thu Nov 29 2007 Dave Airlie <airlied@redhat.com> 7.3-2
  228. - xrandr-1.2.2-reset-other-outputs-using-best-crtc.patch
  229. - xrandr-1.2.2-verify-crtc-against-prev-config.patch
  230. - Patches from upstream to fix some bug in xrandr app
  231. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 7.3-1
  232. - sessreg 1.0.3
  233. - xgamma 1.0.2
  234. - xmodmap 1.0.3
  235. - xrdb 1.0.4
  236. - xset 1.0.3
  237. - xsetroot 1.0.2
  238. - Bump to 7.3
  239. * Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 7.2-6
  240. - Rebuild for ppc toolchain bug
  241. * Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 7.2-5
  242. - rebuild for toolchain bug
  243. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 7.2-4
  244. - iceauth 1.0.2
  245. * Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 7.2-3
  246. - xrandr 1.2.2
  247. * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 7.2-2
  248. - xrandr 1.2.1
  249. * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-1
  250. - Superstition bump to 7.2
  251. - xrandr 1.2.0
  252. * Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 7.1-5
  253. - Fix man page globs and rebuild for FC7.
  254. * Fri Aug 4 2006 Adam Jackson <ajackson@redhat.com> 7.1-4.fc6
  255. - xvidtune-1.0.1-buffer-stomp.patch: Fix a heap smash. (#189146)
  256. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-3.fc6
  257. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  258. - Add 'dist' tag to package release string.
  259. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-2.1
  260. - rebuild
  261. - Update to rgb-1.0.2 from X11R7.1
  262. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  263. - Bump the package version to 7.1 to have it match the X11 release that the
  264. tarballs came from going forward.
  265. - Update to xrefresh-1.0.2, xtrap-1.0.2 from X11R7.1
  266. - Remove build dependency on liblbxutil-devel, as LBX is no longer supported.
  267. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-6
  268. - Clean up Source lines in spec file, and other minor cleanups.
  269. * Wed May 17 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-5
  270. - Added a whackload of BuildRequires for bug (#191987)
  271. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-4
  272. - Updated xmodmap, xrandr, xrdb, and xset.
  273. * Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-3
  274. - Eliminate a spurious Xprint dependency from xset.
  275. * Fri Apr 14 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-2
  276. - Drop lbxproxy, LBX is deprecated upstream
  277. - Update to xhost 1.0.1
  278. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  279. - bump again for double-long bug on ppc(64)
  280. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  281. - rebuilt for new gcc4.1 snapshot and glibc changes
  282. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  283. - Updated all packages to the versions from X11R7.0
  284. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  285. - Updated all packages to version 1.0.0 from X11R7 RC4
  286. - Changed manpage dirs from man1x to man1 to match upstream RC4 default.
  287. - Updated lbxproxy-datadir-AtomControl-fix.patch
  288. - Updated rgb-1.0.0-datadir-rgbpath-fix.patch
  289. - Removed xvidtune-0.99.1-datadir-app-defaults-fix.patch, now unneeded.
  290. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-6
  291. - Added "Requires: cpp" as xrdb requires it for proper operation (#174302)
  292. * Wed Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-5
  293. - Bump "filesystem" Requires(pre) to 2.3.7-1.
  294. * Fri Nov 18 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
  295. - Added lbxproxy-0.99.2-datadir-AtomControl-fix.patch to move architecture
  296. independent data files from libdir to datadir.
  297. - Added rgb-0.99.2-datadir-rgbpath-fix.patch to move architecture independent
  298. data files from libdir to datadir.
  299. - Added xvidtune-0.99.1-datadir-app-defaults-fix.patch to move app-defaults
  300. into datadir.
  301. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
  302. - require newer filesystem package (#172610)
  303. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  304. - Added "Obsoletes: XFree86, xorg-x11", as these utilities came from there.
  305. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  306. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  307. - Initial build, with all apps taken from X11R7 RC2
  308. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  309. some packages.