packaging: Initial packaging on 1.0 for Tizen 64/21464/1 master submit/trunk/20140611.092615
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 28 Feb 2014 15:56:48 +0000 (16:56 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 21 May 2014 08:09:37 +0000 (10:09 +0200)
Change-Id: I94dfb72c793725b422981a1a9785e4b7b97ff812
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/libevdev.spec [new file with mode: 0644]

diff --git a/packaging/libevdev.spec b/packaging/libevdev.spec
new file mode 100644 (file)
index 0000000..8ecd3c3
--- /dev/null
@@ -0,0 +1,57 @@
+Name:           libevdev
+Version:        1.0
+Release:        0
+License:        MIT
+Summary:        wrapper library for evdev input devices
+Url:            git://anongit.freedesktop.org/libevdev
+Group:          System/Libraries
+Source:         %{name}-%{version}.tar.gz
+
+BuildRequires:  doxygen
+BuildRequires:  make
+BuildRequires:  python
+
+
+%description
+libevdev is a wrapper library for evdev devices. it moves the common
+tasks when dealing with evdev devices into a library and provides a library
+interface to the callers, thus avoiding erroneous ioctls, etc.
+
+
+%package devel
+Summary:    wrapper library for evdev input devices
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+libevdev is a wrapper library for evdev devices. it moves the common
+tasks when dealing with evdev devices into a library and provides a library
+interface to the callers, thus avoiding erroneous ioctls, etc.
+
+%prep
+%setup -q
+%autogen
+
+%build
+make %{?jobs:-j%jobs} V=1
+
+%install
+%make_install
+#%fdupes %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+%{_datadir}/*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*