diff --git a/.gitignore b/.gitignore index e69de29..54eb62e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,8 @@ +pixman-0.18.2.tar.bz2 +/pixman-0.19.2.tar.bz2 +/pixman-0.19.4.tar.gz +/pixman-0.20.2.tar.gz +/pixman-0.22.0.tar.gz +/pixman-0.22.2.tar.gz +/pixman-0.24.2.tar.gz +/pixman-0.24.4.tar.gz 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/mingw32-pixman.spec b/mingw32-pixman.spec new file mode 100644 index 0000000..2427cb1 --- /dev/null +++ b/mingw32-pixman.spec @@ -0,0 +1,161 @@ +%global __strip %{_mingw32_strip} +%global __objdump %{_mingw32_objdump} +%define __debug_install_post %{_mingw32_debug_install_post} + +Name: mingw32-pixman +Version: 0.24.4 +Release: 1%{?dist} +Summary: MinGW Windows Pixman library + +License: MIT +URL: http://cgit.freedesktop.org/pixman/ +Group: Development/Libraries + +Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz +Source1: make-pixman-snapshot.sh + +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 68 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-binutils +BuildRequires: mingw32-dlfcn + +%description +MinGW Windows Pixman library. + + +%package static +Summary: Static version of the MinGW Windows Pixman library +Requires: %{name} = %{version}-%{release} +Group: Development/Libraries + +%description static +Static version of the MinGW Windows Pixman library. + + +%{?_mingw32_debug_package} + + +%prep +%setup -q -n pixman-%{version} + + +%build +# Uses GTK for its testsuite, so disable this otherwise +# we have a chicken & egg problem on mingw +%{_mingw32_configure} --disable-gtk --enable-static --enable-shared +make %{?_smp_mflags} V=1 + + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.la + + +%files +%doc COPYING +%{_mingw32_bindir}/libpixman-1-0.dll +%{_mingw32_includedir}/pixman-1 +%{_mingw32_libdir}/libpixman-1.dll.a +%{_mingw32_libdir}/pkgconfig/pixman-1.pc + + +%files static +%{_mingw32_libdir}/libpixman-1.a + + +%changelog +* Tue Feb 28 2012 Kalev Lember - 0.24.4-1 +- Update to 0.24.4 +- Remove .la files + +* Mon Feb 27 2012 Erik van Pienbroek - 0.24.2-2 +- Rebuild against the mingw-w64 toolchain + +* Wed Feb 01 2012 Kalev Lember - 0.24.2-1 +- Update to 0.24.2 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.22.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Jul 16 2011 Kalev Lember - 0.22.2-1 +- Update to 0.22.2 +- Use automatic mingw dep extraction +- Cleaned up the spec file for modern rpmbuild + +* Sun May 08 2011 Kalev Lember - 0.22.0-1 +- Update to 0.22.0 + +* Mon Apr 25 2011 Kalev Lember - 0.20.2-1 +- Update to 0.20.2 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.19.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Sep 24 2010 Erik van Pienbroek - 0.19.4-1 +- Update to 0.19.4 +- Fixed Source URL +- Fixed a small rpmlint warning + +* Tue Sep 7 2010 Erik van Pienbroek - 0.19.2-1 +- Update to 0.19.2 + +* Mon Jul 12 2010 Erik van Pienbroek - 0.18.2-1 +- Update to 0.18.2 (RHBZ #613665) + +* Tue Sep 29 2009 Erik van Pienbroek - 0.16.2-1 +- Update to 0.16.2 + +* Fri Sep 18 2009 Erik van Pienbroek - 0.16.0-2 +- Rebuild because of broken mingw32-gcc/mingw32-binutils + +* Sat Aug 29 2009 Erik van Pienbroek - 0.16.0-1 +- Update to 0.16.0 + +* Thu Aug 13 2009 Erik van Pienbroek - 0.15.20-1 +- Update to version 0.15.20 +- Updated SOURCE0 and URL +- Automatically generate debuginfo subpackage +- Don't build the 'blitters-test' testcase as it requires the memalign function + which we don't have on MinGW + +* Sat Jul 25 2009 Fedora Release Engineering - 0.15.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Erik van Pienbroek - 0.15.10-1 +- Update to 0.15.10 +- Use %%global instead of %%define +- Dropped pixman-0.13.2-license.patch as freedesktop bug #19582 is resolved + +* Fri Apr 3 2009 Erik van Pienbroek - 0.13.2-5 +- Fixed %%defattr line +- Added -static subpackage + +* Wed Feb 25 2009 Fedora Release Engineering - 0.13.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Richard W.M. Jones - 0.13.2-3 +- Rebuild for mingw32-gcc 4.4 + +* Thu Jan 15 2009 Richard W.M. Jones - 0.13.2-2 +- Include LICENSE file (freedesktop bug 19582). + +* Tue Jan 13 2009 Richard W.M. Jones - 0.13.2-1 +- Resynch with Fedora package (0.13.2). +- Disable static library for speed. +- Use _smp_mflags. +- Requires pkgconfig. +- Depends on dlfcn. + +* Wed Sep 24 2008 Richard W.M. Jones - 0.12.0-2 +- Rename mingw -> mingw32. + +* Mon Sep 22 2008 Daniel P. Berrange - 0.12.0-1 +- Update to 0.12.0 release + +* Wed Sep 10 2008 Richard W.M. Jones - 0.11.10-2 +- Remove static library. + +* Tue Sep 9 2008 Daniel P. Berrange - 0.11.10-1 +- Initial RPM release diff --git a/sources b/sources index e69de29..15e4af0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fee074965c310c46d9c0ab3e5fd656bf pixman-0.24.4.tar.gz