From 8856dc1c0aeaa4db7ee877af2839454e1889f0dd Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Include LICENSE file (freedesktop bug 19582). --- pixman/mingw32-pixman.spec | 9 ++++++++- pixman/pixman-0.13.2-license.patch | 27 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 pixman/pixman-0.13.2-license.patch diff --git a/pixman/mingw32-pixman.spec b/pixman/mingw32-pixman.spec index 0dad5d1..d8d373d 100644 --- a/pixman/mingw32-pixman.spec +++ b/pixman/mingw32-pixman.spec @@ -6,7 +6,7 @@ Name: mingw32-pixman Version: 0.13.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows Pixman library License: MIT @@ -16,6 +16,8 @@ Group: Development/Libraries 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 @@ -32,6 +34,7 @@ MinGW Windows Pixman library. %prep %setup -q -n pixman-%{version} +%patch0 -p1 %build @@ -53,6 +56,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) +%doc LICENSE %{_mingw32_bindir}/libpixman-1-0.dll %{_mingw32_includedir}/pixman-1 %{_mingw32_libdir}/libpixman-1.dll.a @@ -61,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* 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. diff --git a/pixman/pixman-0.13.2-license.patch b/pixman/pixman-0.13.2-license.patch new file mode 100644 index 0000000..c717677 --- /dev/null +++ b/pixman/pixman-0.13.2-license.patch @@ -0,0 +1,27 @@ +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. ++ -- 1.8.3.1