commit c08fc5d97582e5f33dde1130779936e02e5aa5e4 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:59:02 2019 -0400 Package init diff --git a/libwacom-0.31.tar.bz2 b/libwacom-0.31.tar.bz2 new file mode 100644 index 0000000..7d77e7d Binary files /dev/null and b/libwacom-0.31.tar.bz2 differ diff --git a/libwacom.spec b/libwacom.spec new file mode 100644 index 0000000..2bb1a43 --- /dev/null +++ b/libwacom.spec @@ -0,0 +1,72 @@ +Name: libwacom +Version: 0.31 +Release: 2 +Summary: Wacom Tablets Library +Requires: %{name}-data +License: MIT +URL: https://github.com/linuxwacom/libwacom +Source0: https://github.com/linuxwacom/libwacom/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 + +BuildRequires: autoconf automake libtool doxygen glib2-devel libgudev1-devel +BuildRequires: systemd systemd-devel git + +%description +libwacom is a library to identify wacom tablets and their model-specific +features. + +%package devel +Summary: Tablet Information Client Library Library Development Package +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Development package for libwacom. + +%package data +Summary: Tablet Information Client Library Library Data Files + +%description data +Tablet information client library library data files. + +%prep +%autosetup -n %{name}-%{version} -p1 -Sgit + +%build +autoreconf --force -v --install || exit 1 +%configure --disable-static --disable-silent-rules +%make_build + +%install +%make_install INSTALL="install -p" +install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir} +./tools/generate-udev-rules > ${RPM_BUILD_ROOT}/%{_udevrulesdir}/65-libwacom.rules + + +%check +make %{?_smp_mflags} check + +%ldconfig_scriptlets + +%files +%{_libdir}/libwacom.so.* +%{_udevrulesdir}/65-libwacom.rules +%{_bindir}/libwacom-list-local-devices +%{_mandir}/man1/libwacom-list-local-devices.1* +%license COPYING +%doc README +%exclude %{_libdir}/*.la + +%files devel +%{_libdir}/libwacom.so +%{_libdir}/pkgconfig/libwacom.pc +%{_includedir}/libwacom-1.0/libwacom/libwacom.h + +%files data +%doc COPYING +%{_datadir}/libwacom/*.tablet +%{_datadir}/libwacom/*.stylus +%{_datadir}/libwacom/layouts/*.svg + +%changelog +* Tue Aug 20 2019 openEuler Buildteam - 0.31-2 +- Package init