Name: libbrotli Version: 1.0.9 Release: 2mamba Summary: A data format library for data streams Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/bagder/libbrotli Source: https://github.com/google/brotli.git/v%{version}/brotli-%{version}.tar.bz2 #Source: https://github.com/bagder/libbrotli.git/libbrotli-%{version}/libbrotli-%{version}.tar.bz2 Patch0: libbrotli-1.0.9-pkgconfig.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A data format library for data streams. %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: System/Tools Summary: Tools for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains tools that use %{name}. %debug_package %prep %setup -q -n brotli-%{version} %patch0 -p1 ./bootstrap %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libbrotlidec.so.* %{_libdir}/libbrotlienc.so.* %{_libdir}/libbrotlicommon.so.* %doc LICENSE %files devel %defattr(-,root,root) %dir %{_includedir}/brotli %{_includedir}/brotli/*.h %{_libdir}/libbrotlidec.a %{_libdir}/libbrotlidec.la %{_libdir}/libbrotlidec.so %{_libdir}/libbrotlienc.a %{_libdir}/libbrotlienc.la %{_libdir}/libbrotlienc.so %{_libdir}/libbrotlicommon.a %{_libdir}/libbrotlicommon.la %{_libdir}/libbrotlicommon.so %{_libdir}/pkgconfig/libbrotlicommon.pc %{_libdir}/pkgconfig/libbrotlidec.pc %{_libdir}/pkgconfig/libbrotlienc.pc %{_docdir}/brotli/README %doc README README.md %files tools %defattr(-,root,root) %{_bindir}/brotli %changelog * Thu Nov 19 2020 Silvan Calarco 1.0.9-2mamba - added pkgconfig patch to fix linker arguments * Wed Sep 16 2020 Automatic Build System 1.0.9-1mamba - automatic version update by autodist * Sun Oct 28 2018 Automatic Build System 1.0.7-1mamba - automatic version update by autodist * Fri Sep 28 2018 Automatic Build System 1.0.6-1mamba - automatic version update by autodist * Thu Sep 06 2018 Silvan Calarco 1.0.5-1mamba - update to 1.0.5 * Thu Sep 06 2018 Silvan Calarco 1.0-1mamba - package created using the webbuild interface