diff --git a/.cvsignore b/.cvsignore index 2026da3..748e31a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pixman-20070824.tar.bz2 +pixman-20070827.tar.bz2 diff --git a/make-pixman-snapshot.sh b/make-pixman-snapshot.sh new file mode 100755 index 0000000..0cd65a3 --- /dev/null +++ b/make-pixman-snapshot.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +DIRNAME=pixman-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/pixman $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +rm -rf .git +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME diff --git a/pixman.spec b/pixman.spec index 3161a1e..ffe910a 100644 --- a/pixman.spec +++ b/pixman.spec @@ -1,14 +1,18 @@ -%define gitdate 20070824 +%define gitdate 20070827 +%define gitrev 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d Name: pixman Version: 0.9.0 -Release: 4.%{gitdate}%{?dist} +Release: 7.%{gitdate}%{?dist} Summary: Pixel manipulation library Group: System Environment/Libraries License: MIT URL: http://gitweb.freedesktop.org/?p=pixman.git;a=summary +# Git snapshot. To recreate: +# ./make-pixman-snapshot.sh %{gitrev} Source0: pixman-%{gitdate}.tar.bz2 +Source1: make-pixman-snapshot.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: automake autoconf libtool pkgconfig @@ -26,7 +30,7 @@ Requires: pkgconfig Development library for pixman. %prep -%setup -q -n %{name} +%setup -q -n %{name}-%{gitdate} %build ./autogen.sh @@ -57,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/pixman-1.pc %changelog +* Mon Aug 27 2007 Adam Jackson 0.9.0-7.20070827 +- New snapshot + * Fri Aug 24 2007 Adam Jackson 0.9.0-4.20070824 - New snapshot diff --git a/sources b/sources index 53bae4c..6f562b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fed0974db6cc7f35946fe6979fc0fa9e pixman-20070824.tar.bz2 +9800e9d33a255efcd982e2acc57c2ddd pixman-20070827.tar.bz2