2012-01-05 13:48:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package libwacom
|
|
|
|
#
|
2012-01-26 14:06:18 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-01-05 13:48:38 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
|
2012-01-05 13:48:38 +01:00
|
|
|
Name: libwacom
|
2012-11-12 12:38:28 +01:00
|
|
|
Version: 0.6.1
|
2012-01-05 13:48:38 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library to identify wacom tablets
|
|
|
|
License: MIT
|
|
|
|
Group: System/Libraries
|
|
|
|
Url: http://linuxwacom.sourceforge.net/
|
2012-05-22 10:10:30 +02:00
|
|
|
Source: http://downloads.sourceforge.net/project/linuxwacom/libwacom/%{name}-%{version}.tar.bz2
|
2012-01-05 13:48:38 +01:00
|
|
|
Source99: baselibs.conf
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
%package -n libwacom2
|
2012-01-05 13:48:38 +01:00
|
|
|
Summary: Library to identify wacom tablets
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-data >= %{version}
|
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
%description -n libwacom2
|
2012-01-05 13:48:38 +01:00
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: Library to identify wacom tablets -- Data Files
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description data
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2012-05-22 10:10:30 +02:00
|
|
|
%package tools
|
|
|
|
Summary: Library to identify wacom tablets -- Tools
|
|
|
|
Group: Hardware/Other
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2012-01-05 13:48:38 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Library to identify wacom tablets -- Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-16 16:19:00 +01:00
|
|
|
Requires: libwacom2 = %{version}
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
%post -n libwacom2 -p /sbin/ldconfig
|
2012-01-05 13:48:38 +01:00
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
%postun -n libwacom2 -p /sbin/ldconfig
|
2012-01-05 13:48:38 +01:00
|
|
|
|
2012-02-16 16:19:00 +01:00
|
|
|
%files -n libwacom2
|
2012-01-05 13:48:38 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING NEWS README
|
2012-02-16 16:19:00 +01:00
|
|
|
%{_libdir}/libwacom.so.2*
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/libwacom
|
|
|
|
%{_datadir}/libwacom/*.tablet
|
|
|
|
%{_datadir}/libwacom/*.stylus
|
|
|
|
|
2012-05-22 10:10:30 +02:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/libwacom-list-local-devices
|
|
|
|
|
2012-01-05 13:48:38 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libwacom-1.0/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/libwacom.pc
|
|
|
|
|
|
|
|
%changelog
|