From e0cc9b5254ff243f196a072eb680bd7e59ef4154 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 28 Feb 2014 16:56:48 +0100 Subject: [PATCH] packaging: Initial packaging on 1.0 for Tizen Change-Id: I94dfb72c793725b422981a1a9785e4b7b97ff812 Signed-off-by: Philippe Coval --- packaging/libevdev.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 packaging/libevdev.spec 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/* -- 2.7.4