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