From bb19bb31a584b973ec2200f45bd5cc2befa3fb70 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 20 May 2008 16:40:47 +0000 Subject: [PATCH] Initial import --- .cvsignore | 1 + libfakekey.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+) create mode 100644 libfakekey.spec diff --git a/.cvsignore b/.cvsignore index e69de29..43daca9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libfakekey-0.1.tar.bz2 diff --git a/libfakekey.spec b/libfakekey.spec new file mode 100644 index 0000000..86dfaa6 --- /dev/null +++ b/libfakekey.spec @@ -0,0 +1,68 @@ +Name: libfakekey +Version: 0.1 +Release: 1%{?dist} +Summary: Library for converting characters to X key-presses + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://projects.o-hand.com/matchbox/ +Source0: http://matchbox-project.org/sources/libfakekey/0.1/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libXtst-devel + +%description +libfakekey is a simple library for converting UTF-8 characters into +'fake' X key-presses. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_libdir}/libfakekey.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/fakekey/ +%{_libdir}/libfakekey.so +%{_libdir}/pkgconfig/libfakekey.pc + +%changelog +* Mon May 19 2008 Jon McCann 0.1-1 +- Initial package diff --git a/sources b/sources index e69de29..260a2be 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +83dbde4d77e8baf0176fe4291d8a2303 libfakekey-0.1.tar.bz2