libepoxy-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A library for handling OpenGL function pointer management
  3. Name: libepoxy
  4. Version: 1.5.10
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: https://github.com/anholt/libepoxy
  11. Source0: https://github.com/anholt/libepoxy/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: meson
  14. BuildRequires: gcc
  15. BuildRequires: pkgconfig(gl)
  16. BuildRequires: pkgconfig(egl)
  17. BuildRequires: libGL-devel
  18. BuildRequires: libX11-devel
  19. BuildRequires: pkgconfig(glesv2)
  20. BuildRequires: python3
  21. BuildRequires: xorg-x11-server-Xvfb mesa-dri-drivers xorg-x11-xauth
  22. %description
  23. Epoxy is a library for handling OpenGL function pointer management for you.
  24. %package devel
  25. Summary: Development tools for %{name}
  26. Summary(ja): %{name} の開発環境
  27. Group: programming
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. Header files and libraries for building a extension library for the %{name}.
  32. # compat32
  33. %package -n compat32-%{name}
  34. Summary: A library for handling OpenGL function pointer management
  35. Group: system,legaxy
  36. Requires: %{name} = %{version}-%{release}
  37. %description -n compat32-%{name}
  38. Epoxy is a library for handling OpenGL function pointer management for you.
  39. %package -n compat32-%{name}-devel
  40. Summary: Development tools for compat32-%{name}
  41. Summary(ja): compat32-%{name} の開発環境
  42. Group: programming,legaxy
  43. Requires: compat32-%{name} = %{version}-%{release}
  44. Requires: %{name}-devel = %{version}-%{release}
  45. %description -n compat32-%{name}-devel
  46. Header files and libraries for building a extension library for the compat32-%{name}.
  47. %debug_package
  48. %prep
  49. %setup -q
  50. %build
  51. %meson -Degl=yes
  52. %meson_build
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. %meson_install
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %if 0
  59. %check
  60. # this should be %%meson_test but the macro expands with a bajillion
  61. # embedded newlines for no obvious reason
  62. xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
  63. (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
  64. %endif
  65. %files
  66. %defattr(-,root,root,-)
  67. %license COPYING
  68. %doc README.md
  69. %{_libdir}/libepoxy.so.*
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %{_includedir}/epoxy
  73. %{_libdir}/libepoxy.so
  74. %{_libdir}/pkgconfig/epoxy.pc
  75. # compat32
  76. %if %{build_compat32}
  77. %files -n compat32-%{name}
  78. %defattr(-,root,root,-)
  79. %{_libdir}/libepoxy.so.*
  80. %files -n compat32-%{name}-devel
  81. %defattr(-,root,root,-)
  82. %{_libdir}/libepoxy.so
  83. %endif
  84. %changelog
  85. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.10-1
  86. - new upstream release.
  87. * Tue May 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.7-1
  88. - new upstream release.
  89. * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-1
  90. - new upstream release.
  91. - dropped ldconfig scriptlets.
  92. * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-2
  93. - enabled egl.
  94. * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
  95. - new upstream release.
  96. * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
  97. - new upstream release
  98. * Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
  99. - initial build