- Disabled for now, though.
AUTOMAKE_OPTIONS=gnu
ACLOCAL_AMFLAGS=-I macros
-SUBDIRS=macros src doc fonts po
+SUBDIRS=macros src doc fonts yum.repos.d po
## to automatically rebuild aclocal.m4 if any of the macros in
## `macros/' change
@MAINT@include macros/macros.dep
(set -x;CFLAGS="-O2" ./configure --enable-maintainer-mode --disable-shared --enable-static --enable-install-pkg \
--enable-standalone \
--enable-standalone-fonts=/usr/local/share/captive/fonts \
+ --disable-standalone-yum \
) 2>&1|tee errs1
+# --enable-standalone-yum=/etc/yum.repos.d
make clean
make 2>&1|tee errs2
set +x
--disable-standalone \
--disable-standalone-fonts \
%endif
+ --disable-standalone-yum \
--with-readline \
--disable-bug-replay \
--disable-lufs \
--disable-gtk-doc \
--with-orbit-line=link
+# --enable-standalone-yum=%{_sysconfdir}/yum.repos.d
+
make
%if %{static}
./build-static link
%attr(4755,root,root) %{_libexecdir}/@PACKAGE@-sandbox-server
%attr(644,root,root) %{_mandir}/man?/@PACKAGE@-sandbox-server.*
%config %{_sysconfdir}/gnome-vfs-2.0/modules/@PACKAGE@.conf
+# %config %{_sysconfdir}/yum.repos.d/*
%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
%{_var}/lib/@PACKAGE@
[ --enable-standalone=no/yes provide initialization for static-build (def.=no)],,enable_standalone=no)
AC_ARG_ENABLE(standalone-fonts,
[ --enable-standalone-fonts=DIR provide bundled Gnome fonts in directory (def.=no)],,enable_standalone_fonts=no)
+AC_ARG_ENABLE(standalone-yum,
+ [ --enable-standalone-yum=DIR provide bundled yum(8) packaging configuration directory (def.=no)],,enable_standalone_yum=no)
# AC_ARG_ENABLE(sbin-mountdir,[--enable-sbin-mountdir=DIR],,[enable_sbin_mountdir="/sbin"])
fi
AM_CONDITIONAL(HAVE_GNOME,[test "$have_gnome" = "true"])
+yum_repos_ddir=
+if test x$enable_standalone_yum != xno;then
+ yum_repos_ddir="$enable_standalone_yum"
+fi
+AC_SUBST(yum_repos_ddir)
+AM_CONDITIONAL(ENABLE_STANDALONE_YUM_REPOS_D,[test "$enable_standalone_yum" != "no"])
+
AC_SUBST(CFLAGS)
AC_SUBST(LIBS)
./doc/apiref/Makefile
./fonts/Makefile
./fonts/fonts.conf
+./yum.repos.d/Makefile
])
dnl FIXME: Why is "po/POTFILES" being substituted?
--- /dev/null
+# $Id$
+# automake source for Captive bundled yum.repos.d Makefile
+# Copyright (C) 2005 Jan Kratochvil <project-captive@jankratochvil.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+include $(top_srcdir)/Makefile-head.am
+
+if ENABLE_STANDALONE_YUM_REPOS_D
+yum_repos_d_cond=captive.repo
+endif
+
+yum_repos_d_DATA=$(yum_repos_d_cond)
+
+EXTRA_DIST+= \
+ captive.repo
+
--- /dev/null
+# $Id$
+# yum(1) repository configuration for: http://www.jankratochvil.net/project/captive/
+# Copyright (C) 2005 Jan Kratochvil <project-captive@jankratochvil.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+[captive]
+name=Captive NTFS
+baseurl=http://www.jankratochvil.net/project/captive/dist/
+enabled=1
+gpgcheck=0
+#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora