Name: mingw-fontconfig
Version: 2.6.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Fontconfig library
License: MIT
BuildRequires: mingw-binutils
BuildRequires: mingw-freetype
BuildRequires: mingw-libxml2
+BuildRequires: pkgconfig
%description
MinGW Windows Fontconfig library.
%setup -q -n fontconfig-%{version}
%build
+PATH="%{_mingw_bindir}:$PATH" \
%{_mingw_configure} --with-arch=i686
make
%{_mingw_datadir}/doc/fontconfig
%changelog
+* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-3
+- Add mingw_bindir to $PATH for freetype-config script
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-2
- Remove static library.
- +BR mingw-libxml2.
Name: mingw-gnutls
Version: 2.4.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: MinGW Windows GnuTLS TLS/SSL encryption library
License: LGPLv2+
BuildRequires: mingw-iconv
BuildRequires: mingw-gettext
BuildRequires: mingw-zlib
-
+BuildRequires: autoconf automake libtool
%description
MinGW Windows GnuTLS TLS/SSL encryption library.
%build
autoreconf
+PATH="%{_mingw_bindir}:$PATH" \
%{_mingw_configure} --with-included-libtasn1 --disable-cxx
make
%changelog
+* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-7
+- Add BR on autoconf, automake and libtool
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-6
- Need to run autoreconf after patching src/Makefile.am.
- Remove static libs.
Name: mingw-jasper
Version: 1.900.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Jasper library
License: JasPer
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libjpeg
+BuildRequires: autoconf automake libtool
%description
MinGW Windows Jasper library.
%build
+autoreconf
%{_mingw_configure} --disable-opengl --enable-libjpeg
make
%{_mingw_mandir}/man1/i686-pc-mingw32-jiv.1*
%changelog
+* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.900.1-3
+- Run autoreconf after changing configure.ac script and add BRs for autotools
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.900.1-2
- Enable DLLs.
- Remove static libraries.
Name: mingw-libgcrypt
Version: 1.4.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: MinGW Windows gcrypt encryption library
License: LGPLv2+
%build
+PATH="%{_mingw_bindir}:$PATH" \
%{_mingw_configure}
make
%{_mingw_datadir}/info/gcrypt.info
%changelog
+* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.4.1-5
+- Set PATH so it finds gpg-error-config
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-4
- Remove static library.
--- /dev/null
+ SMOCK - Simpler Mock
+ ====================
+
+Smock is a thin wrapper around mock to let you build up a whole
+set of dependant RPMs against an external distro.
+
+ - Copy smock.httpd.conf to /etc/httpd/conf.d/smock.conf, changing the
+ /home/[USERNAME]/ to your user
+ - Start httpd
+ - Add smock.mock.conf to all your repos in /etc/mock/ changing the
+ arch and distro name to match
+ - Create $HOME/smock
+
+ - Edit smock.sh to set which arch(es) you want to build on
+
+Now you can run
+
+ ./smock.sh fedora-9 /path/to/srpm
+
+And it'll build the RPM against the fedora-9-XXX distro for each 'XXX'
+arch you listed.
+
+The resulting src RPMs, binary RPMs and build logs wil be put into
+$HOME/smock, and a YUM repo created. Further RPMs you build using
+smock will resolve the BuildRequires against this local repo
--- /dev/null
+
+
+Alias /smock /home/USERNAME/smock
+
+<Directory /home/USERNAME/smock>
+ Allow from all
+ Options +Indexes
+</Directory>
--- /dev/null
+[smock]
+name=smock
+baseurl=http://127.0.0.1/smock/yum/fedora-9/i386
+enabled=1
+
--- /dev/null
+#!/bin/sh
+
+
+LOCALREPO=$HOME/smock/yum
+#ARCHES="i386 x86_64"
+ARCHES=i386
+
+help() {
+ echo "syntax: $0 DIST SRPM"
+}
+
+if [ -z "$1" ]; then
+ help
+ exit
+fi
+
+
+if [ -z "$2" ]; then
+ help
+ exit
+fi
+
+DIST=$1
+SRPM=$2
+
+createrepos() {
+
+ (
+ mkdir -p $LOCALREPO/$DIST/src/SRPMS
+ cd $LOCALREPO/$DIST/src
+ rm -rf repodata
+ createrepo .
+ )
+
+ for ARCH in $ARCHES
+ do
+ (
+ mkdir -p $LOCALREPO/$DIST/$ARCH/RPMS
+ mkdir -p $LOCALREPO/$DIST/$ARCH/logs
+ cd $LOCALREPO/$DIST/$ARCH
+ rm -rf repodata
+ createrepo --exclude "logs/*rpm" .
+ )
+ done
+}
+
+createrepos
+
+mkdir -p $LOCALREPO/scratch
+rm -f $LOCALREPO/scratch/*
+
+for ARCH in $ARCHES
+do
+ mkdir -p $LOCALREPO/$DIST/$ARCH/logs/$SRPM
+
+ mock -r $DIST-$ARCH --resultdir $LOCALREPO/scratch $SRPM
+
+ if [ $? != 0 ]; then
+ echo "Build failed, leaving logs in $LOCALREPO/scratch"
+ exit $?
+ fi
+ mv $LOCALREPO/scratch/*.src.rpm $LOCALREPO/$DIST/src/SRPMS
+ mv $LOCALREPO/scratch/*.rpm $LOCALREPO/$DIST/$ARCH/RPMS
+ mv $LOCALREPO/scratch/*.log $LOCALREPO/$DIST/$ARCH/logs/$SRPM/
+done
+
+createrepos
+