Name: imake
Version: 1.0.7
Release: alt4
Summary: C preprocessor interface to the make utility
License: MIT/X11
Group: Development/C
Url: http://xorg.freedesktop.org
Source: %name-%version.tar.bz2
Patch0: %name-1.0.5-alt-tmpdir.patch
Patch1: 0001-1.0.7-alt1.patch
Patch2: %name-1.0.7-alt-lcc.patch
Patch3: %name-1.0.7-alt-lcc124.patch
# Automatically added by buildreq on Mon Mar 11 2013
# optimized out: pkg-config
BuildRequires: xorg-xproto-devel
BuildRequires: xorg-util-macros
%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. This
allows machine dependencies (such as compiler options, alternate com-
mand names, and special make rules) to be kept separate from the
descriptions of the various items to be built.
%prep
%setup
%patch -p1 -b .orig
%patch1 -p2 -b .redirect
%patch2 -p2
%ifarch %e2k
# needed for lcc 1.24+ but should be harmless for imake's cpp use (mcst#5170)
%patch3 -p2
%endif
%build
%autoreconf
%configure \
--with-config-dir=%_datadir/X11/config
%make_build
%install
%makeinstall_std
%files
%_bindir/*
%_man1dir/*
%changelog
* Mon Jul 20 2020 Michael Shigorin <mike@altlinux.org> 1.0.7-alt4
- E2K: add workaround for lcc 1.24 cpp (mcst#5170)
* Fri Feb 16 2018 Andrew Savchenko <bircoph@altlinux.org> 1.0.7-alt3
- e2k: add support for lcc preprocessor
* Wed Jun 04 2014 Fr. Br. George <george@altlinux.ru> 1.0.7-alt2
- Fix *.cpp (not c++!) build
* Tue Jun 03 2014 Fr. Br. George <george@altlinux.ru> 1.0.7-alt1
- Autobuild version bump to 1.0.7
* Thu Aug 22 2013 Fr. Br. George <george@altlinux.ru> 1.0.6-alt1
- Autobuild version bump to 1.0.6
* Mon Mar 11 2013 Fr. Br. George <george@altlinux.ru> 1.0.5-alt2
- Rebuild with new buildreq
* Mon Mar 26 2012 Fr. Br. George <george@altlinux.ru> 1.0.5-alt1
- Autobuild version bump to 1.0.5
- Fix build
* Tue May 03 2011 Fr. Br. George <george@altlinux.ru> 1.0.4-alt1
- Autobuild version bump to 1.0.4
* Tue May 03 2011 Fr. Br. George <george@altlinux.ru> 1.0.1-alt2.1
- Automatic buildreqfix
- Autobuild watchfile added
* Mon Jan 02 2006 Valery Inozemtsev <shrek@altlinux.ru> 1.0.1-alt2
- fixed config directory
* Thu Dec 29 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.0.1-alt1
- Xorg-7.0
* Mon Nov 21 2005 Valery Inozemtsev <shrek@altlinux.ru> 0.99.2-alt0.1
- initial release