forked from pool/libinput
libinput
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=1
This commit is contained in:
commit
f9242ba334
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
BIN
libinput-0.0.90~git301.tar.xz
(Stored with Git LFS)
Normal file
BIN
libinput-0.0.90~git301.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
93
libinput.spec
Normal file
93
libinput.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libinput
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define lname libinput0
|
||||||
|
Name: libinput
|
||||||
|
Version: 0.0.90~git301
|
||||||
|
Release: 0
|
||||||
|
Summary: Wayland Common Input Device Library
|
||||||
|
License: HPND
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: http://wayland.freedesktop.org/
|
||||||
|
#Git-Clone: git://anongit.freedesktop.org/wayland/libinput
|
||||||
|
#Git-Web: http://cgit.freedesktop.org/wayland/libinput/
|
||||||
|
Source: %name-%version.tar.xz
|
||||||
|
BuildRequires: autoconf >= 2.64
|
||||||
|
BuildRequires: automake >= 1.11
|
||||||
|
BuildRequires: libtool >= 2.2
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(mtdev) >= 1.1.0, pkgconfig(libudev), pkgconfig(libevdev) >= 0.4, pkgconfig(check) >= 0.9.9
|
||||||
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Wayland core client library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for the Wayland Input Device Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains all necessary include files and libraries needed
|
||||||
|
to develop applications that require libinput.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -qn %name
|
||||||
|
|
||||||
|
%build
|
||||||
|
if [ ! -e configure ]; then
|
||||||
|
autoreconf -fi;
|
||||||
|
fi;
|
||||||
|
%configure --disable-static --includedir="%_includedir/pkg/%name"
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=%buildroot install %{?_smp_mflags}
|
||||||
|
find %buildroot -type f -name "*.la" -delete -print
|
||||||
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if !0%{?qemu_user_space_build}
|
||||||
|
mkdir xdg
|
||||||
|
chmod 700 xdg
|
||||||
|
export XDG_RUNTIME_DIR="$PWD/xdg"
|
||||||
|
#make check %{?_smp_mflags} V=1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libinput.so.0*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/pkg/
|
||||||
|
%_libdir/pkgconfig/libinput.pc
|
||||||
|
%_libdir/libinput.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user