xbmbrowser-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: A tool for viewing and managing X11 bitmap and Xpm pixmap files.
  2. Name: xbmbrowser
  3. Version: 5.1
  4. Release: 13%{?_dist_release}
  5. License: distributible
  6. Group: User Interface/X
  7. Source0: ftp://ftp.x.org/contrib/utilities/xbmbrowser5.1.tar.gz
  8. Source1: xbmbrowser.wmconfig
  9. Patch0: xbmbrowser-5.1-vine.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libXpm-devel libXaw-devel libXmu-devel libXext-devel
  12. BuildRequires: libSM-devel libICE-devel libXt-devel libX11-devel
  13. BuildRequires: imake
  14. %description
  15. XbmBrowser provides a graphical interface for viewing and managing
  16. bitmap and pixmap files. Xbmbrowser will display all of the bitmaps or
  17. pixmaps found in a specified directory. It will also perform various
  18. operations on the files, including renaming, copying, deleting,
  19. editing, or setting one as the background pattern on your display.
  20. %prep
  21. %setup -q -n xbmbrowser5.1
  22. %patch0 -p1 -b .orig
  23. %build
  24. xmkmf -a
  25. make
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} XAPPLOADDIR=%{_datadir}/X11/app-defaults
  29. install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
  30. install -m 644 $RPM_SOURCE_DIR/xbmbrowser.wmconfig \
  31. $RPM_BUILD_ROOT/etc/X11/wmconfig/xbmbrowser
  32. install -m 0755 xbm-cmd xbm-resize $RPM_BUILD_ROOT%{_bindir}
  33. %files
  34. %defattr(-,root,root)
  35. %doc README Changes OtherUses
  36. %dir /etc/X11/xbmbrowser
  37. %config /etc/X11/xbmbrowser/xbmbrowser.menu
  38. %config /etc/X11/wmconfig/xbmbrowser
  39. /etc/X11/xbmbrowser/xbmbrowser.menu.tut
  40. %{_bindir}/*
  41. %{_datadir}/X11/app-defaults/*
  42. %{_mandir}/man1/xbmbrowser.*
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %changelog
  46. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-13
  47. - rebuilt with libXaw 1.0.6
  48. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-12vl5
  49. - updated Patch0
  50. - added X11 build dependencies
  51. * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 5.1.11-1vl5
  52. - applied new versioning policy
  53. - added MANPATH, XAPPLOADDIR at make-install
  54. - modified directories about X11
  55. * Mon Sep 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
  56. - rebuilt with new toolchains
  57. - changed Group to User Interface/X
  58. * Mon Jul 24 2000 Prospector <prospector@redhat.com>
  59. - rebuilt
  60. * Thu Jul 13 2000 Than Ngo <than@redhat.de>
  61. - use %%{_tmppath}
  62. * Wed Jul 05 2000 Tim Powers <timp@redhat.com>
  63. - rebuilt to fix docdir location
  64. * Fri May 19 2000 Ngo Than <than@redhat.de>
  65. - gzip manpage
  66. - rebuild or powertools 7.0
  67. * Mon Jul 26 1999 Tim powers <timp@redhat.com>
  68. - rebuilt for 6.1
  69. * Fri Apr 09 1999 Michael Maher <mike@redhat.com>
  70. - made package for 6.0
  71. * Wed Oct 14 1998 Michael Maher <mike@redhat.com>
  72. - built pacakge for 5.2 powertools
  73. * Thu May 21 1998 Cristian Gafton <gafton@redhat.com>
  74. - buildroot
  75. * Thu Nov 20 1997 Otto Hammersmith <otto@redhat.com>
  76. - added wmconfig entry
  77. * Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com>
  78. - bulit for glibc