RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/keybinder3#decf8ec23874452c20ac9d2a716789dce9312181
This commit is contained in:
Petr Šabata 2020-10-15 14:46:50 +02:00
parent 88cd3418a5
commit a7345f502e
4 changed files with 156 additions and 0 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/keybinder-3.0-v0.3.0.tar.gz
/keybinder-3.0-0.3.2.tar.gz

37
fix_gtkdoc.patch Normal file
View File

@ -0,0 +1,37 @@
From 26a9a16d1ed3a1cb41cb01f11e654fe8af2b2c28 Mon Sep 17 00:00:00 2001
From: max ulidtko <ulidtko@gmail.com>
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 @@
<xi:include href="xml/keybinder.xml"/>
</chapter>
- <chapter id="object-tree">
- <title>Object Hierarchy</title>
- <xi:include href="xml/tree_index.sgml"/>
- </chapter>
+
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
+
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>

116
keybinder3.spec Normal file
View File

@ -0,0 +1,116 @@
Name: keybinder3
Version: 0.3.2
Release: 10%{?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
%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
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Apr 14 2020 Leigh Scott <leigh123linux@gmail.com> - 0.3.2-9
- Fix FTBFS
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Feb 28 2017 Patrick Griffis <tingping@tingping.se> - 0.3.2-0
- Bump version and cleanup
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.3.0-3
- Rebuilt for gobject-introspection 1.41.4
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Aug 1 2013 TingPing <tingping@tingping.se> - 0.3.0-1
- Initial Package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (keybinder-3.0-0.3.2.tar.gz) = 14171875e03ade88165f28c7267b66cf9efe34259d7a3072a786ba49dacf8f8d6d84753b1aeedec5dfb0a24028be86bceeebee2f6b1bf5ef2eb79ee45f909b11