From 2be136eada9a900e862927b9c6d07dcbb57c9b73 Mon Sep 17 00:00:00 2001 From: mharris Date: Fri, 11 Nov 2005 02:19:10 +0000 Subject: [PATCH] auto-import imake-0.99.1-1 on branch devel from imake-0.99.1-1.src.rpm --- .cvsignore | 4 ++ imake.spec | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 4 ++ 3 files changed, 126 insertions(+) create mode 100644 imake.spec diff --git a/.cvsignore b/.cvsignore index e69de29..61db581 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,4 @@ +imake-0.99.1.tar.bz2 +makedepend-0.99.1.tar.bz2 +xmkmf-0.99.1.tar.bz2 +xorg-cf-files-0.99.1.tar.bz2 diff --git a/imake.spec b/imake.spec new file mode 100644 index 0000000..b3c3dc1 --- /dev/null +++ b/imake.spec @@ -0,0 +1,118 @@ +Summary: imake source code configuration and build system +Name: imake +Version: 0.99.1 +Release: 1 +License: MIT/X11 +Group: User Interface/X +URL: http://www.x.org +%define xorgurl http://xorg.freedesktop.org/releases/X11R7.0-RC1/everything +Source0: %{xorgurl}/imake-%{version}.tar.bz2 +Source1: %{xorgurl}/xmkmf-%{version}.tar.bz2 +Source2: %{xorgurl}/xorg-cf-files-%{version}.tar.bz2 +Source3: %{xorgurl}/makedepend-%{version}.tar.bz2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# libxkbfile-devel needed for setxkbmap, xkbcomp, xkbevd, xkbprint +#BuildRequires: libxkbfile-devel +# libX11-devel needed for setxkbmap, xkbcomp, xkbevd, xkbprint +#BuildRequires: libX11-devel +# libXaw-devel needed for xkbutils +#BuildRequires: libXaw-devel +# libXt-devel needed for xkbutils +#BuildRequires: libXt-devel +# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it: +# gcc -O2 -g -march=i386 -mcpu=i686 -o xkbvleds xkbvleds-xkbvleds.o +# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl +# /usr/bin/ld: cannot find -lXext +# libXext-devel needed for xkbutils (from above error) +#BuildRequires: libXext-devel +# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it: +# gcc -O2 -g -march=i386 -mcpu=i686 -o xkbvleds xkbvleds-xkbvleds.o +# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl +# /usr/bin/ld: cannot find -lXpm +# libXpm-devel needed for xkbutils (from above error) +#BuildRequires: libXpm-devel + +#Provides: %{pkgname} +#Provides: setxkbmap, xkbcomp, xkbevd, xkbprint, xkbutils +# NOTE: The XFree86, and xorg-x11 packages used to contain the xkb utilities +# in the previous monolithic based releases. This Conflicts line ensures +# that upgrades are handled properly. +#Conflicts: XFree86, xorg-x11 +Provides: imake, xmkmf, makedepend + +%description +Imake is a deprecated source code configuration and build system which +has traditionally been supplied by and used to build the X Window System +in X11R6 and previous releases. As of the X Window System X11R7 release, +the X Window system has switched to using GNU autotools as the primary +build system, and the Imake system is now deprecated, and should not be +used by new software projects. Software developers are encouraged to +migrate software to the GNU autotools system. + +%prep +%setup -q -c %{name}-%{version} -a1 -a2 -a3 + +%build +# Build everything +{ + for pkg in imake xmkmf xorg-cf-files makedepend ; do + pushd $pkg-%{version} + %configure + make + popd + done +} + +%install +rm -rf $RPM_BUILD_ROOT + +# Install everything +{ + for pkg in imake xmkmf makedepend ; do + pushd $pkg-%{version} + %makeinstall + popd + done + pushd xorg-cf-files-%{version} + make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_datadir} + popd + +} +# FIXME: Move/rename manpages to correct location +{ + ls -al $RPM_BUILD_ROOT%{_mandir}/man1 + mv $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_mandir}/man1x +# ls -al $RPM_BUILD_ROOT%{_mandir}/man1 + ls -al $RPM_BUILD_ROOT%{_mandir}/man1x + for each in $RPM_BUILD_ROOT%{_mandir}/man1x/* ; do + mv $each ${each}x + done +} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc +%dir %{_bindir} +%{_bindir}/imake +%{_bindir}/makedepend +%{_bindir}/xmkmf +%dir %{_datadir}/X11 +%dir %{_datadir}/X11/config +%{_datadir}/X11/config/*.cf +%{_datadir}/X11/config/*.def +%{_datadir}/X11/config/*.rules +%{_datadir}/X11/config/*.tmpl +%dir %{_mandir} +%dir %{_mandir}/man1x +%{_mandir}/man1x/imake.1x* +%{_mandir}/man1x/xmkmf.1x* +%{_mandir}/man1x/makedepend.1x* + +%changelog +* Thu Nov 10 2005 Mike A. Harris 0.99.1-1 +- Initial build. diff --git a/sources b/sources index e69de29..a366068 100644 --- a/sources +++ b/sources @@ -0,0 +1,4 @@ +22d858e001283a82817db7629c29bbdb imake-0.99.1.tar.bz2 +59911ed2785b635ea7938508d12732fe makedepend-0.99.1.tar.bz2 +a73c996b16a35aa04ad285e652d60f2a xmkmf-0.99.1.tar.bz2 +1bdd3af74a693fb9c8b6c1927c978fee xorg-cf-files-0.99.1.tar.bz2