2007-01-15 23:42:46 +00:00
|
|
|
#
|
2007-04-16 22:43:16 +00:00
|
|
|
# spec file for package xli (Version 20061110)
|
2007-01-15 23:42:46 +00:00
|
|
|
#
|
2010-04-04 18:09:22 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:42:46 +00:00
|
|
|
#
|
2009-06-18 22:26:37 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:42:46 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-06-18 22:26:37 +00:00
|
|
|
|
2007-01-15 23:42:46 +00:00
|
|
|
Name: xli
|
2010-04-04 18:09:22 +00:00
|
|
|
License: MIT
|
2007-01-15 23:42:46 +00:00
|
|
|
Group: System/X11/Utilities
|
2007-04-16 22:43:16 +00:00
|
|
|
Version: 20061110
|
2010-05-01 09:09:08 +00:00
|
|
|
Release: 126
|
2007-01-15 23:42:46 +00:00
|
|
|
Summary: X11 Image Loading Utility
|
2009-06-18 22:26:37 +00:00
|
|
|
Url: http://pantransit.reptiles.org/prog
|
2007-04-16 22:43:16 +00:00
|
|
|
Source: xli-2006-11-10.tar.bz2
|
2007-01-15 23:42:46 +00:00
|
|
|
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
|
2010-04-04 18:09:22 +00:00
|
|
|
Patch4: xli-png_check_sig.patch
|
2007-01-15 23:42:46 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-05-03 19:28:21 +00:00
|
|
|
BuildRequires: libjpeg-devel libpng-devel xorg-x11-devel
|
|
|
|
Provides: xli115
|
|
|
|
Provides: xloadimage = %{version}
|
2007-01-15 23:42:46 +00:00
|
|
|
|
|
|
|
%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
|
2007-04-16 22:43:16 +00:00
|
|
|
%setup -q -n xli-2006-11-10
|
2007-01-15 23:42:46 +00:00
|
|
|
%patch0
|
2010-05-03 19:28:21 +00:00
|
|
|
%patch1
|
|
|
|
%patch2
|
2007-01-15 23:42:46 +00:00
|
|
|
%patch3
|
2010-04-04 18:09:22 +00:00
|
|
|
%patch4
|
2007-01-15 23:42:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
xmkmf -a
|
2010-05-03 19:28:21 +00:00
|
|
|
make %{?_smp_mflags} all CCOPTIONS="$RPM_OPT_FLAGS"
|
2007-01-15 23:42:46 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/X11
|
2010-05-03 19:28:21 +00:00
|
|
|
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
|
2007-01-15 23:42:46 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2007-02-09 16:07:52 +00:00
|
|
|
%defattr(-,root,root)
|
2007-01-15 23:42:46 +00:00
|
|
|
%doc README* ABOUTGAMMA
|
2010-05-03 19:28:21 +00:00
|
|
|
%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
|
2007-01-15 23:42:46 +00:00
|
|
|
/usr/lib/X11/Xli
|
|
|
|
|
2007-04-16 22:43:16 +00:00
|
|
|
%changelog
|