From: Philippe Coval Date: Fri, 28 Feb 2014 15:56:48 +0000 (+0100) Subject: packaging: Initial packaging on 1.0 for Tizen X-Git-Tag: submit/trunk/20140611.092615^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=platform%2Fupstream%2Flibevdev.git packaging: Initial packaging on 1.0 for Tizen Change-Id: I94dfb72c793725b422981a1a9785e4b7b97ff812 Signed-off-by: Philippe Coval --- diff --git a/packaging/libevdev.spec b/packaging/libevdev.spec new file mode 100644 index 0000000..8ecd3c3 --- /dev/null +++ b/packaging/libevdev.spec @@ -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/*