libxshmfence-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libxshmfence
  3. Version: 1.3
  4. Release: 1%{?_dist_release}
  5. Summary: X11 shared memory fences
  6. License: MIT
  7. URL: http://www.x.org/
  8. Group: System Environment/Libraries
  9. Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  10. # upstream tarball has broken libtool because libtool is never not broken
  11. BuildRequires: autoconf
  12. BuildRequires: automake
  13. BuildRequires: libtool
  14. BuildRequires: xorg-x11-util-macros
  15. BuildRequires: xorg-x11-proto-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Shared memory fences for X11, as used in DRI3.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: Development/Libraries
  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 Environment/Libraries
  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. %prep
  36. %setup -q
  37. %build
  38. autoreconf -v -i -f
  39. %configure --disable-static
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %post -n compat32-%{name} -p /sbin/ldconfig
  48. %postun -n compat32-%{name} -p /sbin/ldconfig
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %license COPYING
  53. %doc ChangeLog README
  54. %defattr(-,root,root,-)
  55. %{_libdir}/libxshmfence.so.1*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/*
  59. %{_libdir}/pkgconfig/xshmfence.pc
  60. %{_libdir}/*.so
  61. # compat32
  62. %if %{build_compat32}
  63. %files -n compat32-%{name}
  64. %defattr(-,root,root,-)
  65. %{_libdir}/libxshmfence.so.1*
  66. %endif
  67. %changelog
  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