From 2f3a7ee36b2af2480eb35a8223d4529f76514a25 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:14:10 +0100 Subject: [PATCH] package created by autospec [release 0.1-1mamba;Fri Jan 14 2011] --- README.md | 2 ++ libfakekey.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libfakekey.spec diff --git a/README.md b/README.md index b3a0850..bf5be5a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libfakekey +X Virtual Keyboard Library of the Matchbox WM project. + diff --git a/libfakekey.spec b/libfakekey.spec new file mode 100644 index 0000000..7570e3b --- /dev/null +++ b/libfakekey.spec @@ -0,0 +1,65 @@ +Name: libfakekey +Version: 0.1 +Release: 1mamba +Summary: X Virtual Keyboard Library of the Matchbox WM project +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://matchbox-project.org/?p=1 +Source: http://matchbox-project.org/sources/libfakekey/%{version}/libfakekey-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXtst-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +X Virtual Keyboard Library of the Matchbox WM project. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +X Virtual Keyboard Library of the Matchbox WM project. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure CFLAGS="%{optflags} -lX11" +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libfakekey.so.* +%doc COPYING ChangeLog + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/fakekey +%{_includedir}/fakekey/fakekey.h +%{_libdir}/libfakekey.a +%{_libdir}/libfakekey.la +%{_libdir}/libfakekey.so +%{_libdir}/pkgconfig/libfakekey.pc + +%changelog +* Fri Jan 14 2011 Silvan Calarco 0.1-1mamba +- package created by autospec