123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- %define _unpackaged_files_terminate_build 1
- Summary: Direct Rendering Manager runtime library
- Summary(ja): Direct Rendering Manager ランタイムライブラリ
- Name: libdrm
- Version: 2.4.116
- Release: 1%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: daisuke
- License: MIT
- URL: http://dri.sourceforge.net
- Source0: https://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.xz
- Source2: 91-drm-modeset.rules
- Patch3: libdrm-make-dri-perms-okay.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- BuildRequires: meson
- BuildRequires: pkgconfig
- BuildRequires: libxcb-devel >= 1.9-2
- BuildRequires: libpciaccess-devel
- BuildRequires: libatomic_ops-devel
- BuildRequires: cairo-devel
- %if %{defined _unitdir}
- BuildRequires: systemd-devel
- %else
- BuildRequires: eudev-libudev-devel
- %endif
- BuildRequires: kernel-headers >= 2.6.27-1
- BuildRequires: xorg-x11-util-macros
- %description
- Direct Rendering Manager runtime library
- %package devel
- Summary: Direct Rendering Manager development package
- Summary(ja): Direct Rendering Manager 開発パッケージ
- Group: programming
- Requires: %{name} = %{version}-%{release}
- Requires: kernel-headers >= 2.6.27-7
- %description devel
- Direct Rendering Manager development package
- %package -n drm-utils
- Summary: Direct Rendering Manager utilities
- Summary(ja): Direct Rendering Manager ユーティリティ
- Group: admin-tools
- %description -n drm-utils
- Utility programs for the kernel DRM interface. Will void your warranty.
- # compat32
- %package -n compat32-%{name}
- Summary: Direct Rendering Manager runtime library
- Summary(ja): Direct Rendering Manager ランタイムライブラリ
- Group: system,legacy
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- Direct Rendering Manager runtime library
- %package -n compat32-%{name}-devel
- Summary: Direct Rendering Manager development package
- Summary(ja): Direct Rendering Manager 開発パッケージ
- Group: programming,legacy
- Requires: compat32-%{name} = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- %description -n compat32-%{name}-devel
- Direct Rendering Manager development package
- %debug_package
- %prep
- %setup -q
- %patch3 -p1 -b .forceperms
- %build
- %meson \
- -Dudev=true \
- -Dinstall-test-programs=true \
- %ifarch %{ix86} x86_64 ia64
- -Dintel=enabled \
- %endif
- -Damdgpu=enabled \
- -Dradeon=enabled \
- -Dnouveau=enabled \
- -Dvmwgfx=enabled \
- -Detnaviv=disabled \
- -Dfreedreno=disabled \
- -Dvc4=disabled \
- -Dvalgrind=disabled \
- -Dman-pages=disabled \
- %{nil}
- %meson_build
- %install
- rm -rf %{buildroot}
- %meson_install
-
- mkdir -p %{buildroot}/lib/udev/rules.d/
- install -m 0644 %{SOURCE2} %{buildroot}/lib/udev/rules.d/
- # NOTE: We intentionally don't ship *.la files
- find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
- for i in r300_reg.h via_3d_reg.h
- do
- rm -f %{buildroot}/usr/include/libdrm/$i
- done
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc README.rst
- %{_libdir}/libdrm.so.*
- %ifarch %{ix86} x86_64 ia64
- %{_libdir}/libdrm_intel.so.*
- %endif
- %ifarch %{arm}
- %{_libdir}/libdrm_exynos.so.*
- %{_libdir}/libdrm_omap.so.*
- %endif
- %{_libdir}/libdrm_amdgpu.so.*
- %{_libdir}/libdrm_radeon.so.*
- %{_libdir}/libdrm_nouveau.so.*
- %dir %{_datadir}/libdrm
- %{_datadir}/libdrm/amdgpu.ids
- /lib/udev/rules.d/91-drm-modeset.rules
- %files -n drm-utils
- %defattr(-,root,root,-)
- %{_bindir}/amdgpu_stress
- %{_bindir}/drmdevice
- %{_bindir}/modetest
- %{_bindir}/modeprint
- %{_bindir}/vbltest
- %exclude %{_bindir}/proptest
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/xf86drm.h
- %{_includedir}/xf86drmMode.h
- %dir %{_includedir}/libdrm
- %{_includedir}/libdrm/amdgpu.h
- %{_includedir}/libdrm/drm.h
- %{_includedir}/libdrm/drm_fourcc.h
- %{_includedir}/libdrm/drm_mode.h
- %{_includedir}/libdrm/drm_sarea.h
- %ifarch %{ix86} x86_64 ia64
- %{_includedir}/libdrm/intel_aub.h
- %{_includedir}/libdrm/intel_bufmgr.h
- %{_includedir}/libdrm/intel_debug.h
- %endif
- %ifarch %{arm}
- %{_includedir}/libdrm/exynos_drmif.h
- %{_includedir}/exynos/
- %{_includedir}/libdrm/omap_drmif.h
- %{_includedir}/omap/
- %endif
- %{_includedir}/libdrm/r600_pci_ids.h
- %{_includedir}/libdrm/radeon_bo*.h
- %{_includedir}/libdrm/radeon_cs*.h
- %{_includedir}/libdrm/radeon_surface.h
- %{_includedir}/libdrm/nouveau
- %{_includedir}/libdrm/*_drm.h
- %{_includedir}/libsync.h
- %{_libdir}/libdrm.so
- %ifarch %{ix86} x86_64 ia64
- %{_libdir}/libdrm_intel.so
- %endif
- %ifarch %{arm}
- %{_libdir}/libdrm_exynos.so
- %{_libdir}/libdrm_omap.so
- %endif
- %{_libdir}/libdrm_amdgpu.so
- %{_libdir}/libdrm_radeon.so
- %{_libdir}/libdrm_nouveau.so
- %{_libdir}/pkgconfig/libdrm.pc
- %ifarch %{ix86} x86_64 ia64
- %{_libdir}/pkgconfig/libdrm_intel.pc
- %endif
- %ifarch %{arm}
- %{_libdir}/pkgconfig/libdrm_exynos.pc
- %{_libdir}/pkgconfig/libdrm_omap.pc
- %endif
- %{_libdir}/pkgconfig/libdrm_amdgpu.pc
- %{_libdir}/pkgconfig/libdrm_radeon.pc
- %{_libdir}/pkgconfig/libdrm_nouveau.pc
- #%{_mandir}/man3/drm*.3*
- # compat32
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-,root,root,-)
- %{_libdir}/libdrm.so.*
- %{_libdir}/libdrm_intel.so.*
- %{_libdir}/libdrm_amdgpu.so.*
- %{_libdir}/libdrm_radeon.so.*
- %{_libdir}/libdrm_nouveau.so.*
- %files -n compat32-%{name}-devel
- %defattr(-,root,root,-)
- %{_libdir}/libdrm.so
- %{_libdir}/libdrm_intel.so
- %{_libdir}/libdrm_amdgpu.so
- %{_libdir}/libdrm_radeon.so
- %{_libdir}/libdrm_nouveau.so
- %endif
- %changelog
- * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.116-1
- - updated to 2.4.116.
- * Mon Sep 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.113-1
- - updated to 2.4.113.
- * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.111-1
- - updated to 2.4.110.
- * Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.107-1
- - updated to 2.4.107.
- - dropped ldconfig scriptlets.
- * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.104-1
- - updated to 2.4.104.
- * Thu Oct 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.102-1
- - updated to 2.4.102.
- * Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.100-1
- - updated to 2.4.100.
- * Fri Sep 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.99-1
- - updated to 2.4.99.
- * Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.96-1
- - updated to 2.4.96.
- - dropped Patch5.
- * Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.89-1
- - updated to 2.4.89
- * Sun Dec 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.88-1
- - updated to 2.4.88.
- - updated Patch5.
- * Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.69-1
- - update to 2.4.69
- * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.58-1
- - update to 2.4.58
- * Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.54-2
- - change BuildRequies: eudev-libudev-devel instead of libudev-devel
- - remove BuildRequires: libatomic_ops-devel
- * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.54-1
- - update to 2.4.54
- * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.50-1
- - update to 2.4.50
- * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.46-1
- - update to 2.4.46
- * Wed May 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.44-1
- - update to 2.4.44
- * Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.40-1
- - update to 2.4.40
- - enable exynos and omap on arm arch.
- - add drm/dri check programs as new subpackage
- - move udev rule to /lib/udev/rules.d
- * Mon Jul 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.33-2
- - update 91-drm-modeset.rules
- - add /dev/dri/card* rules (again...)
- * Sat Apr 28 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.33-1
- - new upstream release
- * Sun Mar 25 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.32-1
- - new upstream release
- - update Patch10 (libdrm-2.4.32-no-pthread-stubs.patch)
- * Wed Feb 15 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.31-1
- - new upstream release
- * Sun Jan 29 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.30-1
- - new upstream release
- - update Patch10 (libdrm-2.4.30-no-pthread-stubs.patch)
- * Fri Dec 16 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.29-1
- - new upstream release
- * Tue Nov 01 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.27-1
- - new upstream release
- * Sat Jul 09 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.26-1
- - new upstream release
- - add BuildRequires: libpciaccess-devel
- - change BuildRequires: libudev-devel instead of udev
- - update Patch10
- * Mon May 16 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.25-2
- - add patch5 to build libkms with in-tree libdrm
- - add --enable-vmwgfx-experimental-api
- * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.25-1
- - new upstream release
- * Sun Mar 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.24-2
- - fix %%files devel (add %%{_includedir}/nouveau/nvc0_pushbuf.h)
- * Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.24-1
- - new upstream release
- * Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.23-1
- - new upstream release
- * Thu Nov 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.22-1
- - new upstream release
- * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.21-2
- - rebuild with rpm-4.8.1 for pkg-config file
- * Tue Aug 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-1
- - new upstream release
- * Fri Apr 30 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.20-1
- - new upstream release
- - move include files to new location which are not conflict with kernel.
- * Tue Mar 23 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.19-2
- - add libkms
- * Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.19-1
- - new upstream release
- * Thu Mar 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.18-1
- - new upstream release
- * Mon Jan 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.17-1
- - new upstream release
- * Sat Dec 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.16-1
- - new upstream release
- - drop Patch5
- - add BR: libatomic_ops-devel
- * Sat Nov 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.12-2
- - ad Patch5, pull in intel bo busy.
- * Fri Jul 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.12-1
- - new upstream release
- - drop upstream patch
- * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.9-4
- - added compat32 package for x86_64 arch support
- * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-3
- - add /dev/dri/card* rule to 91-drm-modeset.rules
- * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-2
- - build libdrm_nouveau
- - add Patch9 to update nouveau code
- - move /etc/udev/rules.d/91-drm-modeset.rules to /lib/udev/rules.d/
- - remove i915modeset
- * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-1
- - new upstream release
- * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-1
- - new upstream release
- * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.5-1
- - new upstream release
- * Thu Dec 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.3-1
- - new upstream release
- * Sat Dec 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-4
- - remove kernel header files from -devel package.
- - add BR: kernel-headers >= 2.6.27-1
- - add Requires; kernel-headers >= 2.6.27-1 to -devel package
- * Tue Oct 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-3
- - update to libdrm-2.4.0 release
- * Tue Jul 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-2.20080303
- - update to new git snapshot
- * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1
- - new versioning policy
- * Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl0.1
- - update to upstream snapshot
- * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
- - new upstream release
- * Wed Feb 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
- - initial build for Vine Linux partially based on FC package
- * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0-2.2
- - bump again for double-long bug on ppc(64)
- * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.0-2.1
- - rebuilt for new gcc4.1 snapshot and glibc changes
- * Wed Jan 11 2006 Mike A. Harris <mharris@redhat.com> 2.0-2
- - Replaced the temporary tongue-in-cheek humourous package summary and
- description with the proper package descriptions, as many people didn't get
- the joke, while others felt it was getting old. Ah well, I had my fun for
- a while anyway. ;o)
- * Wed Nov 30 2005 Mike A. Harris <mharris@redhat.com> 2.0-1
- - Updated libdrm to version 2.0 from dri.sf.net. This is an ABI incompatible
- release, meaning everything linked to it needs to be recompiled.
- * Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1.0.5-1
- - Updated libdrm to version 1.0.5 from dri.sf.net upstream to work around
- mesa unichrome dri driver compile failure.
- * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.0.4-1
- - Updated libdrm to version 1.0.4 from X11R7 RC1
- - Remove i915_drv.h, imagine_drv.h, mach64_drv.h, mga_drv.h, mga_ucode.h,
- r128_drv.h, radeon_drv.h, savage_drv.h, sis_drv.h, sis_ds.h, tdfx_drv.h,
- via_drv.h, via_ds.h, via_mm.h, via_verifier.h from file manifest.
- * Tue Oct 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-3
- - Update BuildRoot to use Fedora Packaging Guidelines.
- - Add missing "BuildRequires: libX11-devel, pkgconfig"
- * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-2
- - Add missing documentation to doc macro
- - Fix spec file project URL
- * Sat Sep 03 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-1
- - Initial build.
|