Package libkeybinder: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | %def_disable static %define sname keybinder %define luaver 5.1 Name: libkeybinder Version: 0.2.2 Release: alt2.1 Summary: keybinder is a library for registering global keyboard shortcuts License: GPLv2 Group: System/Libraries Url: http://kaizer.se/wiki/keybinder/ Packager: Alexey Morsov <swi@altlinux.ru> BuildRequires: libgtk+2-devel xorg-server-common python-dev liblua5-devel BuildRequires: python-module-pygtk-devel libXext-devel Source: %name-%version.tar %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 - Lua bindings, lua-keybinder - Python bindings, python-keybinder - An examples directory with programs in C, Lua, Python and Vala. %package devel Summary: Headers for %name Group: Development/C Requires: %name = %version-%release %description devel Headers for building software that uses %name %if_enabled static %package devel-static Summary: Static libraries for %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static Static libs for building statically linked software that uses %name %endif %package -n python-module-keybinder Summary: Python binding to %name Group: Development/Python Requires: %name = %version-%release %description -n python-module-%sname Python binding to %name %package -n lua5-%name Summary: Lua5 binding to %name Group: Development/Other Requires: %name = %version-%release %description -n lua5-%name Lua5 binding to %name %prep %setup %build %autoreconf -I m4 %configure %{subst_enable static} %make_build %install %makeinstall_std %files %doc AUTHORS README NEWS %_libdir/*.so.* %files devel %_includedir/*.h %_libdir/*.so %_pkgconfigdir/*.pc %if_enabled static %files devel-static %_libdir/lib%name.a %endif %files -n python-module-%sname %python_sitelibdir/%sname %files -n lua5-%name %_libdir/lua/%luaver/*.so %changelog * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.2.2-alt2.1 - Rebuild with Python-2.7 * Mon Apr 25 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.2.2-alt2 - fix build * Thu Dec 30 2010 Alexey Morsov <swi@altlinux.ru> 0.2.2-alt1 - initial build for Sisyphus |