Initial import (#768800)
This commit is contained in:
parent
e0b52d1605
commit
5e016d6a47
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libwacom-0.1.tar.bz2
|
||||
74
libwacom.spec
Normal file
74
libwacom.spec
Normal file
@ -0,0 +1,74 @@
|
||||
Name: libwacom
|
||||
Version: 0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Tablet Information Client Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: http://linuxwacom.sourceforge.net
|
||||
|
||||
Source0: http://prdownloads.sourceforge.net/linuxwacom/%{name}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: autoconf automake libtool doxygen
|
||||
BuildRequires: glib2-devel libgudev1-devel
|
||||
|
||||
%description
|
||||
%{name} is a library that provides information about Wacom tablets and
|
||||
tools. This information can then be used by drivers or applications to tweak
|
||||
the UI or general settings to match the physical tablet.
|
||||
|
||||
%package devel
|
||||
Summary: Tablet Information Client Library Library Development Package
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Tablet information client library library development package.
|
||||
|
||||
%package data
|
||||
Summary: Tablet Information Client Library Library Data Files
|
||||
|
||||
%description data
|
||||
Tablet information client library library data files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
autoreconf -v --install || exit 1
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
|
||||
# We intentionally don't ship *.la files
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README
|
||||
%{_libdir}/libwacom.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%dir %{_includedir}/libwacom-1.0/
|
||||
%dir %{_includedir}/libwacom-1.0/libwacom
|
||||
%{_includedir}/libwacom-1.0/libwacom/libwacom.h
|
||||
%{_libdir}/libwacom.so
|
||||
%{_libdir}/pkgconfig/libwacom.pc
|
||||
|
||||
%files data
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%dir %{_datadir}/libwacom
|
||||
%{_datadir}/libwacom/*.tablet
|
||||
%{_datadir}/libwacom/*.stylus
|
||||
|
||||
%changelog
|
||||
* Mon Dec 19 2011 Peter Hutterer <peter.hutterer@redhat.com> 0.1-1
|
||||
- Initial import (#768800)
|
||||
Loading…
Reference in New Issue
Block a user