diff --git a/README.md b/README.md index b629547..aba58f3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # x265_212 +x265 HEVC Encoder. + diff --git a/x265_212.spec b/x265_212.spec new file mode 100644 index 0000000..4796bde --- /dev/null +++ b/x265_212.spec @@ -0,0 +1,87 @@ +Name: x265_212 +Version: 4.0 +Release: 2mamba +Summary: x265 HEVC Encoder +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 4.0-2mamba +- legacy package + +* Mon Sep 16 2024 Automatic Build System 4.0-1mamba +- automatic version update by autodist + +* Mon Apr 15 2024 Automatic Build System 3.6-1mamba +- automatic version update by autodist + +* Sun Nov 07 2021 Silvan Calarco 3.5-1mamba +- package created using the webbuild interface