x265-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: H.265/HEVC encoder library
  2. Name: x265
  3. Version: 3.2
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. URL: http://x265.org/
  7. Source0: http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
  8. # link test binaries with shared library
  9. Patch1: x265-test-shared.patch
  10. Patch4: x265-detect_cpu_armhfp.patch
  11. # source/Lib/TLibCommon - BSD
  12. # source/Lib/TLibEncoder - BSD
  13. # everything else - GPLv2+
  14. License: GPLv2+ and BSD
  15. BuildRequires: cmake
  16. BuildRequires: yasm
  17. %description
  18. The primary objective of x265 is to become the best H.265/HEVC encoder
  19. available anywhere, offering the highest compression efficiency and the
  20. highest performance on a wide variety of hardware platforms.
  21. This package contains the command line encoder and the shared library.
  22. %package devel
  23. Summary: H.265/HEVC encoder library development files
  24. Requires: %{name}%{?_isa} = %{version}-%{release}
  25. %description devel
  26. The primary objective of x265 is to become the best H.265/HEVC encoder
  27. available anywhere, offering the highest compression efficiency and the
  28. highest performance on a wide variety of hardware platforms.
  29. This package contains the shared library development files.
  30. %prep
  31. %setup -q -n x265_%{version}
  32. # %patch1 -p1 -b .ts
  33. # %patch4 -p1 -b .armhfp
  34. %build
  35. %cmake -G "Unix Makefiles" \
  36. -DCMAKE_SKIP_RPATH:BOOL=YES \
  37. -DENABLE_PIC:BOOL=ON \
  38. -DENABLE_TESTS:BOOL=ON \
  39. source
  40. %__make %{?_smp_mflags}
  41. %install
  42. %__make DESTDIR=%{buildroot} install
  43. %__rm %{buildroot}%{_libdir}/libx265.a || exit 1
  44. # %__install -Dpm644 COPYING %{buildroot}%{_pkgdocdir}/COPYING
  45. # %ifnarch %{arm}
  46. # %check
  47. # LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
  48. # %endif
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %{_bindir}/x265
  53. %doc COPYING
  54. %{_libdir}/libx265.so.*
  55. %files devel
  56. %doc doc/*
  57. %{_includedir}/x265.h
  58. %{_includedir}/x265_config.h
  59. %{_libdir}/libx265.so
  60. %{_libdir}/pkgconfig/x265.pc
  61. %changelog
  62. * Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 3.2-1
  63. - new upstream release (ABI 179)
  64. * Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
  65. - new upstream release (ABI 68)
  66. * Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.7-1
  67. - new upstream release (ABI 59)
  68. * Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.6-1
  69. - new upstream release (ABI 51)
  70. - release tarballs are now hosted on videolan.org
  71. * Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
  72. - rebuild
  73. * Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-1
  74. - new upstream release (ABI 43)
  75. - drop x265-pc-path.patch
  76. - add x265-1.5-test-shared.patch
  77. * Sat Feb 7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4-2
  78. - added Group tag to Source0
  79. * Fri Jan 2 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.4-1
  80. - new upstream release (ABI 35)
  81. - initial build based on RPM Fusion rawhide
  82. * Sun Aug 17 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-5
  83. - don't include contributor agreement in doc
  84. - make sure /usr/share/doc/x265 is owned
  85. - add a comment noting which files are BSD-licenced
  86. * Fri Aug 08 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-4
  87. - don't create bogus soname (patch by Xavier)
  88. * Thu Jul 17 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-3
  89. - fix tr call to remove DOS EOL
  90. - build the library with -fPIC on arm and i686, too
  91. * Sun Jul 13 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-2
  92. - use version in source URL
  93. - update License tag
  94. - fix EOL in drag-uncrustify.bat
  95. - don't link test binaries with shared binary on x86 (segfault)
  96. * Thu Jul 10 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-1
  97. - initial build
  98. - fix pkgconfig file install location
  99. - link test binaries with shared library