[keybinder] Initial import (#641093).

hannes hannes at fedoraproject.org
Wed Nov 3 06:05:56 UTC 2010


commit e2bf1f1c17344cfc02f2a07c7180fc692732b25b
Author: johannes lips <johannes at fedorabox.localdomain>
Date:   Wed Nov 3 07:07:20 2010 +0100

    Initial import (#641093).

 .gitignore     |    1 +
 keybinder.spec |  120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 122 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c071b0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/keybinder-0.2.2.tar.gz
diff --git a/keybinder.spec b/keybinder.spec
new file mode 100644
index 0000000..87f0a26
--- /dev/null
+++ b/keybinder.spec
@@ -0,0 +1,120 @@
+Name:	keybinder
+Version:	0.2.2
+Release:	4%{?dist}
+Summary:	A library for registering global keyboard shortcuts
+Group:	Development/Libraries
+License:	MIT
+URL:	http://kaizer.se/wiki/keybinder/
+Source0:	http://kaizer.se/publicfiles/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	gtk2-devel
+BuildRequires:	python-devel
+BuildRequires:	pygtk2-devel
+BuildRequires:	pygobject2-devel
+BuildRequires:	lua-devel
+Requires: pkgconfig
+
+%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: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+
+%description devel
+This package contains the development files for %{name}.
+
+
+%package -n python-%{name}
+Group:		Development/Libraries
+License:	GPLv2+
+Summary:	Keybinder python bindings
+Requires:	%{name} = %{version}-%{release}
+Requires:	pygtk2 pygobject2
+
+%filter_provides_in %{python_sitearch}.*\.so$
+%filter_setup
+
+%description -n python-%{name}
+This package contains python bindings for keybinder.
+
+%package -n lua-%{name}
+Group:		Development/Libraries
+Summary:	Keybinder lua bindings
+Requires:	%{name} = %{version}-%{release}
+Requires:	lua
+
+%description -n lua-%{name}
+This package contains lua bindings for keybinder.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%configure --disable-static --enable-python
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+rm -rf %{buildroot}/%{_libdir}/libkeybinder.la
+rm -rf %{buildroot}/%{_libdir}/lua/5.1/keybinder.la
+rm -rf %{python_sitearch}/%{name}/_keybinder.la
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libkeybinder.so.* 
+%doc NEWS AUTHORS README
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/keybinder.h
+%{_libdir}/pkgconfig/keybinder.pc
+%{_libdir}/libkeybinder.so 
+
+%files -n python-%{name}
+%defattr(-,root,root)
+%{python_sitearch}/%{name}
+%doc COPYING
+
+%files -n lua-%{name}
+%defattr(-,root,root)
+%{_libdir}/lua/5.1/keybinder.so
+
+%changelog
+* Mon Nov 01 2010 Johannes Lips <Johannes.Lips googlemail com> 0.2.2-4
+- added the %%{release} tag to the Requires section of the subpackages
+
+* Sun Oct 17 2010 Johannes Lips <Johannes.Lips googlemail com> 0.2.2-3
+- removed the *.la file from python subpackage
+- added the GPLv2+ license tag for the python subpackage
+- fixed ownership of the lua-directory
+
+* Sat Oct 16 2010 Johannes Lips <Johannes.Lips googlemail com> 0.2.2-2
+- added an additional lua subpackage
+- added the MIT license
+- fixed issues with files in the wrong subpackage
+- added a filter macro in the python subpackage
+- added a %%postun section
+
+* Thu Oct 07 2010 Johannes Lips <Johannes.Lips googlemail com> 0.2.2-1
+- initial fedora spec
diff --git a/sources b/sources
index e69de29..d10642f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b4ccd4bd19f3ae3f0ab2cbda11fcd3ac  keybinder-0.2.2.tar.gz


More information about the scm-commits mailing list