|
@@ -0,0 +1,64 @@
|
|
|
+%global tarball xf86-video-modesetting
|
|
|
+%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
|
+%global driverdir %{moduledir}/drivers
|
|
|
+
|
|
|
+Summary: Xorg X11 modesetting video driver
|
|
|
+Name: xorg-x11-drv-modesetting
|
|
|
+Version: 0.2.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+URL: http://www.x.org
|
|
|
+License: MIT
|
|
|
+Group: User Interface/X Hardware Support
|
|
|
+
|
|
|
+Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
|
|
+
|
|
|
+# all X hw drivers aren't built on s390 - no need for separate bug
|
|
|
+ExcludeArch: s390 s390x
|
|
|
+
|
|
|
+BuildRequires: xorg-x11-server-sdk >= 1.10.99.902
|
|
|
+BuildRequires: libX11-devel
|
|
|
+BuildRequires: libdrm-devel
|
|
|
+BuildRequires: libXext-devel
|
|
|
+BuildRequires: libudev-devel
|
|
|
+
|
|
|
+Requires: hwdata
|
|
|
+Requires: xorg-x11-server-Xorg
|
|
|
+
|
|
|
+%description
|
|
|
+X.Org X11 modesetting video driver - basic modesetting fallback driver.
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q -n %{tarball}-%{version}
|
|
|
+
|
|
|
+%build
|
|
|
+%configure --disable-static
|
|
|
+make
|
|
|
+
|
|
|
+%install
|
|
|
+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 --
|
|
|
+
|
|
|
+%files
|
|
|
+%{driverdir}/modesetting_drv.so
|
|
|
+%{_mandir}/man4/modesetting.4*
|
|
|
+%doc COPYING README
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
|
|
|
+- initial build for Vine Linux
|
|
|
+
|
|
|
+
|
|
|
+* Fri Feb 24 2012 Dave Airlie <airlied@redhat.com> 0.2.0-1
|
|
|
+- Update to new upstream - fixes pitch issues
|
|
|
+
|
|
|
+* Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-3
|
|
|
+- add build requires, fix tab/space, fix description line
|
|
|
+
|
|
|
+* Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-2
|
|
|
+- initial review comments 1
|
|
|
+
|
|
|
+* Thu Feb 16 2012 Dave Airlie <airlied@redhat.com> 0.1.0-1
|
|
|
+- initial import
|