mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
934ac494b9
To build a package one need to run autoconf and then create a tarball of the RHEL4 directory so that the content is like this: $ ls -1 ipa-client-0.99.0 aclocal.m4 AUTHORS autom4te.cache ChangeLog configure configure.ac COPYING INSTALL install-sh ipachangeconf.py ipa-client-setup ipa.conf Makefile.am Makefile.in missing NEWS README setup.py the spec file will then be able to build a package for RHEL4
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
AC_PREREQ(2.59)
|
|
AC_INIT([ipa-client],
|
|
[0.99.0],
|
|
[http://www.freeipa.org/])
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
AC_SUBST(VERSION)
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl - Check for Python
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
AC_MSG_NOTICE([Checking for Python])
|
|
have_python=no
|
|
AM_PATH_PYTHON([2.3])
|
|
|
|
if test "x$PYTHON" = "x" ; then
|
|
AC_MSG_ERROR([Python not found])
|
|
fi
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl - Set the data install directory since we don't use pkgdatadir
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
IPA_DATA_DIR="$datadir/ipa"
|
|
AC_SUBST(IPA_DATA_DIR)
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl Finish
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
# Files
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
])
|
|
|
|
AC_OUTPUT
|
|
|
|
echo "
|
|
IPA client $VERSION
|
|
========================
|
|
|
|
prefix: ${prefix}
|
|
exec_prefix: ${exec_prefix}
|
|
libdir: ${libdir}
|
|
bindir: ${bindir}
|
|
sbindir: ${sbindir}
|
|
sysconfdir: ${sysconfdir}
|
|
localstatedir: ${localstatedir}
|
|
datadir: ${datadir}
|
|
source code location: ${srcdir}
|
|
Maintainer mode: ${USE_MAINTAINER_MODE}
|
|
"
|