2024-01-06 04:36:09 +01:00
|
|
|
Name: libheif
|
2024-01-06 04:36:13 +01:00
|
|
|
Version: 1.17.6
|
2024-01-06 04:36:09 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:36:09 +01:00
|
|
|
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
|
2024-01-06 04:36:09 +01:00
|
|
|
BuildRequires: libaom-devel
|
|
|
|
BuildRequires: libdav1d-devel
|
|
|
|
BuildRequires: libde265-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 04:36:11 +01:00
|
|
|
BuildRequires: librav1e-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
BuildRequires: libsvt-av1-devel
|
2024-01-06 04:36:11 +01:00
|
|
|
BuildRequires: libwebp-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
BuildRequires: libx265-devel
|
2024-01-06 04:36:10 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:36:11 +01:00
|
|
|
BuildRequires: librav1e-devel
|
2024-01-06 04:36:09 +01:00
|
|
|
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
|
2024-01-06 04:36:09 +01:00
|
|
|
%cmake -d build \
|
2024-01-06 04:36:11 +01:00
|
|
|
-DPLUGIN_DIRECTORY=%{_libdir}/libheif \
|
|
|
|
-DWITH_DAV1D=ON \
|
|
|
|
-DWITH_RAV1E=ON \
|
|
|
|
-DWITH_SvtEnc=ON
|
2024-01-06 04:36:09 +01:00
|
|
|
|
2024-01-06 04:36:09 +01:00
|
|
|
%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.*
|
2024-01-06 04:36:09 +01:00
|
|
|
%dir %{_libdir}/libheif
|
|
|
|
%{_libdir}/libheif/libheif-*.so
|
2024-01-06 04:36:09 +01:00
|
|
|
%{_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
|
2024-01-06 04:36:10 +01:00
|
|
|
#%{_datadir}/mime/packages/avif.xml
|
|
|
|
#%{_datadir}/mime/packages/heif.xml
|
2024-01-06 04:36:09 +01:00
|
|
|
%{_datadir}/thumbnailers/heif.thumbnailer
|
|
|
|
%{_mandir}/man1/heif-*.1*
|
2024-01-06 04:36:09 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:36:13 +01:00
|
|
|
* Wed Dec 20 2023 Automatic Build System <autodist@mambasoft.it> 1.17.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:13 +01:00
|
|
|
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 1.17.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:13 +01:00
|
|
|
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 1.17.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:12 +01:00
|
|
|
* Thu Oct 19 2023 Automatic Build System <autodist@mambasoft.it> 1.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:11 +01:00
|
|
|
* Wed Oct 18 2023 Automatic Build System <autodist@mambasoft.it> 1.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:11 +01:00
|
|
|
* Tue May 23 2023 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 03 2023 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:10 +01:00
|
|
|
* Fri Mar 31 2023 Automatic Build System <autodist@mambasoft.it> 1.15.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:10 +01:00
|
|
|
* Sun Feb 19 2023 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:10 +01:00
|
|
|
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:09 +01:00
|
|
|
* Wed Jan 04 2023 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 17 2022 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:09 +01:00
|
|
|
* Mon Sep 05 2022 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:36:09 +01:00
|
|
|
* Tue Apr 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-2mamba
|
|
|
|
- rebuilt with avif encoder and decoder and libde265 heif decoder
|
|
|
|
|
2024-01-06 04:36:09 +01:00
|
|
|
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- package created using the webbuild interface
|