Initial package (#987204)
This commit is contained in:
parent
f6418732e6
commit
9504c400b9
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libevdev-0.2.1.tar.xz
|
57
libevdev.spec
Normal file
57
libevdev.spec
Normal file
@ -0,0 +1,57 @@
|
||||
Name: libevdev
|
||||
Version: 0.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Kernel Evdev Device Wrapper Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: http://www.freedesktop.org/wiki/Software/libevdev
|
||||
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: python
|
||||
|
||||
%description
|
||||
%{name} is a library to wrap kernel evdev devices and provide a proper API
|
||||
to interact with those devices.
|
||||
|
||||
%package devel
|
||||
Summary: Kernel Evdev Device Wrapper Library Development Package
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Kernel Evdev Device Wrapper Library Development Package.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
autoreconf --force -v --install || exit 1
|
||||
%configure --disable-static --disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# We intentionally don't ship *.la files
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%{_libdir}/libevdev.so.*
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/libevdev-1.0/
|
||||
%dir %{_includedir}/libevdev-1.0/libevdev
|
||||
%{_includedir}/libevdev-1.0/libevdev/libevdev.h
|
||||
%{_libdir}/libevdev.so
|
||||
%{_libdir}/pkgconfig/libevdev.pc
|
||||
|
||||
%changelog
|
||||
* Thu Jul 25 2013 Peter Hutterer <peter.hutterer@redhat.com> 0.2.1-1
|
||||
- Initial package (#987204)
|
||||
|
Loading…
Reference in New Issue
Block a user