Added (untested) RPM .spec file. From giorgio bellussi

<giorgio.bellussi@infocamere.it>.
This commit is contained in:
Peter Osterlund
2004-02-08 22:17:01 +01:00
parent a2621c563d
commit c42ffc66cc

46
synaptics.spec Normal file
View File

@@ -0,0 +1,46 @@
Summary: The Synaptics touchpad X driver
Name: synaptics
Version: 0.12.3
Release: 1
License: GPL
Group: User Interface/X
Source: %{name}-%{version}-%{release}.src.tar.bz2
Patch0: Makefile.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildPreReq: XFree86-devel
%description
This is a driver for the Synaptics TouchPad for XFree86 4.x. A
Synaptics touchpad by default operates in compatibility mode by
emulating a standard mouse. However, by using a dedicated driver, more
advance features of the touchpad becomes available.
%prep
%setup -q -n %{name}
%patch0
%build
make
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
/usr/local
/usr/X11R6
%doc COMPATIBILITY FILES INSTALL LICENSE README README.alps TODO VERSION
%changelog
* Tue Feb 03 2004 Giorgio Bellussi <bunga@libero.it>
- Created RedHat compatible .spec file
- Created Makefile.patch.