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 | |
---|
15 | %description |
---|
16 | XbmBrowser provides a graphical interface for viewing and managing |
---|
17 | bitmap and pixmap files. Xbmbrowser will display all of the bitmaps or |
---|
18 | pixmaps found in a specified directory. It will also perform various |
---|
19 | operations on the files, including renaming, copying, deleting, |
---|
20 | editing, or setting one as the background pattern on your display. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n xbmbrowser5.1 |
---|
24 | %patch0 -p1 -b .orig |
---|
25 | |
---|
26 | %build |
---|
27 | xmkmf -a |
---|
28 | make |
---|
29 | |
---|
30 | %install |
---|
31 | rm -rf $RPM_BUILD_ROOT |
---|
32 | make install install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} XAPPLOADDIR=%{_datadir}/X11/app-defaults |
---|
33 | |
---|
34 | install -d $RPM_BUILD_ROOT/etc/X11/wmconfig |
---|
35 | install -m 644 $RPM_SOURCE_DIR/xbmbrowser.wmconfig \ |
---|
36 | $RPM_BUILD_ROOT/etc/X11/wmconfig/xbmbrowser |
---|
37 | install -m 0755 xbm-cmd xbm-resize $RPM_BUILD_ROOT%{_bindir} |
---|
38 | |
---|
39 | %files |
---|
40 | %defattr(-,root,root) |
---|
41 | %doc README Changes OtherUses |
---|
42 | %dir /etc/X11/xbmbrowser |
---|
43 | %config /etc/X11/xbmbrowser/xbmbrowser.menu |
---|
44 | %config /etc/X11/wmconfig/xbmbrowser |
---|
45 | /etc/X11/xbmbrowser/xbmbrowser.menu.tut |
---|
46 | %{_bindir}/* |
---|
47 | %{_datadir}/X11/app-defaults/* |
---|
48 | %{_mandir}/man1/xbmbrowser.* |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %changelog |
---|
54 | * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-13 |
---|
55 | - rebuilt with libXaw 1.0.6 |
---|
56 | |
---|
57 | * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-12vl5 |
---|
58 | - updated Patch0 |
---|
59 | - added X11 build dependencies |
---|
60 | |
---|
61 | * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 5.1.11-1vl5 |
---|
62 | - applied new versioning policy |
---|
63 | - added MANPATH, XAPPLOADDIR at make-install |
---|
64 | - modified directories about X11 |
---|
65 | |
---|
66 | * Mon Sep 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> |
---|
67 | - rebuilt with new toolchains |
---|
68 | - changed Group to User Interface/X |
---|
69 | |
---|
70 | * Mon Jul 24 2000 Prospector <prospector@redhat.com> |
---|
71 | - rebuilt |
---|
72 | |
---|
73 | * Thu Jul 13 2000 Than Ngo <than@redhat.de> |
---|
74 | - use %%{_tmppath} |
---|
75 | |
---|
76 | * Wed Jul 05 2000 Tim Powers <timp@redhat.com> |
---|
77 | - rebuilt to fix docdir location |
---|
78 | |
---|
79 | * Fri May 19 2000 Ngo Than <than@redhat.de> |
---|
80 | - gzip manpage |
---|
81 | - rebuild or powertools 7.0 |
---|
82 | |
---|
83 | * Mon Jul 26 1999 Tim powers <timp@redhat.com> |
---|
84 | - rebuilt for 6.1 |
---|
85 | |
---|
86 | * Fri Apr 09 1999 Michael Maher <mike@redhat.com> |
---|
87 | - made package for 6.0 |
---|
88 | |
---|
89 | * Wed Oct 14 1998 Michael Maher <mike@redhat.com> |
---|
90 | - built pacakge for 5.2 powertools |
---|
91 | |
---|
92 | * Thu May 21 1998 Cristian Gafton <gafton@redhat.com> |
---|
93 | - buildroot |
---|
94 | |
---|
95 | * Thu Nov 20 1997 Otto Hammersmith <otto@redhat.com> |
---|
96 | - added wmconfig entry |
---|
97 | |
---|
98 | * Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com> |
---|
99 | - bulit for glibc |
---|