From 0f15f4a7c44c340e8beba4a8b80e53c9e2ee5735 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 28 Feb 2014 16:46:59 +0100 Subject: [PATCH] packaging: Initial packaging on 0.1.0 for Tizen Change-Id: I682fc2715f9f8a60046c5c9297b7d96173131aeb Signed-off-by: Philippe Coval --- packaging/libinput.spec | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100755 packaging/libinput.spec diff --git a/packaging/libinput.spec b/packaging/libinput.spec new file mode 100755 index 00000000..90fd0f32 --- /dev/null +++ b/packaging/libinput.spec @@ -0,0 +1,69 @@ +Name: libinput +Version: 0.1.0 +Release: 0 +License: MIT +Summary: Input devices for display servers and other applications +Url: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz +Group: System/Libraries +Source: %{name}-%{version}.tar.gz +#X-Vcs-Url: git://anongit.freedesktop.org/wayland/libinput + +BuildRequires: make +BuildRequires: pkgconfig(libevdev) +BuildRequires: pkgconfig(libevent) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(mtdev) + + +%description + +libinput is a library that handles input devices for display servers and +other applications that need to directly deal with input devices. + +It provides device detection, device handling, input device event +processing and abstraction so minimize the amount of custom input +code the user of libinput need to provide the common set of +functionality that users expect. + + +%package devel +Summary: Input devices for display servers and other applications +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel + +libinput is a library that handles input devices for display servers and +other applications that need to directly deal with input devices. + +It provides device detection, device handling, input device event +processing and abstraction so minimize the amount of custom input +code the user of libinput need to provide the common set of +functionality that users expect. + +%prep +%setup -q + +%autogen + +%build +make %{?jobs:-j%jobs} V=1 + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/* -- 2.34.1