tslib: openEuler init
This commit is contained in:
commit
1370aeba69
BIN
tslib-1.16.tar.bz2
Normal file
BIN
tslib-1.16.tar.bz2
Normal file
Binary file not shown.
63
tslib.spec
Normal file
63
tslib.spec
Normal file
@ -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 <lingyang2@huawei.com> - 1.16-3
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user