1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
- Name: keybinder
- Version: 0.2.2
- Release: 1%{?_dist_release}
- Summary: library for registering global keyboard shortcuts
- Group: System Environment/Libraries
- License: GPLv2
- URL: http://kaizer.se/wiki/keybinder/
- Source0: http://kaizer.se/publicfiles/keybinder/%{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- #BuildArch:
- BuildRequires: gtk2-devel >= 2.20
- BuildRequires: lua-devel
- BuildRequires: pygtk2-devel >= 2.12
- BuildRequires: pygobject-devel >= 2.15.3
- BuildRequires: python-devel
- Requires: lua python
- %description
- keybinder is a library for registering global keyboard shortcuts.
- Keybinder works with GTK-based applications using the X Window System.
- %package devel
- Summary: Development files for %{name}
- Summary(ja): %{name} の開発ファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing extensions for %{name}.
- %prep
- %setup -q
- %build
- %configure
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -rf $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %{_libdir}/libkey*
- %{_libdir}/lua/5.1/%{name}.*
- %{python_sitearch}/%{name}
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/*
- %{_libdir}/pkgconfig/*
- %changelog
- * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2
- - initial build for Vine Linux
- * Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.2.2
- - Initial RPM release
|