From 3763d949176ccdd3a7d7ebf3f70db22ee814e3c5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 05:34:49 -0400 Subject: [PATCH] import keybinder3-0.3.2-13.el9 --- .gitignore | 1 + .keybinder3.metadata | 1 + SOURCES/fix_gtkdoc.patch | 37 ++++++++++++ SPECS/keybinder3.spec | 127 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+) create mode 100644 .gitignore create mode 100644 .keybinder3.metadata create mode 100644 SOURCES/fix_gtkdoc.patch create mode 100644 SPECS/keybinder3.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a38e1e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/keybinder-3.0-0.3.2.tar.gz diff --git a/.keybinder3.metadata b/.keybinder3.metadata new file mode 100644 index 0000000..6cb0cf9 --- /dev/null +++ b/.keybinder3.metadata @@ -0,0 +1 @@ +d23c12440b54cb0f40e7e876c22001dc7b5714b0 SOURCES/keybinder-3.0-0.3.2.tar.gz diff --git a/SOURCES/fix_gtkdoc.patch b/SOURCES/fix_gtkdoc.patch new file mode 100644 index 0000000..5f8c9a1 --- /dev/null +++ b/SOURCES/fix_gtkdoc.patch @@ -0,0 +1,37 @@ +From 26a9a16d1ed3a1cb41cb01f11e654fe8af2b2c28 Mon Sep 17 00:00:00 2001 +From: max ulidtko +Date: Thu, 19 Sep 2019 11:31:50 +0300 +Subject: [PATCH] Fix gtk-doc 1.31+ build failure + +Since this library doesn't define any gobjects, the generated +xml/object_index.sgml is always empty, and xml/tree_index.sgml is altogether +absent with gtk-doc 1.31+. + +Fix a possible doc build error by not including the tree_index.sgml. + +See GitHub issue kupferlauncher/keybinder#16. +--- + docs/keybinder-docs.sgml | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/docs/keybinder-docs.sgml b/docs/keybinder-docs.sgml +index 8e2ba0c..1b2b266 100644 +--- a/docs/keybinder-docs.sgml ++++ b/docs/keybinder-docs.sgml +@@ -21,14 +21,12 @@ + + + +- +- Object Hierarchy +- +- ++ + + API Index + + ++ + + Index of deprecated API + diff --git a/SPECS/keybinder3.spec b/SPECS/keybinder3.spec new file mode 100644 index 0000000..42059e0 --- /dev/null +++ b/SPECS/keybinder3.spec @@ -0,0 +1,127 @@ +Name: keybinder3 +Version: 0.3.2 +Release: 13%{?dist} +Summary: A library for registering global keyboard shortcuts +License: MIT +URL: https://github.com/kupferlauncher/keybinder +Source0: %{url}/releases/download/keybinder-3.0-v%{version}/keybinder-3.0-%{version}.tar.gz +Patch0: %{url}/pull/18.patch#/fix_gtkdoc.patch + +BuildRequires: pkgconfig(gtk+-3.0), gnome-common, gtk-doc, gobject-introspection-devel +BuildRequires: make + +%description +Keybinder is a library for registering global keyboard shortcuts. +Keybinder works with GTK-based applications using the X Window System. + +The library contains: +- A C library, libkeybinder +- Gobject-Introspection bindings + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +This package contains the development files for %{name}. + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: devhelp +%description doc +This package contains documentation for %{name}. + +%prep +%autosetup -p1 -n keybinder-3.0-%{version} + +%build +%configure --enable-gtk-doc +%make_build + +%install +%make_install + +rm -rf %{buildroot}/%{_libdir}/libkeybinder-3.0.la + +%ldconfig_scriptlets + +%files +%license COPYING +%doc NEWS AUTHORS README +%{_libdir}/libkeybinder-3.0.so.* +%{_libdir}/girepository-1.0/Keybinder-3.0.typelib + +%files devel +%dir %{_includedir}/keybinder-3.0/ +%{_includedir}/keybinder-3.0/keybinder.h +%{_libdir}/pkgconfig/keybinder-3.0.pc +%{_libdir}/libkeybinder-3.0.so +%{_datadir}/gir-1.0/Keybinder-3.0.gir + +%files doc +%dir %{_datadir}/gtk-doc/html/keybinder-3.0/ +%{_datadir}/gtk-doc/html/keybinder-3.0/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.3.2-13 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.3.2-12 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.3.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Apr 14 2020 Leigh Scott - 0.3.2-9 +- Fix FTBFS + +* Wed Jan 29 2020 Fedora Release Engineering - 0.3.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.3.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.3.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.3.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Feb 28 2017 Patrick Griffis - 0.3.2-0 +- Bump version and cleanup + +* Fri Feb 10 2017 Fedora Release Engineering - 0.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Aug 16 2014 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.3.0-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Sun Jun 08 2014 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Aug 1 2013 TingPing - 0.3.0-1 +- Initial Package +