source: projects/specs/trunk/lib/libd/libdrm/libdrm-vl.spec @ 12506

Revision 12506, 12.7 KB checked in by tomop, 20 months ago (diff)

updated 16 packages

bluez-5.55-1

firefox-78.4.0-1

llvm-11.0.0-2

libdrm-2.4.102-1

libmodsecurity-3.0.4-2

mesa-20.2.1-1

nginx-1.18.0-8

nspr-4.29-1

nss-3.58-1

oniguruma-6.9.5.rev1-3

python-mako-1.1.3-1

python-markupsafe-1.1.1-2

rust-1.47.0-1

thunderbird-78.4.0-1

tigervnc-1.11.0-1

xorg-x11-server-1.20.9-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%define _unpackaged_files_terminate_build 1
3
4Summary: Direct Rendering Manager runtime library
5Summary(ja): Direct Rendering Manager ランタイムライブラリ
6Name: libdrm
7Version: 2.4.102
8Release: 1%{?_dist_release}
9Group: system
10Vendor: Project Vine
11Distribution: Vine Linux
12Packager: daisuke
13
14License: MIT
15URL: http://dri.sourceforge.net
16Source0: https://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.xz
17Source2: 91-drm-modeset.rules
18Patch3: libdrm-make-dri-perms-okay.patch
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21BuildRequires: meson
22BuildRequires: pkgconfig
23BuildRequires: libxcb-devel >= 1.9-2
24BuildRequires: libpciaccess-devel
25BuildRequires: libatomic_ops-devel
26BuildRequires: eudev-libudev-devel
27BuildRequires: kernel-headers >= 2.6.27-1
28BuildRequires: xorg-x11-util-macros
29
30%description
31Direct Rendering Manager runtime library
32
33
34%package devel
35Summary: Direct Rendering Manager development package
36Summary(ja): Direct Rendering Manager 開発パッケージ
37Group: programming
38Requires: %{name} = %{version}-%{release}
39Requires: kernel-headers >= 2.6.27-7
40
41%description devel
42Direct Rendering Manager development package
43
44
45%package -n drm-utils
46Summary: Direct Rendering Manager utilities
47Summary(ja): Direct Rendering Manager ユーティリティ
48Group: programming
49
50%description -n drm-utils
51Utility programs for the kernel DRM interface.  Will void your warranty.
52
53
54# compat32
55%package -n compat32-%{name}
56Summary: Direct Rendering Manager runtime library
57Summary(ja): Direct Rendering Manager ランタイムライブラリ
58Group: system
59Requires: %{name} = %{version}-%{release}
60
61%description -n compat32-%{name}
62Direct Rendering Manager runtime library
63
64
65%package -n compat32-%{name}-devel
66Summary: Direct Rendering Manager development package
67Summary(ja): Direct Rendering Manager 開発パッケージ
68Group: programming
69Requires: compat32-%{name} = %{version}-%{release}
70Requires: %{name}-devel = %{version}-%{release}
71
72%description -n compat32-%{name}-devel
73Direct Rendering Manager development package
74
75
76%debug_package
77
78
79%prep
80%setup -q
81%patch3 -p1 -b .forceperms
82
83
84%build
85%meson \
86  -Dudev=true \
87  -Dinstall-test-programs=true \
88%ifarch %{ix86} x86_64 ia64
89  -Dintel=true \
90%endif
91  -Damdgpu=true \
92  -Dradeon=true \
93  -Dnouveau=true \
94  -Dvmwgfx=true
95
96%meson_build
97
98
99%install
100rm -rf %{buildroot}
101%meson_install
102 
103mkdir -p %{buildroot}/lib/udev/rules.d/
104install -m 0644 %{SOURCE2} %{buildroot}/lib/udev/rules.d/
105
106# NOTE: We intentionally don't ship *.la files
107find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
108for i in r300_reg.h via_3d_reg.h
109do
110rm -f %{buildroot}/usr/include/libdrm/$i
111done
112
113
114%clean
115rm -rf %{buildroot}
116
117
118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
120
121%post -n compat32-%{name} -p /sbin/ldconfig
122%postun -n compat32-%{name} -p /sbin/ldconfig
123
124
125%files
126%defattr(-,root,root,-)
127%doc README
128%{_libdir}/libdrm.so.*
129%ifarch %{ix86} x86_64 ia64
130%{_libdir}/libdrm_intel.so.*
131%endif
132%ifarch %{arm}
133%{_libdir}/libdrm_exynos.so.*
134%{_libdir}/libdrm_omap.so.*
135%endif
136%{_libdir}/libdrm_amdgpu.so.*
137%{_libdir}/libdrm_radeon.so.*
138%{_libdir}/libdrm_nouveau.so.*
139%{_libdir}/libkms.so.*
140%dir %{_datadir}/libdrm
141%{_datadir}/libdrm/amdgpu.ids
142/lib/udev/rules.d/91-drm-modeset.rules
143
144%files -n drm-utils
145%defattr(-,root,root,-)
146%{_bindir}/drmdevice
147%{_bindir}/modetest
148%{_bindir}/modeprint
149%{_bindir}/vbltest
150%{_bindir}/kmstest
151%{_bindir}/kms-steal-crtc
152%{_bindir}/kms-universal-planes
153%exclude %{_bindir}/drmsl
154%exclude %{_bindir}/hash
155%exclude %{_bindir}/proptest
156%exclude %{_bindir}/random
157
158%files devel
159%defattr(-,root,root,-)
160%{_includedir}/xf86drm.h
161%{_includedir}/xf86drmMode.h
162%dir %{_includedir}/libdrm
163%{_includedir}/libdrm/amdgpu.h
164%{_includedir}/libdrm/drm.h
165%{_includedir}/libdrm/drm_fourcc.h
166%{_includedir}/libdrm/drm_mode.h
167%{_includedir}/libdrm/drm_sarea.h
168%ifarch %{ix86} x86_64 ia64
169%{_includedir}/libdrm/intel_aub.h
170%{_includedir}/libdrm/intel_bufmgr.h
171%{_includedir}/libdrm/intel_debug.h
172%endif
173%ifarch %{arm}
174%{_includedir}/libdrm/exynos_drmif.h
175%{_includedir}/exynos/
176%{_includedir}/libdrm/omap_drmif.h
177%{_includedir}/omap/
178%endif
179%{_includedir}/libdrm/r600_pci_ids.h
180%{_includedir}/libdrm/radeon_bo*.h
181%{_includedir}/libdrm/radeon_cs*.h
182%{_includedir}/libdrm/radeon_surface.h
183%{_includedir}/libdrm/nouveau
184%{_includedir}/libdrm/*_drm.h
185%dir %{_includedir}/libkms
186%{_includedir}/libkms/libkms.h
187%{_includedir}/libsync.h
188%{_libdir}/libdrm.so
189%ifarch %{ix86} x86_64 ia64
190%{_libdir}/libdrm_intel.so
191%endif
192%ifarch %{arm}
193%{_libdir}/libdrm_exynos.so
194%{_libdir}/libdrm_omap.so
195%endif
196%{_libdir}/libdrm_amdgpu.so
197%{_libdir}/libdrm_radeon.so
198%{_libdir}/libdrm_nouveau.so
199%{_libdir}/libkms.so
200%{_libdir}/pkgconfig/libdrm.pc
201%ifarch %{ix86} x86_64 ia64
202%{_libdir}/pkgconfig/libdrm_intel.pc
203%endif
204%ifarch %{arm}
205%{_libdir}/pkgconfig/libdrm_exynos.pc
206%{_libdir}/pkgconfig/libdrm_omap.pc
207%endif
208%{_libdir}/pkgconfig/libdrm_amdgpu.pc
209%{_libdir}/pkgconfig/libdrm_radeon.pc
210%{_libdir}/pkgconfig/libdrm_nouveau.pc
211%{_libdir}/pkgconfig/libkms.pc
212#%{_mandir}/man3/drm*.3*
213
214# compat32
215%if %{build_compat32}
216%files -n compat32-%{name}
217%defattr(-,root,root,-)
218%{_libdir}/libdrm.so.*
219%{_libdir}/libdrm_intel.so.*
220%{_libdir}/libdrm_amdgpu.so.*
221%{_libdir}/libdrm_radeon.so.*
222%{_libdir}/libdrm_nouveau.so.*
223%{_libdir}/libkms.so.*
224
225%files -n compat32-%{name}-devel
226%defattr(-,root,root,-)
227%{_libdir}/libdrm.so
228%{_libdir}/libdrm_intel.so
229%{_libdir}/libdrm_amdgpu.so
230%{_libdir}/libdrm_radeon.so
231%{_libdir}/libdrm_nouveau.so
232%{_libdir}/libkms.so
233%endif
234
235
236%changelog
237* Thu Oct 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.102-1
238- updated to 2.4.102.
239
240* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.100-1
241- updated to 2.4.100.
242
243* Fri Sep 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.99-1
244- updated to 2.4.99.
245
246* Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.96-1
247- updated to 2.4.96.
248- droppedd Patch5.
249
250* Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.89-1
251- updated to 2.4.89
252
253* Sun Dec 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.88-1
254- updated to 2.4.88.
255- updated Patch5.
256
257* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.69-1
258- update to 2.4.69
259
260* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.58-1
261- update to 2.4.58
262
263* Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.54-2
264- change BuildRequies: eudev-libudev-devel instead of libudev-devel
265- remove BuildRequires: libatomic_ops-devel
266
267* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.54-1
268- update to 2.4.54
269
270* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.50-1
271- update to 2.4.50
272
273* Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.46-1
274- update to 2.4.46
275
276* Wed May 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.44-1
277- update to 2.4.44
278
279* Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.40-1
280- update to 2.4.40
281- enable exynos and omap on arm arch.
282- add drm/dri check programs as new subpackage
283- move udev rule to /lib/udev/rules.d
284
285* Mon Jul 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.33-2
286- update 91-drm-modeset.rules
287  - add /dev/dri/card* rules (again...)
288
289* Sat Apr 28 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.33-1
290- new upstream release
291
292* Sun Mar 25 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.32-1
293- new upstream release
294- update Patch10 (libdrm-2.4.32-no-pthread-stubs.patch)
295
296* Wed Feb 15 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.31-1
297- new upstream release
298
299* Sun Jan 29 2012 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.30-1
300- new upstream release
301- update Patch10 (libdrm-2.4.30-no-pthread-stubs.patch)
302
303* Fri Dec 16 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.29-1
304- new upstream release
305
306* Tue Nov 01 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.27-1
307- new upstream release
308
309* Sat Jul 09 2011 Yoji TOYODA <bsyamato@aea.plala.or.jp> 2.4.26-1
310- new upstream release
311- add BuildRequires: libpciaccess-devel
312- change BuildRequires: libudev-devel instead of udev
313- update Patch10
314
315* Mon May 16 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.25-2
316- add patch5 to build libkms with in-tree libdrm
317- add --enable-vmwgfx-experimental-api
318
319* Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.25-1
320- new upstream release
321
322* Sun Mar 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.24-2
323- fix %%files devel (add %%{_includedir}/nouveau/nvc0_pushbuf.h)
324
325* Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.24-1
326- new upstream release
327
328* Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.23-1
329- new upstream release
330
331* Thu Nov 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.22-1
332- new upstream release
333
334* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.21-2
335- rebuild with rpm-4.8.1 for pkg-config file
336
337* Tue Aug 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-1
338- new upstream release
339
340* Fri Apr 30 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.20-1
341- new upstream release
342- move include files to new location which are not conflict with kernel.
343
344* Tue Mar 23 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.19-2
345- add libkms
346
347* Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.19-1
348- new upstream release
349
350* Thu Mar 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.18-1
351- new upstream release
352
353* Mon Jan 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.17-1
354- new upstream release
355
356* Sat Dec 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.16-1
357- new upstream release
358- drop Patch5
359- add BR: libatomic_ops-devel
360
361* Sat Nov 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.12-2
362- ad Patch5, pull in intel bo busy.
363
364* Fri Jul 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.12-1
365- new upstream release
366- drop upstream patch
367
368* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.9-4
369- added compat32 package for x86_64 arch support
370
371* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-3
372- add /dev/dri/card* rule to 91-drm-modeset.rules
373
374* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-2
375- build libdrm_nouveau
376- add Patch9 to update nouveau code
377- move /etc/udev/rules.d/91-drm-modeset.rules to /lib/udev/rules.d/
378- remove i915modeset
379
380* Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.9-1
381- new upstream release
382
383* Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-1
384- new upstream release
385
386* Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.5-1
387- new upstream release
388
389* Thu Dec 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.3-1
390- new upstream release
391
392* Sat Dec 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-4
393- remove kernel header files from -devel package.
394- add BR: kernel-headers >= 2.6.27-1
395- add Requires; kernel-headers >= 2.6.27-1 to -devel package
396
397* Tue Oct 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-3
398- update to libdrm-2.4.0 release
399
400* Tue Jul 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-2.20080303
401- update to new git snapshot
402
403* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1
404- new versioning policy
405
406* Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl0.1
407- update to upstream snapshot
408
409* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
410- new upstream release
411
412* Wed Feb 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
413- initial build for Vine Linux partially based on FC package
414
415* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0-2.2
416- bump again for double-long bug on ppc(64)
417
418* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.0-2.1
419- rebuilt for new gcc4.1 snapshot and glibc changes
420
421* Wed Jan 11 2006 Mike A. Harris <mharris@redhat.com> 2.0-2
422- Replaced the temporary tongue-in-cheek humourous package summary and
423  description with the proper package descriptions, as many people didn't get
424  the joke, while others felt it was getting old.  Ah well, I had my fun for
425  a while anyway.  ;o)
426
427* Wed Nov 30 2005 Mike A. Harris <mharris@redhat.com> 2.0-1
428- Updated libdrm to version 2.0 from dri.sf.net.  This is an ABI incompatible
429  release, meaning everything linked to it needs to be recompiled.
430
431* Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1.0.5-1
432- Updated libdrm to version 1.0.5 from dri.sf.net upstream to work around
433  mesa unichrome dri driver compile failure.
434
435* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.0.4-1
436- Updated libdrm to version 1.0.4 from X11R7 RC1
437- Remove i915_drv.h, imagine_drv.h, mach64_drv.h, mga_drv.h, mga_ucode.h,
438  r128_drv.h, radeon_drv.h, savage_drv.h, sis_drv.h, sis_ds.h, tdfx_drv.h,
439  via_drv.h, via_ds.h, via_mm.h, via_verifier.h from file manifest.
440
441* Tue Oct 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-3
442- Update BuildRoot to use Fedora Packaging Guidelines.
443- Add missing "BuildRequires: libX11-devel, pkgconfig"
444
445* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-2
446- Add missing documentation to doc macro
447- Fix spec file project URL
448
449* Sat Sep 03 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-1
450- Initial build.
Note: See TracBrowser for help on using the repository browser.