commit 1370aeba6969b893018bd157b49aa2c64e7fe2da Author: gnaygnil Date: Mon Dec 2 16:26:14 2019 +0800 tslib: openEuler init diff --git a/tslib-1.16.tar.bz2 b/tslib-1.16.tar.bz2 new file mode 100644 index 0000000..975aa4c Binary files /dev/null and b/tslib-1.16.tar.bz2 differ diff --git a/tslib.spec b/tslib.spec new file mode 100644 index 0000000..21c45a7 --- /dev/null +++ b/tslib.spec @@ -0,0 +1,63 @@ +Name: tslib +Version: 1.16 +Release: 3 +Summary: C library for filtering touchscreen events +License: LGPLv2 +URL: https://github.com/kergoth/tslib +Source0: https://github.com/kergoth/tslib/releases/download/%{version}/tslib-%{version}.tar.bz2 +BuildRequires: libtool autoconf automake SDL2-devel + +%description +tslib consists of the library libts and tools that help you +calibrate and use it in your environment. + +%package devel +Summary: Development files for tslib +Requires: tslib = %{version}-%{release} pkgconfig + +%description devel +The package contains libraries and header files for developing +applications that use tslib. + +%package help +Summary: Help document for the tslib package +Buildarch: noarch + +%description help +Help document for the tslib package. + +%prep +%autosetup -n tslib-%{version} +./autogen.sh +%build +%configure --with-sdl2 +%make_build +%install +%make_install +%delete_la +%post +/sbin/ldconfig +%postun +/sbin/ldconfig + +%files +%doc AUTHORS ChangeLog README COPYING +%config(noreplace) %{_sysconfdir}/ts.conf +%{_bindir}/ts* +%{_libdir}/*.so.* +%dir %{_libdir}/ts +%{_libdir}/ts/*.so + +%files devel +%{_includedir}/tslib.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/tslib.pc + +%files help +%{_mandir}/man1/* +%{_mandir}/man3/* +%{_mandir}/man5/* + +%changelog +* Sat Nov 30 2019 Ling Yang - 1.16-3 +- Package init