Accepting request 206702 from home:jengelh:branches:hardware
I found the description of libts-1_0-0 in openSUSE 13.1 to be quite lacking, and here is a fix. OBS-URL: https://build.opensuse.org/request/show/206702 OBS-URL: https://build.opensuse.org/package/show/hardware/tslib?expand=0&rev=8
This commit is contained in:
parent
9b3bd7c332
commit
ae4922892c
@ -1,4 +0,0 @@
|
||||
libts-1_0-0
|
||||
tslib-devel
|
||||
requires -tslib-<targettype>
|
||||
requires "libts-1_0-0-<targettype> = <version>"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0aff560c8e1ba95b44efef3c1ded55190c5fb260a287b22bda5fb0cb41230e0
|
||||
size 894276
|
@ -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
|
||||
|
||||
|
38
tslib.spec
38
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user