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:
commit
b839225f44
@ -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
|
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+
|
License: LGPL-2.0+ and GPL-2.0+
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Url: https://github.com/kergoth/tslib.git
|
Url: https://github.com/kergoth/tslib.git
|
||||||
|
|
||||||
|
#Git-Clone: git://github.com/kergoth/tslib
|
||||||
Source: tslib-e2e03ef719.tar.gz
|
Source: tslib-e2e03ef719.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch0: use-module-raw-input-for-ts-conf.patch
|
Patch0: use-module-raw-input-for-ts-conf.patch
|
||||||
@ -35,30 +37,40 @@ BuildRequires: pkg-config
|
|||||||
%description
|
%description
|
||||||
Tslib is an abstraction layer for touchscreen panel events.
|
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
|
%package -n libts-1_0-0
|
||||||
Summary: Tslib library itself
|
Summary: Abstraction layer for touchscreens
|
||||||
Group: Development/Libraries/Other
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libts-1_0-0
|
%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
|
%package plugins
|
||||||
Summary: Driver plugins for Tslib
|
Summary: Driver plugins for tslib, an abstraction layer for touchscreens
|
||||||
Group: Development/Libraries/Other
|
Group: Hardware/Other
|
||||||
|
|
||||||
%description plugins
|
%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
|
%package devel
|
||||||
Summary: Devel package for tslib
|
Summary: Development files for tslib, a touchscreen panel event layer
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name = %version
|
Requires: %name = %version
|
||||||
Requires: %name-plugins = %version
|
Requires: %name-plugins = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
|
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tslib-e2e03ef719
|
%setup -q -n tslib-e2e03ef719
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
@ -69,7 +81,7 @@ CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --sysconfdir=/etc --libdir=%{_li
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
|
make install DESTDIR="%buildroot"
|
||||||
rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||||
ln -s tslib.pc %{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
|
%postun -n libts-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %buildroot
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/ts
|
%dir %{_libdir}/ts
|
||||||
/usr/include/tslib.h
|
%_includedir/tslib.h
|
||||||
%{_libdir}/libts.la
|
%{_libdir}/libts.la
|
||||||
%{_libdir}/pkgconfig/tslib-1.0.pc
|
%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||||
%{_libdir}/pkgconfig/tslib.pc
|
%{_libdir}/pkgconfig/tslib.pc
|
||||||
|
%dir %_libdir/ts
|
||||||
%{_libdir}/ts/*.la
|
%{_libdir}/ts/*.la
|
||||||
%{_libdir}/libts.so
|
%{_libdir}/libts.so
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user