diff --git a/tslib-1.16.tar.bz2 b/tslib-1.16.tar.bz2 deleted file mode 100644 index 975aa4c558092067fa666f04d5d2a3c73daddc3a..0000000000000000000000000000000000000000 Binary files a/tslib-1.16.tar.bz2 and /dev/null differ diff --git a/tslib-1.23.tar.xz b/tslib-1.23.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..a0948422a2c756fec07f2299e91a45f608aefd9a Binary files /dev/null and b/tslib-1.23.tar.xz differ diff --git a/tslib.spec b/tslib.spec index 21c45a720cebb6007b2706ddc5c3d08cc48a3955..7364e8021d4d795893055c4b9a13b6049fbbe970 100644 --- a/tslib.spec +++ b/tslib.spec @@ -1,11 +1,12 @@ Name: tslib -Version: 1.16 -Release: 3 +Version: 1.23 +Release: 1 Summary: C library for filtering touchscreen events -License: LGPLv2 +License: LGPL-2.1-only 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 +Source0: https://github.com/kergoth/tslib/releases/download/%{version}/tslib-%{version}.tar.xz +BuildRequires: gcc make +BuildRequires: SDL2-devel %description tslib consists of the library libts and tools that help you @@ -13,37 +14,30 @@ calibrate and use it in your environment. %package devel Summary: Development files for tslib -Requires: tslib = %{version}-%{release} pkgconfig +Requires: %{name} = %{version}-%{release} %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. +%package_help %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 +%license COPYING +%doc AUTHORS ChangeLog README %config(noreplace) %{_sysconfdir}/ts.conf -%{_bindir}/ts* +%{_bindir}/* %{_libdir}/*.so.* %dir %{_libdir}/ts %{_libdir}/ts/*.so @@ -59,5 +53,8 @@ Help document for the tslib package. %{_mandir}/man5/* %changelog +* Fri Oct 04 2024 Funda Wang - 1.23-1 +- update to 1.23 + * Sat Nov 30 2019 Ling Yang - 1.16-3 - Package init diff --git a/tslib.yaml b/tslib.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d42467e9d9b32802d5d97cb8bcfe4ac5d71ce6eb --- /dev/null +++ b/tslib.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: libts/tslib +tag_prefix: +separator: .