2024-01-06 05:58:01 +01:00
|
|
|
Name: libts
|
2024-01-06 05:58:01 +01:00
|
|
|
Version: 1.20
|
|
|
|
Release: 1mamba
|
2024-01-06 05:58:01 +01:00
|
|
|
Summary: An abstraction library for touchscreen panel events
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://tslib.berlios.de/
|
2024-01-06 05:58:01 +01:00
|
|
|
Source: https://github.com/libts/tslib.git/%{version}/tslib-%{version}.tar.bz2
|
2024-01-06 05:58:01 +01:00
|
|
|
Source1: ts-calibrate-init
|
|
|
|
Source2: ts-calibrate.conf.sample
|
|
|
|
Source3: ts-calibrate.service
|
|
|
|
Patch0: %{name}-1.0-enable_input_interface.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tslib is an abstraction layer for touchscreen panel events, as well as a filter stack for the manipulation of those events. It was created by Russell King, of arm.linux.org.uk. Examples of implemented filters include jitter smoothing and the calibration transform.
|
|
|
|
Tslib is generally used on embedded devices to provide a common user space interface to touchscreen functionality. It is supported by Kdrive (aka TinyX) and OPIE as well as being used on a number of commercial Linux devices including the Nokia 770.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Tslib is an abstraction layer for touchscreen panel events, as well as a filter stack for the manipulation of those events. It was created by Russell King, of arm.linux.org.uk. Examples of implemented filters include jitter smoothing and the calibration transform.
|
|
|
|
Tslib is generally used on embedded devices to provide a common user space interface to touchscreen functionality. It is supported by Kdrive (aka TinyX) and OPIE as well as being used on a number of commercial Linux devices including the Nokia 770.
|
2024-01-06 05:58:01 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: System/Utilities
|
|
|
|
Summary: Tools for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Tslib is an abstraction layer for touchscreen panel events, as well as a filter stack for the manipulation of those events. It was created by Russell King, of arm.linux.org.uk. Examples of implemented filters include jitter smoothing and the calibration transform.
|
|
|
|
Tslib is generally used on embedded devices to provide a common user space interface to touchscreen functionality. It is supported by Kdrive (aka TinyX) and OPIE as well as being used on a number of commercial Linux devices including the Nokia 770.
|
|
|
|
This package contains static tools for %{name}.
|
2024-01-06 05:58:01 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n tslib-%{version}
|
2024-01-06 05:58:01 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
./autogen.sh
|
2024-01-06 05:58:01 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#./autogen.sh
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
#ln -s libts-1.0.so.0 %{buildroot}%{_libdir}/libts-1.0.so
|
2024-01-06 05:58:01 +01:00
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
#install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/ts-calibrate
|
2024-01-06 05:58:01 +01:00
|
|
|
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ts-calibrate.conf.sample
|
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}/lib/systemd/system/ts-calibrate.service
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2024-01-06 05:58:01 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
%post tools
|
|
|
|
%systemd_post ts-calibrate
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun tools
|
|
|
|
%systemd_preun ts-calibrate
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun tools
|
|
|
|
%systemd_postun ts-calibrate
|
|
|
|
:
|
|
|
|
|
|
|
|
%files tools
|
2024-01-06 05:58:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/ts.conf
|
|
|
|
%{_sysconfdir}/ts-calibrate.conf.sample
|
2024-01-06 05:58:01 +01:00
|
|
|
%{_bindir}/ts_*
|
|
|
|
%{_unitdir}/ts-calibrate.service
|
|
|
|
%{_mandir}/man1/ts_*.1*
|
|
|
|
%{_mandir}/man5/ts.conf.5*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libts.so.*
|
2024-01-06 05:58:01 +01:00
|
|
|
%dir %{_libdir}/ts
|
|
|
|
%{_libdir}/ts/*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/tslib.h
|
|
|
|
%{_libdir}/libts.la
|
|
|
|
%{_libdir}/libts.so
|
|
|
|
%{_libdir}/pkgconfig/tslib.pc
|
2024-01-06 05:58:01 +01:00
|
|
|
%{_mandir}/man3/ts_*.3*
|
|
|
|
%{_mandir}/man3/tslib_version.3*
|
2024-01-06 05:58:01 +01:00
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:58:01 +01:00
|
|
|
* Sat Aug 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20-1mamba
|
|
|
|
- update to 1.20
|
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
* Fri Jun 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.git20110130-5mamba
|
|
|
|
- remove sysv5 initscript and fix systemd service file
|
|
|
|
|
2024-01-06 05:58:01 +01:00
|
|
|
* Sun Apr 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.git20110130-4mamba
|
|
|
|
- fix wrong file provided as ts-calibrate.service
|
|
|
|
|
|
|
|
* Sat Apr 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.git20110130-3mamba
|
|
|
|
- added systemd service file
|
|
|
|
|
|
|
|
* Wed Apr 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.git20110130-2mamba
|
|
|
|
- added calibration initscript with sample default configutation
|
|
|
|
|
|
|
|
* Sun Jan 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0.git20110130-1mamba
|
|
|
|
- update to 1.0.0.git20110130
|
|
|
|
|
|
|
|
* Thu Jan 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
|
|
|
|
- patched ts.conf to enable input module by default
|
|
|
|
|
|
|
|
* Tue Jan 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- package created by autospec
|