Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > media > main-src > by-pkgid > 6346b84d0ff58d8a10d54aa00824b2d5 > files > 1

xloadimage-4.1-6mdk.src.rpm

Summary: An X Window System based image viewer.
Name: xloadimage
Version: 4.1
Release: 6mdk
Copyright: MIT
Group: Graphics
BuildRequires: XFree86-devel libtiff-devel
Source0: ftp.x.org:/R5contrib/xloadimage.4.1.tar.bz2
Patch0: xloadimage.4.1-linux.patch.bz2
Patch1: xloadimage.4.1-nobr.patch.bz2
BuildRoot: /var/tmp/xloadimage-root

%description
The xloadimage utility displays images in an X Window System window,
loads images into the root window, or writes images into a file.
Xloadimage supports many images types (GIF, TIFF, JPEG, XPM, XBM, etc.).

Install the xloadimage package if you need a utility for displaying
images or loading images into the root window.

%prep
%setup -q -n xloadimage.4.1
%patch0 -p1
%patch1 -p1 -b .nobr

cd jpeg
mv Makefile Makefile.orig
ln -s makefile.ansi Makefile

%build
xmkmf
cd jpeg
make libjpeg.a
cd ..
make CDEBUGFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults

make	DESTDIR=$RPM_BUILD_ROOT \
	SYSPATHFILE=$RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/Xloadimage \
	install install.man

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
/usr/X11R6/lib/X11/app-defaults/Xloadimage
/usr/X11R6/bin/xloadimage
/usr/X11R6/bin/xview
/usr/X11R6/bin/xsetbg
/usr/X11R6/man/man1/xloadimage.1x*
%changelog
* Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 4.1-6mdk
- automatically added BuildRequires


* Thu Mar 30 2000 dam's <damien@mandrakesoft.com> 4.1-5mdk
- Mandrake release.

* Fri Nov 5 1999 dam's <damien@mandrakesoft.com>
- Mandrake release

* Thu May 06 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions
- handle RPM_OPT_FLAGS

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 12)

* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
- build for 6.0

* Fri May 08 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Aug 25 1997 Erik Troan <ewt@redhat.com>
- built against glibc