legacy package [release 0.8.2-2mamba;Sat Feb 03 2024]

This commit is contained in:
Silvan Calarco 2024-02-03 23:49:52 +01:00
parent 57ad6520ba
commit b2e12809ec
2 changed files with 131 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libjxl08
JPEG XL image format reference implementation.

129
libjxl08.spec Normal file
View File

@ -0,0 +1,129 @@
Name: libjxl08
Version: 0.8.2
Release: 2mamba
Summary: JPEG XL image format reference implementation
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/libjxl/libjxl
Source: https://github.com/libjxl/libjxl.git/v%{version}/libjxl-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libavif-devel
BuildRequires: libbrotli-devel
BuildRequires: libgcc
BuildRequires: libgif-devel
BuildRequires: libgperftools-devel
BuildRequires: libhighway-devel
BuildRequires: libimath-devel
BuildRequires: libjpeg-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: asciidoc
%description
JPEG XL image format reference implementation.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?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/Graphics
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 -n libjxl-%{version}
%build
%cmake -d build \
-DPython3_EXECUTABLE=%{__python3} \
-DJPEGXL_ENABLE_PLUGINS=true \
-DJPEGXL_FORCE_SYSTEM_BROTLI=true \
-DJPEGXL_FORCE_SYSTEM_GTEST=true \
-DJPEGXL_FORCE_SYSTEM_HWY=true \
-DJPEGXL_BUNDLE_LIBPNG=NO \
-DJPEGXL_INSTALL_JARDIR=%{_javadir} \
-DJPEGXL_ENABLE_JNI=false \
-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=false \
-DJPEGXL_ENABLE_PLUGIN_GIMP210=false \
%ifarch arm
-DCMAKE_CXX_FLAGS="%{optflags} -march=armv5te -mfloat-abi=softfp -latomic"
%endif
%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}/libjxl.so.*
%{_libdir}/libjxl_threads.so.*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/jxl
%{_includedir}/jxl/*
%{_libdir}/libjxl.a
%{_libdir}/libjxl.so
%{_libdir}/libjxl_dec.a
%{_libdir}/libjxl_threads.a
%{_libdir}/libjxl_threads.so
%{_libdir}/pkgconfig/libjxl.pc
%{_libdir}/pkgconfig/libjxl_threads.pc
%{_datadir}/mime/packages/image-jxl.xml
%doc README.Haiku.md README.OSX.md README.md
%files tools
%defattr(-,root,root)
%{_bindir}/benchmark_xl
%{_bindir}/cjpeg_hdr
%{_bindir}/cjxl
%{_bindir}/djxl
%{_bindir}/jxlinfo
%{_mandir}/man1/cjxl.1*
%{_mandir}/man1/djxl.1*
%changelog
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-2mamba
- legacy package
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
- automatic version update by autodist
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Thu Jan 19 2023 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Wed Jan 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- package created using the webbuild interface