summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2005-10-31 01:07:29 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitd2438ee508a2ffba1911d4b9805de68e16edbf97 (patch)
tree24e713bca34818ce9fc84242aab54b9b42bab3c5
downloadxorg-driver-video-via-d2438ee508a2ffba1911d4b9805de68e16edbf97.zip
xorg-driver-video-via-d2438ee508a2ffba1911d4b9805de68e16edbf97.tar.gz
- new
Changed files: xorg-driver-video-via.spec -> 1.1
-rw-r--r--xorg-driver-video-via.spec67
1 files changed, 67 insertions, 0 deletions
diff --git a/xorg-driver-video-via.spec b/xorg-driver-video-via.spec
new file mode 100644
index 0000000..a891c95
--- /dev/null
+++ b/xorg-driver-video-via.spec
@@ -0,0 +1,67 @@
+Summary: X.org video driver for VIA chipsets with onboard unichrome graphics
+Summary(pl): Sterownik obrazu X.org dla układów zintegrowanych VIA
+Name: xorg-driver-video-via
+Version: 0.1.31.1
+Release: 0.1
+License: MIT
+Group: X11/Applications
+Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC1/driver/xf86-video-via-%{version}.tar.bz2
+# Source0-md5: 99cac6b163b0010b75e976908df80407
+URL: http://xorg.freedesktop.org/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: libdrm-devel >= 1.0.4-1.20051022
+BuildRequires: libtool
+BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: xorg-lib-libXvMC-devel
+BuildRequires: xorg-proto-videoproto-devel
+BuildRequires: xorg-proto-xf86driproto-devel
+BuildRequires: xorg-util-util-macros >= 0.99.1
+BuildRequires: xorg-xserver-server-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+X.org video driver for VIA chipsets with onboard unichrome graphics.
+It supports VIA CLE266, KM400/KN400 chipsets. K8M800/K8N800, PM8X0 and
+CN400 support is still under development.
+
+%description -l pl
+Sterownik obrazu X.org dla zintegrowanych układów graficznych VIA.
+Obsługuje układy VIA CLE266, KM400/KN400. Obsługa K8M800/K8N800, PM8X0
+i CN400 jest jeszcze w trakcie pisania.
+
+%prep
+%setup -q -n xf86-video-via-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+# hack (source needs update for new libdrm)
+CPPFLAGS="-DVIDEO=VIA_MEM_VIDEO"
+%configure \
+ --disable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ drivermandir=%{_mandir}/man4
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \
+ $RPM_BUILD_ROOT%{_libdir}/libviaXvMC*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/xorg/modules/drivers/via_drv.so
+%attr(755,root,root) %{_libdir}/libviaXvMC.so.*.*.*
+%attr(755,root,root) %{_libdir}/libviaXvMCPro.so.*.*.*
+%{_mandir}/man4/via.4x*