forked from pool/keybinder
Accepting request 811523 from X11:lxde
OBS-URL: https://build.opensuse.org/request/show/811523 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keybinder?expand=0&rev=2
This commit is contained in:
commit
0d2e9bca67
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 4 11:04:49 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove old specfile constructs.
|
||||||
|
- Avoid em dashes in sumamries. Fixup RPM groups.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 2 12:14:21 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
Tue Jun 2 12:14:21 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package keybinder
|
# spec file for package keybinder
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,9 +12,10 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
%define do_python 0
|
%define do_python 0
|
||||||
%else
|
%else
|
||||||
@ -27,9 +28,9 @@ Name: keybinder
|
|||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Library for Registering Global Keyboard Shortcuts
|
Summary: A Library for Registering Global Keyboard Shortcuts
|
||||||
License: GPL-2.0+ and MIT
|
License: GPL-2.0-or-later AND MIT
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/kupferlauncher
|
URL: https://github.com/kupferlauncher
|
||||||
Source: https://github.com/kupferlauncher/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/kupferlauncher/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: example_gi.py
|
Source1: example_gi.py
|
||||||
Patch: keybinder-doc-xml-fallback.patch
|
Patch: keybinder-doc-xml-fallback.patch
|
||||||
@ -46,13 +47,12 @@ BuildRequires: python-gobject2-devel
|
|||||||
BuildRequires: python-gtk-devel
|
BuildRequires: python-gtk-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: lua51-devel
|
BuildRequires: lua51-devel
|
||||||
BuildRequires: pkgconfig(xext)
|
|
||||||
BuildRequires: pkgconfig(xkbcommon)
|
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
|
BuildRequires: pkgconfig(xext)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
BuildRequires: pkgconfig(xrender)
|
BuildRequires: pkgconfig(xrender)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Library for registering global keyboard shortcuts. Keybinder
|
Library for registering global keyboard shortcuts. Keybinder
|
||||||
@ -65,7 +65,7 @@ The library contains:
|
|||||||
- An examples directory with programs in C, Lua, Python and Vala.
|
- An examples directory with programs in C, Lua, Python and Vala.
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Library Package for Keybinder
|
Summary: A library for registering global keyboard shortcuts
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
@ -89,7 +89,7 @@ based on keybinder.
|
|||||||
|
|
||||||
%package lua
|
%package lua
|
||||||
Summary: Lua Files for Keybinder
|
Summary: Lua Files for Keybinder
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Languages/Lua
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description lua
|
%description lua
|
||||||
@ -98,7 +98,7 @@ This package contains Lua files for applications based on keybinder.
|
|||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
|
|
||||||
Summary: Python Bindings for Keybinder
|
Summary: Python Bindings for Keybinder
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
Requires: python-base = %{py_ver}
|
Requires: python-base = %{py_ver}
|
||||||
Requires: python-gobject2
|
Requires: python-gobject2
|
||||||
@ -108,7 +108,7 @@ Requires: python-gtk
|
|||||||
This package contains python bindings for keybinder.
|
This package contains python bindings for keybinder.
|
||||||
|
|
||||||
%package -n typelib-1_0-Keybinder-0_0
|
%package -n typelib-1_0-Keybinder-0_0
|
||||||
Summary: A Library for Registering Global Keyboard Shortcuts -- Introspection bindings
|
Summary: Introspection bindins for the Keybinder library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-Keybinder-0_0
|
%description -n typelib-1_0-Keybinder-0_0
|
||||||
@ -159,23 +159,18 @@ find %{buildroot}%{_libdir} -name '*.la' -exec rm -f {} +
|
|||||||
|
|
||||||
find examples -type f -exec chmod 644 {} +
|
find examples -type f -exec chmod 644 {} +
|
||||||
|
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README
|
%doc AUTHORS NEWS README
|
||||||
%{_libdir}/libkeybinder.so.*
|
%{_libdir}/libkeybinder.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc examples
|
%doc examples
|
||||||
%{_includedir}/keybinder.h
|
%{_includedir}/keybinder.h
|
||||||
%{_libdir}/libkeybinder.so
|
%{_libdir}/libkeybinder.so
|
||||||
@ -184,7 +179,6 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/gir-1.0/Keybinder-0.0.gir
|
%{_datadir}/gir-1.0/Keybinder-0.0.gir
|
||||||
|
|
||||||
%files lua
|
%files lua
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/lua/*/keybinder.so
|
%{_libdir}/lua/*/keybinder.so
|
||||||
|
|
||||||
%if 0%{?do_python}
|
%if 0%{?do_python}
|
||||||
@ -194,7 +188,6 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n typelib-1_0-Keybinder-0_0
|
%files -n typelib-1_0-Keybinder-0_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Keybinder-0.0.typelib
|
%{_libdir}/girepository-1.0/Keybinder-0.0.typelib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user