]> git.pld-linux.org Git - packages/svt-hevc.git/blame - svt-hevc.spec
- pass CMAKE_ASM_NASM_OBJECT_FORMAT to fix x32 build
[packages/svt-hevc.git] / svt-hevc.spec
CommitLineData
7cc92a3f
JB
1Summary: Scalable Video Technology for HEVC Encoder
2Summary(pl.UTF-8): Koder Scalable Video Technology dla HEVC
3Name: svt-hevc
4Version: 1.5.1
5Release: 1
6License: BSD
7Group: Libraries
8#Source0Download: https://github.com/OpenVisualCloud/SVT-HEVC/releases
9Source0: https://github.com/OpenVisualCloud/SVT-HEVC/archive/v%{version}/SVT-HEVC-%{version}.tar.gz
10# Source0-md5: cc41d3975610781f70527faa567c6a30
11URL: https://github.com/OpenVisualCloud/SVT-HEVC
12BuildRequires: cmake >= 3.5
7cc92a3f
JB
13BuildRequires: rpmbuild(macros) >= 1.605
14BuildRequires: yasm >= 1.2.0
15Requires: cpuinfo(sse2)
16ExclusiveArch: %{x8664} x32
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) is
21an HEVC-compliant encoder library core that achieves excellent
22density-quality tradeoffs, and is highly optimized for Intel(R)
23Xeon(TM) Scalable Processor and Xeon(TM) D processors.
24
25%description -l pl.UTF-8
26Koder Scalable Video Technology dla HEVC (koder SVT-HEVC) to
27podstawowa biblioteka kodera zgodnego z HEVC, osiągająca świetny
28współczynnik gęstości do jakości, znacząco zoptymalizowana pod kątem
29procesorów Intel(R) Xeon(TM) Scalable Processor oraz Xeon(TM) D.
30
31%package devel
32Summary: Header files for SVT-HEVC library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-HEVC
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38Header files for SVT-HEVC library.
39
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki SVT-HEVC.
42
43%prep
44%setup -q -n SVT-HEVC-%{version}
45
46%build
47install -d build
48cd build
920b015f
JB
49%cmake .. \
50%ifarch x32
51 -DCMAKE_ASM_NASM_OBJECT_FORMAT=elfx32
52%endif
7cc92a3f
JB
53
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} -C build install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(644,root,root,755)
70%doc LICENSE.md NOTICES.md README.md
71%attr(755,root,root) %{_bindir}/SvtHevcEncApp
4ff835b4 72%attr(755,root,root) %{_libdir}/libSvtHevcEnc.so.1
7cc92a3f
JB
73
74%files devel
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_libdir}/libSvtHevcEnc.so
77%{_includedir}/svt-hevc
78%{_pkgconfigdir}/SvtHevcEnc.pc
This page took 0.133184 seconds and 4 git commands to generate.