xloadimage-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Summary: An X Window System based image viewer.
  2. Summary(ja): X ウィンドウシステムベースのイメージビューア
  3. Name: xloadimage
  4. Version: 4.1
  5. Release: 21%{?_dist_release}
  6. License: MIT
  7. Group: User Interface/X
  8. Source: ftp.x.org:/R5contrib/xloadimage.4.1.tar.gz
  9. Patch0: xloadimage.4.1-linux.patch
  10. Patch1: xloadimage.4.1-nobr.patch
  11. Patch2: xloadimage-unaligned.patch
  12. Patch3: xloadimage-4.1-buffer.patch
  13. Patch4: xloadimage-4.1-errno.patch
  14. Patch5: xloadimage.4.1-gcc3.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: libX11-devel
  17. BuildRequires: libtiff-devel
  18. BuildRequires: imake
  19. %description
  20. The xloadimage utility displays images in an X Window System window,
  21. loads images into the root window, or writes images into a file.
  22. Xloadimage supports many images types (GIF, TIFF, JPEG, XPM, XBM,
  23. etc.).
  24. Install the xloadimage package if you need a utility for displaying
  25. images or loading images into the root window.
  26. %description -l ja
  27. xloadimage は X Window System ウィンドウ内や root ウィンドウに
  28. 画像を表示したり,画像をファイルに書き出したりするユーティリティです.
  29. xloadimage は GIF, TIFF, JPEG, XPM, XBM といった多くの画像タイプを
  30. サポートしています.
  31. %prep
  32. %setup -q -n xloadimage.4.1
  33. %patch0 -p1
  34. %patch1 -p1 -b .nobr
  35. %patch2 -p1 -b .unaligned
  36. %patch3 -p1 -b .buffer
  37. %patch4 -p1 -b .errno
  38. %patch5 -p1 -b .gcc3
  39. cd jpeg
  40. mv Makefile Makefile.orig
  41. ln -s makefile.ansi Makefile
  42. %build
  43. xmkmf
  44. cd jpeg
  45. make libjpeg.a
  46. cd ..
  47. make XAPPLOADDIR=%{_datadir}/X11/app-defaults
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
  51. make DESTDIR=$RPM_BUILD_ROOT \
  52. MANPATH=%{_mandir} \
  53. SYSPATHFILE=$RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/Xloadimage \
  54. install install.man
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files
  58. %defattr(-,root,root)
  59. %doc README
  60. %{_datadir}/X11/app-defaults/Xloadimage
  61. %{_bindir}/uufilter
  62. %{_bindir}/xloadimage
  63. %{_bindir}/xsetbg
  64. %{_bindir}/xview
  65. %{_mandir}/man1/xloadimage.*
  66. %{_mandir}/man1/uufilter.*
  67. %changelog
  68. * Wed May 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1-21
  69. - spec in UTF-8
  70. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1-20
  71. - rebuilt with xorg-x11-7.3
  72. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1-19vl4
  73. - added uufilter
  74. - added BuildRequires: XOrg-devel
  75. - changed Group to User Interface/X
  76. * Fri Jan 16 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 4.1-19vl3
  77. - added errno patch
  78. - added gcc3 patch
  79. * Sat Jun 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1-19vl2
  80. - rebuild with new toolchains
  81. - to use License instead of Copyright
  82. * Wed Jul 18 2001 <sagami@vinelinux.org>
  83. - 4.1-19vl1: in sync with redhat 6.2 update 4.1-19.6
  84. * fix buffer overflow in the faces reader (bugzilla #46186)
  85. * Tue Dec 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  86. - 4.1-16vl1
  87. - based on 4.1-16 from Rawhide
  88. - added Japanese summary and description
  89. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  90. - automatic rebuild
  91. * Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
  92. - rebuild in new environment
  93. * Mon Mar 27 2000 Bill Nottingham <notting@redhat.com>
  94. - add unaligned access & bugfix patch from
  95. Michal Jaegermann <michal@harddata.com>
  96. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  97. - handle compressed man pages
  98. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  99. - auto rebuild in the new build environment (release 12)
  100. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  101. - build for 6.0
  102. * Fri May 08 1998 Prospector System <bugs@redhat.com>
  103. - translations modified for de, fr, tr
  104. * Mon Aug 25 1997 Erik Troan <ewt@redhat.com>
  105. - built against glibc