keybinder3/keybinder3.spec

93 lines
2.4 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:35:05 +08:00
Name: keybinder3
Version: 0.3.2
Release: 11
2019-11-06 19:35:05 +08:00
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
2020-06-24 20:46:29 +08:00
Patch6000: backport-Fix-gtk-doc-1.31+-build-failure.patch
BuildRequires: pkgconfig(gtk+-3.0) gtk-doc gobject-introspection-devel libxslt
2019-11-06 19:35:05 +08:00
%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}
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
2020-06-24 20:46:29 +08:00
%autosetup -n keybinder-3.0-%{version} -p1
2019-11-06 19:35:05 +08:00
%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
* Thu Aug 01 2024 zhangpan <zhangpan103@h-partners.com> - 0.3.2-11
- Drop unused gnome-common build dependency
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.3.2-10
- Rebuild for next release
2022-06-08 07:03:12 +00:00
* Wed Jun 24 2020 fuyangqing<fuyangqing@huawei.com> - 0.3.2-9
2020-06-24 20:46:29 +08:00
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix gtk-doc 1.31+ build failure
2020-02-28 15:47:47 +08:00
* Fri Feb 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-8
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:delete devhelp requires
2019-12-13 15:32:09 +08:00
* Fri Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-7
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add the libxslt in buildrequires
2019-11-06 19:35:05 +08:00
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-6
- Package init