File libsynaptics.spec of Package libsynaptics
#
# spec file for package libsynaptics (Version 0.14.6c)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libsynaptics
BuildRequires: gcc-c++ xorg-x11-devel
Url: http://qsynaptics.sourceforge.net
Version: 0.14.6c
Release: 133
Summary: A Small C++ Library To Use The Synaptics Driver
License: GPL v2 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch0: libsynaptics-0.14.6c-fix-bad-returnvalue.diff
Patch1: libsynaptics-0.14.6c-gcc43.diff
Patch2: libsynaptics-0.14.6c-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A Small C++ Library To Use The Synaptics Driver. Used e.g. by
ksynaptics.
Authors:
--------
Stefan Kombrink <katakombi@web.de>
%prep
%setup
%patch0 -p1
%patch1 -p0
%patch2
%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-,root,root)
%{_libdir}/libsynaptics*
%{_includedir}/synaptics/
%changelog
* Mon Mar 02 2009 crrodriguez@suse.de
- fix build with GCC 4.4
- remove static libraries
* Wed Oct 24 2007 seife@suse.de
- fix build with new gcc
* Wed Feb 14 2007 seife@suse.de
- update to 0.14.6c (needed by ksynaptics 0.3.2)
note that this has incompatible changes
* Fri Oct 13 2006 seife@suse.de
- update to 0.14.6b which removed debug messages and fixes some
build problems.
* Thu Jul 13 2006 seife@suse.de
- Fix debuginfo-package build.
* Thu Jul 13 2006 aj@suse.de
- Add g++ to BuildRequires.
* Wed Jul 12 2006 seife@suse.de
- initial checkin