Accepting request 288430 from hardware
1 OBS-URL: https://build.opensuse.org/request/show/288430 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tslib?expand=0&rev=8
This commit is contained in:
commit
1f949726e3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:121750e9ae0f05ce840ab8dbefdae1297258f0a69dd1967f55c40ac6e87d5ee9
|
||||
size 323936
|
3
tslib-1.1.tar.xz
Normal file
3
tslib-1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c
|
||||
size 238184
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 1 14:43:11 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Use url for source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 14:27:36 UTC 2014 - guillaume@opensuse.org
|
||||
|
||||
|
24
tslib.spec
24
tslib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tslib
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -25,13 +25,15 @@ 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: %{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Patch0: use-module-raw-input-for-ts-conf.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Tslib is an abstraction layer for touchscreen panel events.
|
||||
@ -64,23 +66,23 @@ This subpackage contains the hardware driver plugins for tslib.
|
||||
%package devel
|
||||
Summary: Development files for tslib, a touchscreen panel event layer
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %name = %version
|
||||
Requires: %name-plugins = %version
|
||||
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
|
||||
%patch0 -p0
|
||||
%patch0
|
||||
./autogen.sh
|
||||
%configure
|
||||
|
||||
%build
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
|
||||
@ -91,11 +93,11 @@ ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ts
|
||||
%_includedir/tslib.h
|
||||
%{_includedir}/tslib.h
|
||||
%{_libdir}/libts.la
|
||||
%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
%{_libdir}/pkgconfig/tslib.pc
|
||||
%dir %_libdir/ts
|
||||
%dir %{_libdir}/ts
|
||||
%{_libdir}/ts/*.la
|
||||
%{_libdir}/libts.so
|
||||
|
||||
@ -111,7 +113,7 @@ ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config /etc/ts.conf
|
||||
%config %{_sysconfdir}/ts.conf
|
||||
%{_bindir}/ts_calibrate
|
||||
%{_bindir}/ts_harvest
|
||||
%{_bindir}/ts_print
|
||||
|
Loading…
Reference in New Issue
Block a user