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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | %def_disable static %define sname keybinder %define luaver 5.1 Name: libkeybinder Version: 0.3.0 Release: alt5.git20120617.qa1 Summary: keybinder is a library for registering global keyboard shortcuts License: GPLv2 Group: System/Libraries Url: http://kaizer.se/wiki/keybinder/ BuildRequires: libgtk+2-devel xorg-server-common python-devel liblua5.1-devel BuildRequires: python-module-pygtk-devel libXext-devel BuildRequires: gobject-introspection-devel BuildPreReq: gtk-doc # https://github.com/engla/keybinder.git 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 gir Summary: GObject introspection data for the %name library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the %name library %package devel Summary: Headers for %name Group: Development/C Requires: %name = %version-%release %description devel Headers for building software that uses %name %package gir-devel Summary: GObject introspection devel data for the %name Group: System/Libraries BuildArch: noarch Requires: %name-gir = %version-%release %description gir-devel GObject introspection devel data for the %name library %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} \ --enable-gtk-doc \ --with-html-dir=%_docdir %make_build V=1 %install %makeinstall_std %files %doc AUTHORS README NEWS %_libdir/*.so.* %files devel %_includedir/*.h %_libdir/*.so %_pkgconfigdir/*.pc %doc %_docdir/%sname %if_enabled static %files devel-static %_libdir/lib%name.a %endif %files -n python-module-%sname %python_sitelibdir/%sname %files gir %_typelibdir/* %files gir-devel %_girdir/* #files -n lua5-%name #_libdir/lua/%luaver/*.so %changelog * Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.3.0-alt5.git20120617.qa1 - NMU: applied repocop patch * Fri Jul 14 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.3.0-alt5.git20120617 - Updated build dependencies * Fri Jun 5 2015 Vladimir Didenko <cow at altlinux.org> 0.3.0-alt4.git20120617 - don't require gtk3 * Wed Jun 3 2015 Vladimir Didenko <cow at altlinux.org> 0.3.0-alt3.git20120617 - add gir packages * Sat Sep 13 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.0-alt2.git20120617 - Disabled lua5-libkeybinder (ALT #27509) * Thu Sep 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.0-alt1.git20120617 - Version 0.3.0 * 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 |