libxshmfence-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libxshmfence
  3. Version: 1.3
  4. Release: 2%{?_dist_release}
  5. Summary: X11 shared memory fences
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: http://www.x.org/
  11. Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  12. # upstream tarball has broken libtool because libtool is never not broken
  13. BuildRequires: autoconf
  14. BuildRequires: automake
  15. BuildRequires: libtool
  16. BuildRequires: xorg-x11-util-macros
  17. BuildRequires: xorg-x11-proto-devel
  18. %description
  19. Shared memory fences for X11, as used in DRI3.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: programming
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. The %{name}-devel package contains libraries and header files for
  26. developing applications that use %{name}.
  27. # compat32
  28. %package -n compat32-%{name}
  29. Summary: X11 shared memory fences
  30. Group: system,legacy
  31. Requires: %{name} = %{version}-%{release}
  32. %description -n compat32-%{name}
  33. This package contains libraries and header files for
  34. developing applications that use %{name}.
  35. %debug_package
  36. %prep
  37. %setup -q
  38. %build
  39. autoreconf -v -i -f
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %license COPYING
  50. %doc ChangeLog README
  51. %defattr(-,root,root,-)
  52. %{_libdir}/libxshmfence.so.1*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %{_includedir}/*
  56. %{_libdir}/pkgconfig/xshmfence.pc
  57. %{_libdir}/*.so
  58. # compat32
  59. %if %{build_compat32}
  60. %files -n compat32-%{name}
  61. %defattr(-,root,root,-)
  62. %{_libdir}/libxshmfence.so.1*
  63. %endif
  64. %changelog
  65. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-2
  66. - rebuilt with current environment.
  67. - dropped ldconfig scriptlets.
  68. * Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
  69. - new upstream release.
  70. * Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
  71. - update to 1.2
  72. * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
  73. - added Group tag to devel package
  74. - added %%clean section to spec file
  75. * Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
  76. - add compat32 subpackage for mesa
  77. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
  78. - initial build for Vine Linux
  79. * Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
  80. - xshmfence 1.1
  81. * Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
  82. - Initial packaging