From 1e6ae61a7df95f2ef725b18d1aba47d9ad9bb7a9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:28:20 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.3.0-1mamba;Mon Dec 29 2014] --- README.md | 3 ++ keybinder.spec | 103 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 keybinder.spec diff --git a/README.md b/README.md index 2be076f..a224ef6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # keybinder +Keybinder is a library for registering global keyboard shortcuts. +Keybinder works with GTK-based applications using the X Window System. + diff --git a/keybinder.spec b/keybinder.spec new file mode 100644 index 0000000..ebd58d0 --- /dev/null +++ b/keybinder.spec @@ -0,0 +1,103 @@ +Name: keybinder +Version: 0.3.0 +Release: 1mamba +Summary: A library for registering global keyboard shortcuts +Group: System/X11 +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/engla/keybinder/tree/keybinder-3.0 +## GITSOURCE https://github.com/engla/keybinder.git v0.3.0 +Source: https://github.com/engla/keybinder.git/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: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +BuildRequires: libpython-devel +BuildRequires: libselinux-devel +BuildRequires: libxcb-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +#Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 + +%build +./autogen.sh +%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-0.0.typelib +%dir %{python27_sitearch}/keybinder +%{python27_sitearch}/keybinder/* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/keybinder.h +%{_libdir}/libkeybinder.la +%{_libdir}/libkeybinder.so +%{_datadir}/gir-1.0/Keybinder-0.0.gir +%{_libdir}/pkgconfig/keybinder.pc +%doc ChangeLog.pre-git NEWS README + +%changelog +* Mon Dec 29 2014 Silvan Calarco 0.3.0-1mamba +- package created using the webbuild interface