Name: mingw32-pixman
Version: 0.13.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows Pixman library
License: MIT
Source0: http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.gz
Source1: make-pixman-snapshot.sh
+Patch0: pixman-0.13.2-license.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%prep
%setup -q -n pixman-%{version}
+%patch0 -p1
%build
%files
%defattr(-,root,root)
+%doc LICENSE
%{_mingw32_bindir}/libpixman-1-0.dll
%{_mingw32_includedir}/pixman-1
%{_mingw32_libdir}/libpixman-1.dll.a
%changelog
+* Thu Jan 15 2009 Richard W.M. Jones <rjones@redhat.com> - 0.13.2-2
+- Include LICENSE file (freedesktop bug 19582).
+
* Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 0.13.2-1
- Resynch with Fedora package (0.13.2).
- Disable static library for speed.
--- /dev/null
+diff -urN pixman-0.13.2.orig/LICENSE pixman-0.13.2/LICENSE
+--- pixman-0.13.2.orig/LICENSE 1970-01-01 01:00:00.000000000 +0100
++++ pixman-0.13.2/LICENSE 2009-01-15 13:14:47.000000000 +0000
+@@ -0,0 +1,23 @@
++ Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
++ 2005 Lars Knoll & Zack Rusin, Trolltech
++ 2008 Aaron Plattner, NVIDIA Corporation
++
++ Permission to use, copy, modify, distribute, and sell this software and its
++ documentation for any purpose is hereby granted without fee, provided that
++ the above copyright notice appear in all copies and that both that
++ copyright notice and this permission notice appear in supporting
++ documentation, and that the name of Keith Packard not be used in
++ advertising or publicity pertaining to distribution of the software without
++ specific, written prior permission. Keith Packard makes no
++ representations about the suitability of this software for any purpose. It
++ is provided "as is" without express or implied warranty.
++
++ THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
++ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
++ FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
++ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
++ AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
++ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
++ SOFTWARE.
++