keybinder/keybinder.spec

104 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: keybinder
Version: 0.3.2
Release: 1mamba
Summary: A library for registering global keyboard shortcuts
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/kupferlauncher/keybinder/tree/keybinder-3.0
Source: https://github.com/engla/keybinder.git/keybinder-3.0-v%{version}/keybinder-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libatk-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
#Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Keybinder is a library for registering global keyboard shortcuts.
Keybinder works with GTK-based applications using the X Window System.
%package -n lib%{name}
Group: System/Libraries
Summary: A library for registering global keyboard shortcuts
%description -n lib%{name}
Keybinder is a library for registering global keyboard shortcuts.
Keybinder works with GTK-based applications using the X Window System.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkeybinder-*.so.*
%{_libdir}/girepository-1.0/Keybinder-*.typelib
#%dir %{python27_sitearch}/keybinder
#%{python27_sitearch}/keybinder/*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/keybinder-*
%{_includedir}/keybinder-*/keybinder.h
%{_libdir}/libkeybinder-*.la
%{_libdir}/libkeybinder-*.so
%{_datadir}/gir-1.0/Keybinder-*.gir
%{_libdir}/pkgconfig/keybinder-*.pc
%doc NEWS README
%changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1mamba
- update to 0.3.2
* Mon Dec 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- package created using the webbuild interface