79 lines
2.0 KiB
RPMSpec
79 lines
2.0 KiB
RPMSpec
Name: keybinder3
|
|
Version: 0.3.2
|
|
Release: 8
|
|
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 libxslt
|
|
|
|
%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
|
|
%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 Feb 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-8
|
|
- Type:enhancement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:delete devhelp requires
|
|
|
|
* 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
|
|
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-6
|
|
- Package init
|