2009-11-19 23:28:39 +00:00
|
|
|
%global tarball xf86-input-wacom
|
|
|
|
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
|
|
%global driverdir %{moduledir}/input
|
|
|
|
|
|
|
|
Summary: Xorg X11 wacom input driver
|
|
|
|
Name: xorg-x11-drv-wacom
|
2010-01-21 09:16:51 +00:00
|
|
|
Version: 0.10.4
|
2010-02-02 23:47:35 +00:00
|
|
|
Release: 2%{?dist}
|
2009-11-19 23:28:39 +00:00
|
|
|
URL: http://www.x.org
|
|
|
|
License: GPLv2+
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2010-02-02 23:47:35 +00:00
|
|
|
Source0: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-0.10.4.tar.bz2
|
2009-11-19 23:28:39 +00:00
|
|
|
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
BuildRequires: xorg-x11-server-sdk >= 1.7.0
|
2009-11-20 04:27:39 +00:00
|
|
|
BuildRequires: xorg-x11-util-macros >= 1.3.0
|
2010-01-05 02:01:37 +00:00
|
|
|
BuildRequires: libX11-devel libXi-devel
|
2009-11-19 23:28:39 +00:00
|
|
|
|
|
|
|
Requires: xorg-x11-server-Xorg >= 1.7.0
|
2009-11-20 04:27:39 +00:00
|
|
|
Requires: hal
|
2010-01-05 02:01:37 +00:00
|
|
|
Requires: libX11 libXi
|
2009-11-19 23:28:39 +00:00
|
|
|
|
2009-11-20 04:27:39 +00:00
|
|
|
Provides: linuxwacom = %{version}-%{release}
|
2009-11-19 23:28:39 +00:00
|
|
|
Obsoletes: linuxwacom <= 0.8.4.3
|
|
|
|
|
|
|
|
%description
|
|
|
|
X.Org X11 wacom input driver for Wacom tablets.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{tarball}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# FIXME: Remove all libtool archives (*.la) from modules directory. This
|
|
|
|
# should be fixed in upstream Makefile.am or whatever.
|
|
|
|
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
|
|
|
|
|
2009-11-20 04:27:39 +00:00
|
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty
|
2010-01-21 09:16:51 +00:00
|
|
|
install -m 0644 ${RPM_BUILD_ROOT}%{_datadir}/hal/fdi/policy/20thirdparty/wacom.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty/10-wacom.fdi
|
|
|
|
rm ${RPM_BUILD_ROOT}%{_datadir}/hal/fdi/policy/20thirdparty/wacom.fdi
|
2009-11-20 04:27:39 +00:00
|
|
|
|
2009-11-19 23:28:39 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-11-20 04:27:39 +00:00
|
|
|
%doc AUTHORS ChangeLog README GPL
|
2009-11-19 23:28:39 +00:00
|
|
|
%{driverdir}/wacom_drv.so
|
|
|
|
%{_mandir}/man4/wacom.4*
|
2009-11-20 04:27:39 +00:00
|
|
|
%{_datadir}/hal/fdi/policy/20thirdparty/10-wacom.fdi
|
2010-01-05 01:48:47 +00:00
|
|
|
%{_bindir}/xsetwacom
|
2009-11-19 23:28:39 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Xorg X11 wacom input driver development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: xorg-x11-server-devel >= 1.7.0
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
X.Org X11 wacom input driver development files.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/pkgconfig/xorg-wacom.pc
|
|
|
|
%{_includedir}/xorg/Xwacom.h
|
2009-11-20 04:27:39 +00:00
|
|
|
%{_includedir}/xorg/wacom-properties.h
|
2009-11-19 23:28:39 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-02-02 23:47:35 +00:00
|
|
|
* Wed Feb 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-2
|
|
|
|
- Update sources to sourceforge, 0.10.4 was released on sf only.
|
|
|
|
- Remove wacom.fdi, we're just using the one shipped by the driver now.
|
|
|
|
|
2010-01-21 09:16:51 +00:00
|
|
|
* Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-1
|
|
|
|
- wacom 0.10.4
|
|
|
|
|
2010-01-21 08:15:52 +00:00
|
|
|
* Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> - 0.10.3-3
|
|
|
|
- Rebuild for server 1.8
|
|
|
|
|
2010-01-05 02:01:37 +00:00
|
|
|
* Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.3-2
|
|
|
|
- BuildRequires and Requires libX11 and libXi for xsetwacom.
|
|
|
|
|
2010-01-05 01:48:47 +00:00
|
|
|
* Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.3-1
|
|
|
|
- wacom 0.10.3
|
|
|
|
|
2009-12-03 05:43:13 +00:00
|
|
|
* Thu Dec 03 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.2-1
|
|
|
|
- wacom 0.10.2
|
|
|
|
|
2009-11-20 04:32:02 +00:00
|
|
|
* Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.1-2
|
|
|
|
- cvs add 10-wacom.fdi, this time really.
|
|
|
|
|
2009-11-20 04:27:39 +00:00
|
|
|
* Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.1-1
|
|
|
|
- wacom 0.10.1
|
|
|
|
- BuildRequires xorg-x11-util-macros 1.3.0
|
|
|
|
- Remove unnecessary 'find' directive, changed upstream.
|
|
|
|
- Add GPL document
|
|
|
|
- Install 10-wacom.fdi file.
|
|
|
|
- Provides: linuxwacom
|
|
|
|
|
2009-11-19 23:28:39 +00:00
|
|
|
* Thu Nov 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-3
|
|
|
|
- Use smp_mflags when building.
|
|
|
|
|
|
|
|
* Wed Nov 18 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-2
|
|
|
|
- Obsolete linuxwacom, don't Conflict with it.
|
|
|
|
- Remove trailing dot from summary (rpmlint warning).
|
|
|
|
- Remove spurious executable bits from source files (rpmlint warning).
|
|
|
|
- Add AUTHORS, ChangeLog, README to doc
|
|
|
|
|
|
|
|
* Mon Oct 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
|
|
|
|
- Initial import
|
|
|
|
|