Update to 2.4.68
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
773ef22112
commit
3968b944ec
92
libdrm.spec
92
libdrm.spec
@ -1,38 +1,30 @@
|
|||||||
#define gitdate 20130117
|
Name: libdrm
|
||||||
|
Summary: Direct Rendering Manager runtime library
|
||||||
|
Version: 2.4.68
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: MIT
|
||||||
|
|
||||||
Summary: Direct Rendering Manager runtime library
|
URL: http://dri.sourceforge.net
|
||||||
Name: libdrm
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
||||||
Version: 2.4.67
|
Source2: 91-drm-modeset.rules
|
||||||
Release: 4%{?dist}
|
|
||||||
License: MIT
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
URL: http://dri.sourceforge.net
|
|
||||||
|
|
||||||
%if 0%{?gitdate}
|
BuildRequires: pkgconfig automake autoconf libtool
|
||||||
Source0: %{name}-%{gitdate}.tar.bz2
|
BuildRequires: kernel-headers
|
||||||
%else
|
BuildRequires: libxcb-devel
|
||||||
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
|
||||||
%endif
|
|
||||||
Source1: make-git-snapshot.sh
|
|
||||||
Source2: 91-drm-modeset.rules
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig automake autoconf libtool
|
|
||||||
BuildRequires: kernel-headers
|
|
||||||
BuildRequires: libxcb-devel
|
|
||||||
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
|
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
%else
|
%else
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
Requires: udev
|
Requires: udev
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libatomic_ops-devel
|
BuildRequires: libatomic_ops-devel
|
||||||
BuildRequires: libpciaccess-devel
|
BuildRequires: libpciaccess-devel
|
||||||
BuildRequires: libxslt docbook-style-xsl
|
BuildRequires: libxslt docbook-style-xsl
|
||||||
%ifnarch s390
|
%ifnarch s390
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: xorg-x11-util-macros
|
BuildRequires: xorg-x11-util-macros
|
||||||
|
|
||||||
# hardcode the 666 instead of 660 for device nodes
|
# hardcode the 666 instead of 660 for device nodes
|
||||||
Patch3: libdrm-make-dri-perms-okay.patch
|
Patch3: libdrm-make-dri-perms-okay.patch
|
||||||
@ -45,53 +37,48 @@ Patch5: libdrm-2.4.25-check-programs.patch
|
|||||||
Direct Rendering Manager runtime library
|
Direct Rendering Manager runtime library
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Direct Rendering Manager development package
|
Summary: Direct Rendering Manager development package
|
||||||
Group: Development/Libraries
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: kernel-headers >= 2.6.27-0.144.rc0.git2.fc10
|
||||||
Requires: kernel-headers >= 2.6.27-0.144.rc0.git2.fc10
|
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Direct Rendering Manager development package
|
Direct Rendering Manager development package.
|
||||||
|
|
||||||
%package -n drm-utils
|
%package -n drm-utils
|
||||||
Summary: Direct Rendering Manager utilities
|
Summary: Direct Rendering Manager utilities
|
||||||
Group: Development/Tools
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n drm-utils
|
%description -n drm-utils
|
||||||
Utility programs for the kernel DRM interface. Will void your warranty.
|
Utility programs for the kernel DRM interface. Will void your warranty.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q %{?gitdate:-n %{name}-%{gitdate}}
|
%autosetup -p1
|
||||||
%patch3 -p1 -b .forceperms
|
|
||||||
%patch4 -p1 -b .no-bc
|
|
||||||
%patch5 -p1 -b .check
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -v --install || exit 1
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch s390
|
%ifarch s390
|
||||||
--disable-valgrind \
|
--disable-valgrind \
|
||||||
%endif
|
%endif
|
||||||
--disable-vc4 \
|
--disable-vc4 \
|
||||||
%ifarch %{arm} aarch64
|
%ifarch %{arm} aarch64
|
||||||
--enable-exynos-experimental-api \
|
--enable-exynos-experimental-api \
|
||||||
--enable-tegra-experimental-api \
|
--enable-tegra-experimental-api \
|
||||||
--enable-vc4 \
|
--enable-vc4 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
--enable-omap-experimental-api \
|
--enable-omap-experimental-api \
|
||||||
%endif
|
%endif
|
||||||
--enable-install-test-programs \
|
--enable-install-test-programs \
|
||||||
--enable-udev
|
--enable-udev
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
%make_build V=1
|
||||||
pushd tests
|
pushd tests
|
||||||
make %{?smp_mflags} `make check-programs` V=1
|
%make_build `make check-programs` V=1
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
pushd tests
|
pushd tests
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
for foo in $(make check-programs) ; do
|
for foo in $(make check-programs) ; do
|
||||||
@ -241,6 +228,9 @@ done
|
|||||||
%{_mandir}/man7/drm*.7*
|
%{_mandir}/man7/drm*.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 28 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.4.68-1
|
||||||
|
- Update to 2.4.68
|
||||||
|
|
||||||
* Sat Apr 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.67-3
|
* Sat Apr 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.67-3
|
||||||
- Build some extra bits for aarch64
|
- Build some extra bits for aarch64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user