- new; tarball license is unclear, binary package can be redistributed(?)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 4 Aug 2004 10:55:46 +0000 (10:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    XFree86-driver-mga_hal.spec -> 1.1

XFree86-driver-mga_hal.spec [new file with mode: 0644]

diff --git a/XFree86-driver-mga_hal.spec b/XFree86-driver-mga_hal.spec
new file mode 100644 (file)
index 0000000..f8136f9
--- /dev/null
@@ -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
This page took 0.084991 seconds and 4 git commands to generate.