diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index eb36193..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,4 +0,0 @@ -libts-1_0-0 -tslib-devel - requires -tslib- - requires "libts-1_0-0- = " diff --git a/tslib-e2e03ef719.tar.gz b/tslib-e2e03ef719.tar.gz deleted file mode 100644 index 6bcce96..0000000 --- a/tslib-e2e03ef719.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0aff560c8e1ba95b44efef3c1ded55190c5fb260a287b22bda5fb0cb41230e0 -size 894276 diff --git a/tslib.changes b/tslib.changes index 9e3fbf6..9d6dc5c 100644 --- a/tslib.changes +++ b/tslib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 13 01:09:42 UTC 2013 - jengelh@inai.de + +- Fix insufficient description for libts-1_0-0 +- Set RPM groups; simpler make install line; remove redundant + %clean section +- Own all created directories + ------------------------------------------------------------------- Mon Aug 12 08:21:33 UTC 2013 - guillaume@opensuse.org diff --git a/tslib.spec b/tslib.spec index 98c0b9c..7b3221d 100644 --- a/tslib.spec +++ b/tslib.spec @@ -24,6 +24,8 @@ Summary: Abstraction layer for touchscreen License: LGPL-2.0+ and GPL-2.0+ Group: Hardware/Other Url: https://github.com/kergoth/tslib.git + +#Git-Clone: git://github.com/kergoth/tslib Source: tslib-e2e03ef719.tar.gz Source2: baselibs.conf Patch0: use-module-raw-input-for-ts-conf.patch @@ -35,30 +37,40 @@ BuildRequires: pkg-config %description Tslib is an abstraction layer for touchscreen panel events. +The idea of tslib is to have a core library and a set of plugins to +manage the conversion and filtering as needed. + %package -n libts-1_0-0 -Summary: Tslib library itself -Group: Development/Libraries/Other +Summary: Abstraction layer for touchscreens +Group: System/Libraries %description -n libts-1_0-0 -Library package for Tslib. +Tslib is an abstraction layer for touchscreen panel events. + +The idea of tslib is to have a core library and a set of plugins to +manage the conversion and filtering as needed. %package plugins -Summary: Driver plugins for Tslib -Group: Development/Libraries/Other +Summary: Driver plugins for tslib, an abstraction layer for touchscreens +Group: Hardware/Other %description plugins -Hardware driver plugins for Tslib. +Tslib is an abstraction layer for touchscreen panel events. + +The idea of tslib is to have a core library and a set of plugins to +manage the conversion and filtering as needed. + +This subpackage contains the hardware driver plugins for tslib. %package devel -Summary: Devel package for tslib -Group: Development/Libraries/Other +Summary: Development files for tslib, a touchscreen panel event layer +Group: Development/Libraries/C and C++ Requires: %name = %version Requires: %name-plugins = %version %description devel Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events. - %prep %setup -q -n tslib-e2e03ef719 %patch0 -p0 @@ -69,7 +81,7 @@ CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --sysconfdir=/etc --libdir=%{_li make %install -%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT} +make install DESTDIR="%buildroot" rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc @@ -77,16 +89,14 @@ ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc %postun -n libts-1_0-0 -p /sbin/ldconfig -%clean -rm -rf %buildroot - %files devel %defattr(-,root,root) %dir %{_libdir}/ts -/usr/include/tslib.h +%_includedir/tslib.h %{_libdir}/libts.la %{_libdir}/pkgconfig/tslib-1.0.pc %{_libdir}/pkgconfig/tslib.pc +%dir %_libdir/ts %{_libdir}/ts/*.la %{_libdir}/libts.so