# # spec file for package imake # # Copyright (c) 2014 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: imake Version: 1.0.7 Release: 3.12 Summary: C preprocessor interface to the make utility License: MIT Group: Development/Tools/Building Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) # This was part of the xorg-x11-util-devel package up to version 7.6 Conflicts: xorg-x11-util-devel <= 7.6 # For Imake.tmpl, Just in case packagers don't know it's in this package. Requires: xorg-cf-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Imake is used to generate Makefiles from a template, a set of cpp macro functions, and a per-directory input file called an Imakefile. The X Window System used imake extensively up through the X11R6.9 release, for both full builds within the source tree and external software. X has since moved to GNU autoconf and automake for its build system in X11R7.0 and later releases, but still maintains imake for building existing external software programs that have not yet converted. %prep %setup -q %build %configure --with-config-dir=%{_datadir}/X11/config make %{?_smp_mflags} %install %make_install %files %defattr(-,root,root) %doc ChangeLog COPYING README %{_bindir}/ccmakedep %{_bindir}/cleanlinks %{_bindir}/imake %{_bindir}/makeg %{_bindir}/mergelib %{_bindir}/mkdirhier %{_bindir}/mkhtmlindex %{_bindir}/revpath %{_bindir}/xmkmf %{_mandir}/man1/ccmakedep.1%{?ext_man} %{_mandir}/man1/cleanlinks.1%{?ext_man} %{_mandir}/man1/imake.1%{?ext_man} %{_mandir}/man1/makeg.1%{?ext_man} %{_mandir}/man1/mergelib.1%{?ext_man} %{_mandir}/man1/mkdirhier.1%{?ext_man} %{_mandir}/man1/mkhtmlindex.1%{?ext_man} %{_mandir}/man1/revpath.1%{?ext_man} %{_mandir}/man1/xmkmf.1%{?ext_man} %changelog * Thu May 22 2014 tobias.johannes.klausmann@mni.thm.de - Update to version 1.0.7: This release fixes generation of the ccmakedep, mergelib and xmkmf scripts when using GNU cpp >= 4.8. * Wed Aug 14 2013 zaitor@opensuse.org - Update to version 1.0.6: + Avoid use of low-level troff markup that can't be lifted structurally. + config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS. + Let configure pick cpp path on Solaris, instead of hardcoding in imakemdep.h. + Ensure inFile is always closed on error in cppit(). + Avoid closing inFile twice in CheckImakefileC if LogFatal returns. * Sat Jun 30 2012 i@marguerite.su - add Requires: xorg-cf-files. * or every package needs imake will come with a "Imake.tmpl: no such file or directory" error. * Fri Apr 13 2012 vuntz@opensuse.org - Split imake from xorg-x11-util-devel. Initial version: 1.0.5.