libwacom/libwacom.spec

96 lines
2.9 KiB
RPMSpec

Name: libwacom
Version: 0.13
Release: 1mamba
Summary: A library to identify wacom tablets and their model-specific features
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/linuxwacom/
Source: http://downloads.sourceforge.net/project/linuxwacom/libwacom/libwacom-%{version}.tar.bz2
#Source: ftp://ftp.gnome.org/pub/gnome/sources/libwacom/%{version}/libwacom-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: pkg-config
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: libgudev-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/libwacom-list-local-devices
%{_libdir}/libwacom.so.*
%dir %{_datadir}/libwacom/
%{_datadir}/libwacom/libwacom.stylus
%{_datadir}/libwacom/*.tablet
%dir %{_datadir}/libwacom/layouts
%{_datadir}/libwacom/layouts/*.svg
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libwacom-1.0
%dir %{_includedir}/libwacom-1.0/libwacom
%{_includedir}/libwacom-1.0/libwacom/libwacom.h
%{_libdir}/libwacom.a
%{_libdir}/libwacom.la
%{_libdir}/libwacom.so
%{_libdir}/pkgconfig/libwacom.pc
%doc NEWS README
%changelog
* Tue Jun 23 2015 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
- automatic version update by autodist
* Wed Nov 26 2014 Automatic Build System <autodist@mambasoft.it> 0.11-1mamba
- automatic version update by autodist
* Wed Aug 27 2014 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
- automatic version update by autodist
* Sun Mar 16 2014 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
- automatic version update by autodist
* Fri Nov 01 2013 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
- automatic version update by autodist
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
- package created by autospec