From 7562339783e90ceaa7177b7a549584c968bcce8ab24dd336bfb5029a1f3e7f17 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 21 Oct 2013 08:26:14 +0000 Subject: [PATCH] Accepting request 204060 from home:sumski:hazard:to:your:stereo Initialize libevdev package, it will be used by future releases of xf86-input-{evdev,synaptics} at least OBS-URL: https://build.opensuse.org/request/show/204060 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libevdev?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + libevdev-0.4.tar.xz | 3 ++ libevdev.changes | 5 +++ libevdev.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 121 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libevdev-0.4.tar.xz create mode 100644 libevdev.changes create mode 100644 libevdev.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libevdev-0.4.tar.xz b/libevdev-0.4.tar.xz new file mode 100644 index 0000000..3289098 --- /dev/null +++ b/libevdev-0.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42 +size 345636 diff --git a/libevdev.changes b/libevdev.changes new file mode 100644 index 0000000..603bc48 --- /dev/null +++ b/libevdev.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Oct 20 19:07:58 UTC 2013 - hrvoje.senjan@gmail.com + +- Initialize libevdev pckage + diff --git a/libevdev.spec b/libevdev.spec new file mode 100644 index 0000000..5e3d684 --- /dev/null +++ b/libevdev.spec @@ -0,0 +1,89 @@ +# +# spec file for package +# +# Copyright (c) specCURRENT_YEAR SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: libevdev +Version: 0.4 +Release: 0 +License: X11 +Summary: A wrapper library for evdev devices +Url: http://xorg.freedesktop.org/ +Group: System/Libraries +Source0: http://freedesktop.org/software/libevdev/%{name}-%{version}.tar.xz +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: python +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Library for handling evdev kernel devices. It abstracts the ioctls +through type-safe interfaces and provides functions to change +the appearance of the device. + +%package devel +Summary: Development files for libevdev library +Group: Development/Libraries/Other +Requires: libevdev1 = %{version} + +%description devel +Library for handling evdev kernel devices. It abstracts the ioctls +through type-safe interfaces and provides functions to change +the appearance of the device. + +Development files for libevdev library + +%package -n libevdev1 +Summary: Library for handling evdev kernel devices +Group: System/Libraries + +%description -n libevdev1 +Library for handling evdev kernel devices. It abstracts the ioctls +through type-safe interfaces and provides functions to change +the appearance of the device. + +%prep +%setup -q + +%build +%configure \ + --disable-static \ + --disable-gcov +make %{?_smp_mflags} + +%install +%make_install + +%post -n libevdev1 -p /sbin/ldconfig + +%postun -n libevdev1 -p /sbin/ldconfig + +%files -n libevdev1 +%defattr(-,root,root) +%doc COPYING +%{_libdir}/%{name}.so.* +%exclude %{_libdir}/*.la + +%files devel +%defattr(-,root,root) +%doc COPYING +%{_libdir}/%{name}.so +%dir %{_includedir}/%{name}-1.0 +%{_includedir}/%{name}-1.0/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc +%exclude %{_libdir}/*.la + +%changelog