update code

This commit is contained in:
zhuchunyi 2019-11-06 19:35:05 +08:00
commit 5dbd655d5d
2 changed files with 67 additions and 0 deletions

BIN
keybinder-3.0-0.3.2.tar.gz Normal file

Binary file not shown.

67
keybinder3.spec Normal file
View File

@ -0,0 +1,67 @@
Name: keybinder3
Version: 0.3.2
Release: 6
Summary: a library used for registering global keyboard shortcuts
License: MIT
URL: https://github.com/kupferlauncher/keybinder
Source0: https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v%{version}/keybinder-3.0-%{version}.tar.gz
BuildRequires: pkgconfig(gtk+-3.0), gnome-common, gtk-doc, gobject-introspection-devel
%description
Keybinder is a library for registering global keyboard shortcuts to be used by GTK-based
applications under the X Window System.When a combination of key is pressed, keybinder
notifies it to the registering application, which can execute one or more operations based
on the event previously registered.
%package devel
Summary: Provide development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: devhelp
Obsoletes: keybinder3-doc
Provides: keybinder3-doc
%description devel
This package provides development files for %{name}.
%package_help
%description help
Man pages and other related documents for %{name}.
%prep
%setup -qn 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
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
%{_libdir}/libkeybinder-3.0.so.*
%{_libdir}/girepository-1.0/Keybinder-3.0.*
%files devel
%defattr(-,root,root)
%{_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
%{_datadir}/gtk-doc/html/keybinder-3.0/*
%files help
%defattr(-,root,root)
%doc NEWS README ChangeLog
%changelog
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-6
- Package init