commit 4e8cf99479e0c76a21ddee2a17310db897d9f2fc74e3ed76404a7b005886f9e6 Author: Stephan Kulow Date: Thu Jan 5 12:48:38 2012 +0000 Accepting request 98836 from GNOME:Factory New package: dependency in GNOME 3.4 OBS-URL: https://build.opensuse.org/request/show/98836 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwacom?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..1539e2d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libwacom0 diff --git a/libwacom-0.1.tar.bz2 b/libwacom-0.1.tar.bz2 new file mode 100644 index 0000000..b2e301b --- /dev/null +++ b/libwacom-0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b5e686c9a696c4f9f70b1e5d34ab0068442b4dc3a6718586282c86d7aff2f83 +size 320513 diff --git a/libwacom.changes b/libwacom.changes new file mode 100644 index 0000000..31ed0ab --- /dev/null +++ b/libwacom.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Jan 5 07:49:30 UTC 2012 - vuntz@opensuse.org + +- Initial package (version 0.1). + diff --git a/libwacom.spec b/libwacom.spec new file mode 100644 index 0000000..b98563a --- /dev/null +++ b/libwacom.spec @@ -0,0 +1,98 @@ +# +# spec file for package libwacom +# +# Copyright (c) 2011 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/ +# + +Name: libwacom +Version: 0.1 +Release: 0 +Summary: Library to identify wacom tablets +License: MIT +Group: System/Libraries +Url: http://linuxwacom.sourceforge.net/ +Source: %{name}-%{version}.tar.bz2 +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. + +%package -n libwacom0 +Summary: Library to identify wacom tablets +Group: System/Libraries +Requires: %{name}-data >= %{version} + +%description -n libwacom0 +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. + +%package devel +Summary: Library to identify wacom tablets -- Development Files +Group: Development/Libraries/C and C++ +Requires: libwacom0 = %{version} + +%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 + +%post -n libwacom0 -p /sbin/ldconfig + +%postun -n libwacom0 -p /sbin/ldconfig + +%files -n libwacom0 +%defattr(-,root,root) +%doc COPYING NEWS README +%{_libdir}/libwacom.so.0* + +%files data +%defattr(-,root,root) +%dir %{_datadir}/libwacom +%{_datadir}/libwacom/*.tablet +%{_datadir}/libwacom/*.stylus + +%files devel +%defattr(-,root,root) +%{_includedir}/libwacom-1.0/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/libwacom.pc + +%changelog