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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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: 2%{?_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.3.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.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.2.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.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: xorg-x11, 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 Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.5-2
  170. - iceauth-1.0.4
  171. - rgb-1.0.4
  172. - sessreg-1.0.6
  173. - xcmsdb-1.0.3
  174. - xhost-1.0.4
  175. - xmodmap-1.0.5
  176. - xrandr-1.3.4
  177. - xset-1.2.0
  178. - xsetroot-1.1.0
  179. - xstdcmap-1.0.2
  180. - xvidtune-1.0.2
  181. - drop Patch1100,1700,1710
  182. - add BuildRequires: libXcursor-devel
  183. - fix %%files
  184. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  185. - iceauth-1.0.3
  186. - sessreg-1.0.5
  187. - xcmsdb-1.0.2
  188. - xgamma-1.0.3
  189. - xhost-1.0.3
  190. - xmodmap-1.0.4
  191. - xrandr-1.3.2
  192. - xrdb-1.0.6
  193. - xrefresh-1.0.3
  194. - xset-1.1.0
  195. - xsetroot-1.0.3
  196. - drop xtrap (deprecated upstream)
  197. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-2
  198. - xrandr-1.3.0
  199. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-1
  200. - xrandr-1.2.99.4
  201. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-3
  202. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  203. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-2
  204. - rgb 1.0.3
  205. - sessreg 1.0.4
  206. - xhost 1.0.2
  207. - xrandr 1.2.3
  208. - xrdb 1.0.5
  209. - xset 1.0.4
  210. - xsetpointer 1.0.1
  211. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-1
  212. - new versioning policy
  213. * Sun Jan 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-0vl1
  214. - initial build for Vine Linux
  215. * Thu Nov 29 2007 Dave Airlie <airlied@redhat.com> 7.3-2
  216. - xrandr-1.2.2-reset-other-outputs-using-best-crtc.patch
  217. - xrandr-1.2.2-verify-crtc-against-prev-config.patch
  218. - Patches from upstream to fix some bug in xrandr app
  219. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 7.3-1
  220. - sessreg 1.0.3
  221. - xgamma 1.0.2
  222. - xmodmap 1.0.3
  223. - xrdb 1.0.4
  224. - xset 1.0.3
  225. - xsetroot 1.0.2
  226. - Bump to 7.3
  227. * Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 7.2-6
  228. - Rebuild for ppc toolchain bug
  229. * Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 7.2-5
  230. - rebuild for toolchain bug
  231. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 7.2-4
  232. - iceauth 1.0.2
  233. * Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 7.2-3
  234. - xrandr 1.2.2
  235. * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 7.2-2
  236. - xrandr 1.2.1
  237. * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-1
  238. - Superstition bump to 7.2
  239. - xrandr 1.2.0
  240. * Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 7.1-5
  241. - Fix man page globs and rebuild for FC7.
  242. * Fri Aug 4 2006 Adam Jackson <ajackson@redhat.com> 7.1-4.fc6
  243. - xvidtune-1.0.1-buffer-stomp.patch: Fix a heap smash. (#189146)
  244. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-3.fc6
  245. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  246. - Add 'dist' tag to package release string.
  247. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-2.1
  248. - rebuild
  249. - Update to rgb-1.0.2 from X11R7.1
  250. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  251. - Bump the package version to 7.1 to have it match the X11 release that the
  252. tarballs came from going forward.
  253. - Update to xrefresh-1.0.2, xtrap-1.0.2 from X11R7.1
  254. - Remove build dependency on liblbxutil-devel, as LBX is no longer supported.
  255. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-6
  256. - Clean up Source lines in spec file, and other minor cleanups.
  257. * Wed May 17 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-5
  258. - Added a whackload of BuildRequires for bug (#191987)
  259. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-4
  260. - Updated xmodmap, xrandr, xrdb, and xset.
  261. * Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-3
  262. - Eliminate a spurious Xprint dependency from xset.
  263. * Fri Apr 14 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-2
  264. - Drop lbxproxy, LBX is deprecated upstream
  265. - Update to xhost 1.0.1
  266. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  267. - bump again for double-long bug on ppc(64)
  268. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  269. - rebuilt for new gcc4.1 snapshot and glibc changes
  270. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  271. - Updated all packages to the versions from X11R7.0
  272. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  273. - Updated all packages to version 1.0.0 from X11R7 RC4
  274. - Changed manpage dirs from man1x to man1 to match upstream RC4 default.
  275. - Updated lbxproxy-datadir-AtomControl-fix.patch
  276. - Updated rgb-1.0.0-datadir-rgbpath-fix.patch
  277. - Removed xvidtune-0.99.1-datadir-app-defaults-fix.patch, now unneeded.
  278. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-6
  279. - Added "Requires: cpp" as xrdb requires it for proper operation (#174302)
  280. * Wed Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-5
  281. - Bump "filesystem" Requires(pre) to 2.3.7-1.
  282. * Fri Nov 18 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
  283. - Added lbxproxy-0.99.2-datadir-AtomControl-fix.patch to move architecture
  284. independent data files from libdir to datadir.
  285. - Added rgb-0.99.2-datadir-rgbpath-fix.patch to move architecture independent
  286. data files from libdir to datadir.
  287. - Added xvidtune-0.99.1-datadir-app-defaults-fix.patch to move app-defaults
  288. into datadir.
  289. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
  290. - require newer filesystem package (#172610)
  291. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  292. - Added "Obsoletes: XFree86, xorg-x11", as these utilities came from there.
  293. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  294. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  295. - Initial build, with all apps taken from X11R7 RC2
  296. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  297. some packages.