yet another daily snapshot
This commit is contained in:
parent
532d47aa2e
commit
ffa9dfbdda
@ -1 +1 @@
|
||||
pixman-20070824.tar.bz2
|
||||
pixman-20070827.tar.bz2
|
||||
|
16
make-pixman-snapshot.sh
Executable file
16
make-pixman-snapshot.sh
Executable file
@ -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
|
13
pixman.spec
13
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 <ajax@redhat.com> 0.9.0-7.20070827
|
||||
- New snapshot
|
||||
|
||||
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-4.20070824
|
||||
- New snapshot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user