Accepting request 206722 from hardware

I found the description of libts-1_0-0 in openSUSE 13.1 to be
quite lacking, and here is a fix. (forwarded request 206702 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/206722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tslib?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2013-11-15 12:39:21 +00:00 committed by Git OBS Bridge
commit b839225f44
2 changed files with 32 additions and 14 deletions

View File

@ -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

View File

@ -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