88 lines
2.1 KiB
RPMSpec
88 lines
2.1 KiB
RPMSpec
Name: x265_212
|
|
Version: 4.0
|
|
Release: 2mamba
|
|
Summary: x265 HEVC Encoder
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://bitbucket.org/multicoreware/x265_git/wiki/Home
|
|
Source: https://bitbucket.org/multicoreware/x265_git/downloads/x265_%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libnuma-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
x265 HEVC Encoder.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n x265_%{version}
|
|
|
|
%build
|
|
%cmake -d build_x265 \
|
|
-S ../source
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build_x265
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/x265
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libx265.so.*
|
|
%doc COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/x265.h
|
|
%{_includedir}/x265_config.h
|
|
%{_libdir}/libx265.a
|
|
%{_libdir}/libx265.so
|
|
%{_libdir}/pkgconfig/x265.pc
|
|
|
|
%changelog
|
|
* Mon Dec 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-2mamba
|
|
- legacy package
|
|
|
|
* Mon Sep 16 2024 Automatic Build System <autodist@openmamba.org> 4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 15 2024 Automatic Build System <autodist@openmamba.org> 3.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-1mamba
|
|
- package created using the webbuild interface
|