[packages/libheif] - initial

arekm arekm at pld-linux.org
Mon May 21 14:48:18 CEST 2018


commit 5c936313f085fcee2ef73670283557ea414f092e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon May 21 14:47:46 2018 +0200

    - initial

 libheif.spec | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 107 insertions(+)
---
diff --git a/libheif.spec b/libheif.spec
new file mode 100644
index 0000000..211f671
--- /dev/null
+++ b/libheif.spec
@@ -0,0 +1,107 @@
+# Conditional build:
+%bcond_without	tests		# don't perform "make check"
+#
+Summary:	ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
+Name:		libheif
+Version:	1.1.0
+Release:	1
+License:	GPL
+Group:		Libraries
+Source0:	https://github.com/strukturag/libheif/releases/download/v1.1.0/%{name}-%{version}.tar.gz
+# Source0-md5:	a88c18e7ce1a62c23d6f0cf7293bb170
+URL:		https://github.com/strukturag/libheif
+BuildRequires:	libde265-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libx265-devel
+BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder and
+encoder.
+
+HEIF is a new image file format employing HEVC (h.265) image coding
+for the best compression ratios currently possible.
+
+libheif makes use of libde265 for the actual image decoding and x265
+for encoding. Alternative codecs for, e.g., AVC and JPEG can be
+provided as plugins.
+
+%package devel
+Summary:	Header files for libheif
+Summary(de.UTF-8):	libheif Headers
+Summary(es.UTF-8):	Archivos de inclusión y bibliotecas estáticas
+Summary(fr.UTF-8):	en-têtes et bibliothèques statiques
+Summary(pl.UTF-8):	Pliki nagłówkowe libheif
+Summary(pt_BR.UTF-8):	Arquivos de inclusão e bibliotecas estáticas
+Summary(tr.UTF-8):	başlık dosyaları ve statik kitaplıklar
+Group:		Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+The header files are only needed for development of programs using the
+libheif library.
+
+%package static
+Summary:	Static libheif library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static libheif library.
+
+%package progs
+Summary:	libheif utility programs
+Group:		Applications/Graphics
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description progs
+This package contains utility programs to convert HEIF files.
+
+%define         skip_post_check_so	libheif.so.1.1.0
+# Unresolved symbols found: _ZSt11__once_call: _ZSt15__once_callable
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/libheif.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libheif.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libheif.so
+%{_includedir}/libheif
+%{_pkgconfigdir}/libheif.pc
+%{_libdir}/libheif.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libheif.a
+
+%files progs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/heif-convert
+%attr(755,root,root) %{_bindir}/heif-enc
+%attr(755,root,root) %{_bindir}/heif-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libheif.git/commitdiff/5c936313f085fcee2ef73670283557ea414f092e



More information about the pld-cvs-commit mailing list