From 6b8c8825c226b1733e3d42e029883a7245c8195e Mon Sep 17 00:00:00 2001 From: mharris Date: Nov 12 2005 06:58:59 +0000 Subject: auto-import xorg-x11-resutils-0.99.1-1 on branch devel from xorg-x11-resutils-0.99.1-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..405c1e6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,4 @@ +appres-0.99.1.tar.bz2 +editres-0.99.1.tar.bz2 +listres-0.99.1.tar.bz2 +viewres-0.99.1.tar.bz2 diff --git a/sources b/sources index e69de29..9522a45 100644 --- a/sources +++ b/sources @@ -0,0 +1,4 @@ +faabbfaaca5cfdb013b206f5aac0263e appres-0.99.1.tar.bz2 +7eed27f1a239219a847bfbba5ea6bcf1 editres-0.99.1.tar.bz2 +5b401ed299f40690afbf6efb2373eea7 listres-0.99.1.tar.bz2 +baea68e8e512142945799fc98a3d6e7e viewres-0.99.1.tar.bz2 diff --git a/xorg-x11-resutils.spec b/xorg-x11-resutils.spec new file mode 100644 index 0000000..c9adfaa --- /dev/null +++ b/xorg-x11-resutils.spec @@ -0,0 +1,90 @@ +%define pkgname resutils + +Summary: X.Org X11 X resource utilities +Name: xorg-x11-%{pkgname} +Version: 0.99.1 +#Release: 1.RC2.0 +Release: 1 +License: MIT/X11 +Group: User Interface/X +URL: http://www.x.org + +Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/appres-0.99.1.tar.bz2 +Source1: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/editres-0.99.1.tar.bz2 +Source2: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/listres-0.99.1.tar.bz2 +Source3: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/viewres-0.99.1.tar.bz2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: pkgconfig +# xsetroot requires xbitmaps-devel +#BuildRequires: xbitmaps-devel +# xsetroot requires libX11-devel +#BuildRequires: libX11-devel +# xsetroot requires libXmu-devel +#BuildRequires: libXmu-devel +# xtrap requires libXTrap-devel +#BuildRequires: libXTrap-devel + +Provides: appres editres listres viewres + +%description +A collection of utilities for managing X resources. + +%prep +%setup -q -c %{name}-%{version} -a1 -a2 -a3 + +%build +# Build all apps +{ + for app in * ; do + pushd $app + %configure + make + popd + done +} + +%install +rm -rf $RPM_BUILD_ROOT +# Install all apps +{ + for app in * ; do + pushd $app + make install DESTDIR=$RPM_BUILD_ROOT + popd + done +} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc +%dir %{_bindir} +%{_bindir}/appres +%{_bindir}/editres +%{_bindir}/listres +%{_bindir}/viewres +# FIXME: These files should all be moved to /usr/share as they're arch +# independent data. +%dir %{_libdir} +%dir %{_libdir}/X11 +%dir %{_libdir}/X11/app-defaults +# FIXME: End of files from above that should be in /usr/share. +%{_libdir}/X11/app-defaults/Editres +%{_libdir}/X11/app-defaults/Editres-color +%{_libdir}/X11/app-defaults/Viewres +%dir %{_mandir} +%dir %{_mandir}/man1x +%{_mandir}/man1x/appres.1x* +%{_mandir}/man1x/editres.1x* +%{_mandir}/man1x/listres.1x* +%{_mandir}/man1x/viewres.1x* + +%changelog +* Fri Nov 11 2005 Mike A. Harris 0.99.1-1 +- Initial build, with all apps taken from X11R7 RC2 +- Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on + some packages.