diff --git a/backport-0002-Add-COPYING-file.patch b/backport-0002-Add-COPYING-file.patch new file mode 100644 index 0000000..1b2d9c7 --- /dev/null +++ b/backport-0002-Add-COPYING-file.patch @@ -0,0 +1,50 @@ +From 439be15cde3c7b5ba07b175dcf7b724d155d30aa Mon Sep 17 00:00:00 2001 +From: Alan Coopersmith +Date: Wed, 3 Aug 2022 13:15:40 -0700 +Subject: [PATCH 10/11] Add COPYING file + +Fixes: #2 + +Signed-off-by: Alan Coopersmith +--- + COPYING | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + create mode 100644 COPYING + +diff --git a/COPYING b/COPYING +new file mode 100644 +index 0000000..2e78eed +--- /dev/null ++++ b/COPYING +@@ -0,0 +1,28 @@ ++Copyright © 2008 Ian Osgood ++Copyright © 2008 Jamey Sharp ++Copyright © 2008 Josh Triplett ++Copyright © 2008 Ulrich Eckhardt ++ ++Permission is hereby granted, free of charge, to any person ++obtaining a copy of this software and associated documentation ++files (the "Software"), to deal in the Software without ++restriction, including without limitation the rights to use, copy, ++modify, merge, publish, distribute, sublicense, and/or sell copies ++of the Software, and to permit persons to whom the Software is ++furnished to do so, subject to the following conditions: ++ ++The above copyright notice and this permission notice shall be ++included in all copies or substantial portions of the Software. ++ ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY ++CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF ++CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++ ++Except as contained in this notice, the names of the authors or ++their institutions shall not be used in advertising or otherwise to ++promote the sale, use or other dealings in this Software without ++prior written authorization from the authors. +-- +2.39.0.windows.2 + diff --git a/xcb-util-keysyms.spec b/xcb-util-keysyms.spec index 4ef60ab..3812ee1 100644 --- a/xcb-util-keysyms.spec +++ b/xcb-util-keysyms.spec @@ -1,6 +1,6 @@ Name: xcb-util-keysyms Version: 0.4.0 -Release: 11 +Release: 12 Summary: Standard X key constants and conversion to/from keycodes License: MIT URL: http://xcb.freedesktop.org @@ -8,6 +8,9 @@ Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4 Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch +Patch0002: backport-0002-Add-COPYING-file.patch + + %description Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes. @@ -49,6 +52,9 @@ make check %{_includedir}/xcb/*.h %changelog +* Sat Jan 7 2023 yangbo - 0.4.0-12 +- Add COPYING file + * Sat Jan 7 2023 yangbo - 0.4.0-11 - Build xz tarballs instead of bzip2