Name: keybinder3 Version: 0.3.0 Release: 1%{?dist} Summary: A library for registering global keyboard shortcuts Group: Development/Libraries License: MIT URL: https://github.com/engla/keybinder/tree/keybinder-3.0 Source0: https://github.com/engla/keybinder/archive/keybinder-3.0-v%{version}.tar.gz BuildRequires: gtk3-devel, gnome-common, gtk-doc, gobject-introspection-devel %description Keybinder is a library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System. The library contains: - A C library, libkeybinder - Gobject-Introspection bindings %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the development files for %{name}. %package doc Summary: Documentation for %{name} Group: Documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: devhelp %description doc This package contains documentation for %{name}. %prep %setup -qn keybinder-keybinder-3.0-v%{version} %build ./autogen.sh %configure --prefix=/usr --libdir=%{_libdir} --enable-shared --enable-gtk-doc make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} rm -rf %{buildroot}/%{_libdir}/libkeybinder-3.0.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc NEWS AUTHORS README COPYING %{_libdir}/libkeybinder-3.0.so.* %{_libdir}/girepository-1.0/Keybinder-3.0.typelib %files devel %dir %{_includedir}/keybinder-3.0/ %{_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 %files doc %dir %{_datadir}/gtk-doc/html/keybinder-3.0/ %{_datadir}/gtk-doc/html/keybinder-3.0/* %changelog * Thu Aug 1 2013 TingPing - 0.3.0-1 - Initial Package