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