From: Philippe Coval Date: Fri, 28 Feb 2014 15:46:59 +0000 (+0100) Subject: packaging: Initial packaging on 0.1.0 for Tizen X-Git-Tag: submit/tizen/20171107.103302~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b049e75d71b29ddcf478b899eb5f76d14d9355f;p=platform%2Fupstream%2Flibinput.git packaging: Initial packaging on 0.1.0 for Tizen Change-Id: I682fc2715f9f8a60046c5c9297b7d96173131aeb Signed-off-by: Philippe Coval --- 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/*