packaging: Initial packaging on 0.1.0 for Tizen
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 28 Feb 2014 15:46:59 +0000 (16:46 +0100)
committerjeon <jhyuni.kang@samsung.com>
Wed, 12 Feb 2020 12:36:50 +0000 (21:36 +0900)
Change-Id: I682fc2715f9f8a60046c5c9297b7d96173131aeb
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/libinput.spec [new file with mode: 0755]

diff --git a/packaging/libinput.spec b/packaging/libinput.spec
new file mode 100755 (executable)
index 0000000..90fd0f3
--- /dev/null
@@ -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/*