[libde265] Initial version based on libde265 1.0.2

Joachim Bauch fancycode at rpmfusion.org
Mon Jul 18 23:28:29 CEST 2016


commit f8e58ddc8ba2307b54ba404f8041c6e87947bc53
Author: Joachim Bauch <mail at joachim-bauch.de>
Date:   Thu Jun 9 21:35:11 2016 +0000

    Initial version based on libde265 1.0.2

 .gitignore    |   1 +
 libde265.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |   1 +
 3 files changed, 102 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..66ec624 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libde265-1.0.2.tar.gz
diff --git a/libde265.spec b/libde265.spec
new file mode 100644
index 0000000..f365467
--- /dev/null
+++ b/libde265.spec
@@ -0,0 +1,100 @@
+Name:		libde265
+Summary:	Open H.265 video codec implementation
+Version:	1.0.2
+Release:	1%{?dist}
+License:	LGPLv3+
+Group:		System Environment/Libraries
+Source:		https://github.com/strukturag/libde265/releases/download/v%{version}/%{name}-%{version}.tar.gz
+URL:		http://www.libde265.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	pkgconfig(libswscale)
+BuildRequires:	pkgconfig(QtCore)
+BuildRequires:	pkgconfig(QtGui)
+BuildRequires:	pkgconfig(sdl)
+
+
+%description
+libde265 is an open source implementation of the H.265 video codec.
+It is written from scratch for simplicity and efficiency. Its simple
+API makes it easy to integrate it into other software.
+
+
+%package devel
+Group:		Development/Libraries
+Summary:	Open H.265 video codec implementation - development files
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+libde265 is an open source implementation of the H.265 video codec.
+It is written from scratch for simplicity and efficiency. Its simple
+API makes it easy to integrate it into other software.
+
+The development headers for compiling programs that use libde265
+are provided by this package.
+
+
+%package examples
+# The entire examples source code is GPLv3+ except extra/getopt* which is BSD.
+License:	GPLv3+ and BSD
+Group:		Applications/Multimedia
+Summary:	Open H.265 video codec implementation - examples
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description examples
+libde265 is an open source implementation of the H.265 video codec.
+It is written from scratch for simplicity and efficiency. Its simple
+API makes it easy to integrate it into other software.
+
+Sample applications using libde265 are provided by this package.
+
+
+%prep
+%autosetup
+
+%build
+%configure --disable-silent-rules --disable-static --enable-shared
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+%install
+%make_install
+find %{buildroot} -type f -name '*.a' -exec rm -f {} \;
+find %{buildroot} -type f -name '*.la' -exec rm -f {} \;
+mv %{buildroot}%{_bindir}/dec265 %{buildroot}%{_bindir}/libde265-dec265
+mv %{buildroot}%{_bindir}/sherlock265 %{buildroot}%{_bindir}/libde265-sherlock265
+# Don't package internal development tools.
+rm %{buildroot}%{_bindir}/bjoentegaard
+rm %{buildroot}%{_bindir}/block-rate-estim
+rm %{buildroot}%{_bindir}/enc265
+rm %{buildroot}%{_bindir}/gen-enc-table
+rm %{buildroot}%{_bindir}/hdrcopy
+rm %{buildroot}%{_bindir}/rd-curves
+rm %{buildroot}%{_bindir}/tests
+rm %{buildroot}%{_bindir}/yuv-distortion
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%doc README.md
+%{_includedir}/libde265/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%files examples
+%doc README.md
+%{_bindir}/libde265-dec265
+%{_bindir}/libde265-sherlock265
+
+%changelog
+* Thu Jun 09 2016 Joachim Bauch <bauch at struktur.de> 1.0.2-1
+- Initial version.
diff --git a/sources b/sources
index e69de29..bcc9dda 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+93520b378df25f3a94e962f2b54872cc  libde265-1.0.2.tar.gz


More information about the rpmfusion-commits mailing list