SHA256
1
0
forked from pool/libwacom

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
This commit is contained in:
Stephan Kulow 2012-01-05 12:48:38 +00:00 committed by Git OBS Bridge
commit 4e8cf99479
6 changed files with 131 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libwacom0

3
libwacom-0.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b5e686c9a696c4f9f70b1e5d34ab0068442b4dc3a6718586282c86d7aff2f83
size 320513

5
libwacom.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Jan 5 07:49:30 UTC 2012 - vuntz@opensuse.org
- Initial package (version 0.1).

98
libwacom.spec Normal file
View File

@ -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