package created using the webbuild interface [release 1.12.0-1mamba;Mon Jan 10 2022]
This commit is contained in:
parent
df4460e52a
commit
f2442caa0d
@ -1,2 +1,4 @@
|
|||||||
# libheif
|
# libheif
|
||||||
|
|
||||||
|
libheif is an HEIF and AVIF file format decoder and encoder.
|
||||||
|
|
||||||
|
89
libheif.spec
Normal file
89
libheif.spec
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
Name: libheif
|
||||||
|
Version: 1.12.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: An HEIF and AVIF file format decoder and encoder
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/strukturag/libheif
|
||||||
|
Source: https://github.com/strukturag/libheif.git/v%{version}/libheif-%{version}.tar.bz2
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libx265-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
|
||||||
|
%description
|
||||||
|
libheif is an HEIF and AVIF file format decoder and encoder.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Summary: Utility applications for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains utility applications for %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libheif.so.*
|
||||||
|
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/libheif
|
||||||
|
%{_includedir}/libheif/*
|
||||||
|
%{_libdir}/libheif.so
|
||||||
|
%{_libdir}/pkgconfig/libheif.pc
|
||||||
|
%dir %{_libdir}/cmake/libheif
|
||||||
|
%{_libdir}/cmake/libheif/libheif-*.cmake
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/heif-convert
|
||||||
|
%{_bindir}/heif-enc
|
||||||
|
%{_bindir}/heif-info
|
||||||
|
%{_bindir}/heif-thumbnailer
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user