+Auto-BuildRequires is a simple set of scripts for automatically
+suggesting BuildRequires lines for programs.
+
+Written by Richard W.M. Jones, rjones@redhat.com,
+http://et.redhat.com/~rjones/
+http://et.redhat.com/~rjones/auto-buildrequires/
+
+Usage:
+
+ auto-br-rpmbuild -ba foo.spec
+
+If your build command is more complex, try:
+
+ auto-br [command ...]
+
+
+Developers
+----------------------------------------------------------------------
+
+The basic "magic" is a C LD_PRELOAD module, auto-buildrequires-preload.c,
+which intercepts some system calls to determine which files the build
+is looking at. Those get logged to a simple text file.
+
+The Perl analysis script, auto-br-analyze.pl.in, runs afterwards on
+the logfile, and uses rpm to find out which packages those files
+belong to. Those are printed out as the list of BuildRequires.
+
+A shell script, auto-br.sh.in, holds the whole thing together.
Summary: Work out BuildRequires for rpmbuild automatically
Name: auto-buildrequires
Version: @VERSION@
-Release: 2
+Release: 1
License: GPLv2+
Group: Development/Tools
URL: http://et.redhat.com/~rjones/auto-buildrequires/
%changelog
+* Fri Mar 6 2009 Richard Jones <rjones@redhat.com> - 0.9-1
+- Imported to git and rebuilt.
+
* Thu Nov 6 2008 Richard Jones <rjones@redhat.com> - 0.1-2
- Initial build.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-AC_INIT(auto-buildrequires,0.1)
+AC_INIT(auto-buildrequires,0.9)
AM_INIT_AUTOMAKE
AC_PROG_INSTALL
AM_PROG_CC_C_O
AC_CHECK_PROG([RPM],[rpm],[rpm])
-AC_CHECK_PROG([RPMBUILD],[rpmbuild],[rpm])
+AC_CHECK_PROG([RPMBUILD],[rpmbuild],[rpmbuild])
# XXX Should check for String::ShellQuote and File::Temp modules.
AC_PATH_PROG([PERL],[perl],[/usr/bin/perl])