[packages/openh264] - new

qboosh qboosh at pld-linux.org
Mon Oct 27 18:28:11 CET 2014


commit 9d5b9eed3fe0b033c3ab63753b0c4a8400aaab61
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 27 18:28:00 2014 +0100

    - new

 openh264.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)
---
diff --git a/openh264.spec b/openh264.spec
new file mode 100644
index 0000000..e3af2b4
--- /dev/null
+++ b/openh264.spec
@@ -0,0 +1,86 @@
+# TODO: GMP plugin
+Summary:	H.264 codec library
+Summary(pl.UTF-8):	Biblioteka kodeka H.264
+Name:		openh264
+Version:	1.1
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	https://github.com/cisco/openh264/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	2dccd64e0359acbaec54f442792bba67
+URL:		http://www.openh264.org/
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+OpenH264 to biblioteka kodeka obsługująca kodowanie i dekodowanie
+H.264. Nadaje się do użycia w aplikacjach czasu rzeczywistego, takich
+jak WebRTC.
+
+%package devel
+Summary:	Header files for OpenH264 library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki OpenH264
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for OpenH264 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki OpenH264.
+
+%package static
+Summary:	Static OpenH264 library
+Summary(pl.UTF-8):	Statyczna biblioteka OpenH264
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static OpenH264 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka OpenH264.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CXX="%{__cxx}" \
+	CFLAGS_OPT="%{rpmcxxflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
+
+%{__make} install-headers \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+install libopenh264.so libopenh264.a $RPM_BUILD_ROOT%{_libdir}
+install h264dec h264enc $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CONTRIBUTORS LICENSE README.md RELEASES
+%attr(755,root,root) %{_bindir}/h264dec
+%attr(755,root,root) %{_bindir}/h264enc
+%attr(755,root,root) %{_libdir}/libopenh264.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/wels
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libopenh264.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openh264.git/commitdiff/9d5b9eed3fe0b033c3ab63753b0c4a8400aaab61



More information about the pld-cvs-commit mailing list