Accepting request 287296 from X11:XOrg

1

OBS-URL: https://build.opensuse.org/request/show/287296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2015-02-27 10:04:56 +00:00 committed by Git OBS Bridge
commit 0107ecf156
2 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Feb 22 14:11:43 UTC 2015 - zombah@gmail.com
- Fix include directories
-------------------------------------------------------------------
Thu Feb 19 13:33:22 UTC 2015 - zombah@gmail.com
- Add subpackage libdrm_tegra0 for Nvidia Tegra chips
-------------------------------------------------------------------
Mon Feb 9 12:59:54 UTC 2015 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libdrm
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -74,6 +74,7 @@ Requires: libdrm_radeon1 = %version
%ifarch %arm
Requires: libdrm_freedreno1 = %version
Requires: libdrm_omap1 = %version
Requires: libdrm_tegra0 = %version
%endif
%ifarch %ix86 x86_64
Requires: libdrm_intel1 = %version
@ -158,6 +159,13 @@ Group: System/Libraries
%description -n libdrm_freedreno1
(Upstream has not provided a description)
%package -n libdrm_tegra0
Summary: Userspace interface to kernel DRM services for Nvidia Tegra chips
Group: System/Libraries
%description -n libdrm_tegra0
(Upstream has not provided a description)
%endif
%prep
@ -171,6 +179,7 @@ autoreconf -fi
%ifarch %arm
--enable-omap-experimental-api \
--enable-freedreno-experimental-api \
--enable-tegra-experimental-api \
%endif
--enable-udev
@ -220,6 +229,10 @@ rm -f "%buildroot/%_libdir"/*.la
%post -n libdrm_freedreno1 -p /sbin/ldconfig
%postun -n libdrm_freedreno1 -p /sbin/ldconfig
%post -n libdrm_tegra0 -p /sbin/ldconfig
%postun -n libdrm_tegra0 -p /sbin/ldconfig
%endif
%files tools
@ -278,6 +291,10 @@ rm -f "%buildroot/%_libdir"/*.la
%files -n libdrm_freedreno1
%defattr(-,root,root)
%_libdir/libdrm_freedreno.so.1*
%files -n libdrm_tegra0
%defattr(-,root,root)
%_libdir/libdrm_tegra.so.0*
%endif
%changelog