libxshmfence-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libxshmfence
  3. Version: 1.1
  4. Release: 2%{?_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. 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. make install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %post -n compat32-%{name} -p /sbin/ldconfig
  47. %postun -n compat32-%{name} -p /sbin/ldconfig
  48. %files
  49. %doc COPYING ChangeLog README
  50. %defattr(-,root,root,-)
  51. %{_libdir}/libxshmfence.so.1*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %{_includedir}/*
  55. %{_libdir}/pkgconfig/xshmfence.pc
  56. %{_libdir}/*.so
  57. # compat32
  58. %if %{build_compat32}
  59. %files -n compat32-%{name}
  60. %defattr(-,root,root,-)
  61. %{_libdir}/libxshmfence.so.1*
  62. %endif
  63. %changelog
  64. * Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
  65. - add compat32 subpackage for mesa
  66. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
  67. - initial build for Vine Linux
  68. * Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
  69. - xshmfence 1.1
  70. * Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
  71. - Initial packaging