# # spec file for package xli (Version 20061110) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xli License: MIT Group: System/X11/Utilities Version: 20061110 Release: 126 Summary: X11 Image Loading Utility Url: http://pantransit.reptiles.org/prog Source: xli-2006-11-10.tar.bz2 Patch0: xli-1.17.0.patch Patch1: xli-1.17.0-overflow.patch Patch2: xli-1.17.0-8bit_palette.patch Patch3: xli-1.17.0-configfile.patch Patch4: xli-png_check_sig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libjpeg-devel libpng-devel xorg-x11-devel Provides: xli115 Provides: xloadimage = %{version} %description xli is a version of xloadimage. This utility will view several types of images under X11, or load images onto the X11 root window. %prep %setup -q -n xli-2006-11-10 %patch0 %patch1 %patch2 %patch3 %patch4 %build xmkmf -a make %{?_smp_mflags} all CCOPTIONS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT/usr/lib/X11 make BINDIR=$RPM_BUILD_ROOT%{_bindir} install make DESTDIR=$RPM_BUILD_ROOT install.man ln -s xli $RPM_BUILD_ROOT%{_bindir}/xloadimage ln -s xli.1x.gz $RPM_BUILD_ROOT%{_mandir}/man1/xloadimage.1x.gz %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README* ABOUTGAMMA %doc %{_mandir}/man1/xli.1x.gz %doc %{_mandir}/man1/xlito.1x.gz %doc %{_mandir}/man1/xloadimage.1x.gz %{_bindir}/xli %{_bindir}/xlito %{_bindir}/xloadimage %{_bindir}/xsetbg %{_bindir}/xview /usr/lib/X11/Xli %changelog