libxshmfence-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libxshmfence
  3. Version: 1.2
  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. Packager: Takemikaduchi
  19. %description
  20. Shared memory fences for X11, as used in DRI3.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. The %{name}-devel package contains libraries and header files for
  27. developing applications that use %{name}.
  28. # compat32
  29. %package -n compat32-%{name}
  30. Summary: X11 shared memory fences
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description -n compat32-%{name}
  34. This package contains libraries and header files for
  35. developing applications that use %{name}.
  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. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %post -n compat32-%{name} -p /sbin/ldconfig
  49. %postun -n compat32-%{name} -p /sbin/ldconfig
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %doc COPYING 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. * Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
  69. - update to 1.2
  70. * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
  71. - added Group tag to devel package
  72. - added %%clean section to spec file
  73. * Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
  74. - add compat32 subpackage for mesa
  75. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
  76. - initial build for Vine Linux
  77. * Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
  78. - xshmfence 1.1
  79. * Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
  80. - Initial packaging