source: projects/specs/trunk/nonfree/self-build-x265/x265-vl.spec @ 9973

Revision 9973, 3.5 KB checked in by munepi, 8 years ago (diff)

new upstream release

Line 
1Summary: H.265/HEVC encoder library
2Name: x265
3Version: 1.8
4Release: 1%{?_dist_release}
5Group: System Environment/Libraries
6URL: http://x265.org/
7Source0: http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
8# link test binaries with shared library
9Patch1: x265-test-shared.patch
10Patch4: x265-detect_cpu_armhfp.patch
11# source/Lib/TLibCommon - BSD
12# source/Lib/TLibEncoder - BSD
13# everything else - GPLv2+
14License: GPLv2+ and BSD
15BuildRequires: cmake
16BuildRequires: yasm
17
18%description
19The primary objective of x265 is to become the best H.265/HEVC encoder
20available anywhere, offering the highest compression efficiency and the
21highest performance on a wide variety of hardware platforms.
22
23This package contains the command line encoder and the shared library.
24
25%package devel
26Summary: H.265/HEVC encoder library development files
27Requires: %{name}%{?_isa} = %{version}-%{release}
28
29%description devel
30The primary objective of x265 is to become the best H.265/HEVC encoder
31available anywhere, offering the highest compression efficiency and the
32highest performance on a wide variety of hardware platforms.
33
34This package contains the shared library development files.
35
36%prep
37%setup -q -n x265_%{version}
38%patch1 -p1 -b .ts
39%patch4 -p1 -b .armhfp
40
41%build
42%cmake -G "Unix Makefiles" \
43 -DCMAKE_SKIP_RPATH:BOOL=YES \
44 -DENABLE_PIC:BOOL=ON \
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
54%ifnarch %{arm}
55%check
56LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
57%endif
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63%files
64%{_bindir}/x265
65%doc COPYING
66%{_libdir}/libx265.so.68
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
76* Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
77- new upstream release (ABI 68)
78
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
86* Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
87- rebuild
88
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
93
94* Sat Feb  7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4-2
95- added Group tag to Source0
96
97* Fri Jan  2 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.4-1
98- new upstream release (ABI 35)
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
Note: See TracBrowser for help on using the repository browser.