From: Jakub Bogusz Date: Wed, 4 Aug 2004 10:55:46 +0000 (+0000) Subject: - new; tarball license is unclear, binary package can be redistributed(?) X-Git-Url: http://git.pld-linux.org/?p=packages%2FXFree86-driver-mga_hal.git;a=commitdiff_plain;h=389bc2186c2b4657b16318805d6c3358a71fb746 - new; tarball license is unclear, binary package can be redistributed(?) Changed files: XFree86-driver-mga_hal.spec -> 1.1 --- 389bc2186c2b4657b16318805d6c3358a71fb746 diff --git a/XFree86-driver-mga_hal.spec b/XFree86-driver-mga_hal.spec new file mode 100644 index 0000000..f8136f9 --- /dev/null +++ b/XFree86-driver-mga_hal.spec @@ -0,0 +1,57 @@ +Summary: mga_hal driver - extensions for XFree86 mga driver +Summary(pl): Sterownik mga_hal - rozszerzenia dla sterownika mga +Name: XFree86-driver-mga_hal +Version: 3.0 +Release: 1 +License: proprietary +Group: X11/XFree86 +# according to copyright notice on download page: +# http://matrox.com/mga/support/drivers/files/lnx_30.cfm +# source package can be used only on single computer (??? looks +# really inadequately) +# but according to release notes: +# ftp://ftp.matrox.com/pub/mga/archive/linux/2003/lnx30notes.txt +# mga_hal library can be freely redistributed +# ??? leave it as NoSource for now +Source0: ftp://ftp.matrox.com/pub/mga/archive/linux/2003/mgadrivers-%{version}-src.tgz +# NoSource0-md5: 8b754fc6bbded60b683563b945e384b0 +NoSource: 0 +Patch0: %{name}-build.patch +URL: http://matrox.com/mga/support/drivers/latest/home.cfm +BuildRequires: XFree86-Xserver-devel > 1:4.4 +%{requires_eq_to XFree86-driver-mga XFree86-Xserver-devel} +ExclusiveArch: %{ix86} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 + +%description +mga_hal driver - extensions for XFree86 mga driver. + +%description -l pl +Sterownik mga_hal - rozszerzenia dla sterownika mga. + +%prep +%setup -q -n mgadrivers-%{version}-src +%patch0 -p1 + +%build +cd 4.3.0/drivers/src +xmkmf +%{__make} mga_hal_drv.o \ + TOP=/usr/X11R6/include/X11/Xserver \ + CC="%{__cc}" \ + CDEBUGFLAGS="%{rpmcflags} -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/extensions" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir}/modules/drivers + +install 4.3.0/drivers/src/mga_hal_drv.o $RPM_BUILD_ROOT%{_libdir}/modules/drivers + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/modules/drivers/mga_hal_drv.o