package created using the webbuild interface [release 2.4.1-1mamba;Wed Oct 09 2024]

This commit is contained in:
Silvan Calarco 2024-10-10 13:38:23 +02:00
parent b2e856eb11
commit b1710648fe
2 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# openh264 # openh264
OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC.

71
openh264.spec Normal file
View File

@ -0,0 +1,71 @@
Name: openh264
Version: 2.4.1
Release: 1mamba
Summary: A codec library which supports H.264 encoding and decoding
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openh264.org/
Source: https://github.com/cisco/openh264.git/v%{version}/openh264-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: meson
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC.
%package -n lib%{name}
Group: System/Libraries
Summary: A codec library which supports H.264 encoding and decoding
%description -n lib%{name}
OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC.
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}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libopenh264.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/wels
%{_includedir}/wels/*.h
%{_libdir}/libopenh264.so
%{_libdir}/pkgconfig/openh264.pc
%doc README.md
%changelog
* Wed Oct 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-1mamba
- package created using the webbuild interface