source: projects/specs/trunk/x/xloadimage/xloadimage-vl.spec @ 521

Revision 521, 3.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: An X Window System based image viewer.
2Summary(ja): X ウィンドウシステムベースのイメージビューア
3Name: xloadimage
4Version: 4.1
5Release: 21%{?_dist_release}
6License: MIT
7Group: User Interface/X
8Source: ftp.x.org:/R5contrib/xloadimage.4.1.tar.gz
9Patch0: xloadimage.4.1-linux.patch
10Patch1: xloadimage.4.1-nobr.patch
11Patch2: xloadimage-unaligned.patch
12Patch3: xloadimage-4.1-buffer.patch
13Patch4: xloadimage-4.1-errno.patch
14Patch5: xloadimage.4.1-gcc3.patch
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires: libX11-devel
18BuildRequires: libtiff-devel
19BuildRequires: imake
20
21%description
22The xloadimage utility displays images in an X Window System window,
23loads images into the root window, or writes images into a file.
24Xloadimage supports many images types (GIF, TIFF, JPEG, XPM, XBM,
25etc.).
26
27Install the xloadimage package if you need a utility for displaying
28images or loading images into the root window.
29
30%description -l ja
31xloadimage は X Window System ウィンドウ内や root ウィンドウに
32画像を表示したり,画像をファイルに書き出したりするユーティリティです.
33xloadimage は 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
45cd jpeg
46mv Makefile Makefile.orig
47ln -s makefile.ansi Makefile
48
49%build
50xmkmf
51cd jpeg
52make libjpeg.a
53cd ..
54make XAPPLOADDIR=%{_datadir}/X11/app-defaults
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
60
61make DESTDIR=$RPM_BUILD_ROOT \
62     MANPATH=%{_mandir} \
63     SYSPATHFILE=$RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/Xloadimage \
64     install install.man
65
66%clean
67rm -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
Note: See TracBrowser for help on using the repository browser.