2024-01-06 03:55:09 +01:00
|
|
|
Name: libbrotli
|
2024-01-06 03:55:09 +01:00
|
|
|
Version: 1.0.9
|
2024-01-06 03:55:09 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 03:55:09 +01:00
|
|
|
Summary: A data format library for data streams
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 03:55:09 +01:00
|
|
|
Patch0: libbrotli-1.0.9-pkgconfig.patch
|
2024-01-06 03:55:09 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:55:09 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 03:55:09 +01:00
|
|
|
## 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}
|
2024-01-06 03:55:09 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 03:55:09 +01:00
|
|
|
|
|
|
|
./bootstrap
|
2024-01-06 03:55:09 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 03:55:09 +01:00
|
|
|
%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.*
|
2024-01-06 03:55:09 +01:00
|
|
|
%doc LICENSE
|
2024-01-06 03:55:09 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 03:55:09 +01:00
|
|
|
%{_docdir}/brotli/README
|
2024-01-06 03:55:09 +01:00
|
|
|
%doc README README.md
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/brotli
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:55:09 +01:00
|
|
|
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-2mamba
|
|
|
|
- added pkgconfig patch to fix linker arguments
|
|
|
|
|
2024-01-06 03:55:09 +01:00
|
|
|
* Wed Sep 16 2020 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:09 +01:00
|
|
|
* Sun Oct 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:09 +01:00
|
|
|
* Fri Sep 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:09 +01:00
|
|
|
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- update to 1.0.5
|
|
|
|
|
|
|
|
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|