Accepting request 658008 from home:AndreasStieger:branches:Archiving

brotli 1.0.7

OBS-URL: https://build.opensuse.org/request/show/658008
OBS-URL: https://build.opensuse.org/package/show/Archiving/brotli?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2018-12-14 10:24:30 +00:00 committed by Git OBS Bridge
parent efe0a11192
commit 0724178eae
4 changed files with 30 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d5bedd48edb909fe3b87cb99f7d139b987ef6f1616b7e22d74e928270a2fd20
size 23825684

3
brotli-1.0.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c
size 23827908

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Dec 14 10:06:08 UTC 2018 - astieger@suse.com
- brotli 1.0.7:
* faster decoding on ARM
* improved precision of window size calculation in CLI
- includes changes from 1.0.6:
* fix unaligned 64-bit accesses on AArch32
* add ASAN/MSAN unaligned read specializations
* fix JDK 8<->9 incompatibility
-------------------------------------------------------------------
Wed Jul 25 13:14:15 UTC 2018 - bjorn.lie@gmail.com

View File

@ -18,21 +18,19 @@
%define sover 1
Name: brotli
Version: 1.0.5
Version: 1.0.7
Release: 0
Summary: Lossless Compression Algorithm
License: MIT
Group: Productivity/Archiving/Compression
Url: https://github.com/google/brotli
URL: https://github.com/google/brotli
Source0: https://github.com/google/brotli/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.6
BuildRequires: gcc-c++
BuildRequires: gzip
BuildRequires: pkg-config
BuildRequires: pkgconfig
%description
This package contains the brotli command line utility to compress and decompress data with the brotli compression algorithm.
@ -74,12 +72,12 @@ Group: Development/Libraries/C and C++
Requires: libbrotlicommon%{sover} = %{version}-%{release}
Requires: libbrotlidec%{sover} = %{version}-%{release}
Requires: libbrotlienc%{sover} = %{version}-%{release}
Provides: libbrotlicommon-devel = %version-%release
Provides: libbrotlidec-devel = %version-%release
Provides: libbrotlienc-devel = %version-%release
Obsoletes: libbrotlicommon-devel < %version-%release
Obsoletes: libbrotlidec-devel < %version-%release
Obsoletes: libbrotlienc-devel < %version-%release
Provides: libbrotlicommon-devel = %{version}-%{release}
Provides: libbrotlidec-devel = %{version}-%{release}
Provides: libbrotlienc-devel = %{version}-%{release}
Obsoletes: libbrotlicommon-devel < %{version}-%{release}
Obsoletes: libbrotlidec-devel < %{version}-%{release}
Obsoletes: libbrotlienc-devel < %{version}-%{release}
%description -n libbrotli-devel
Development and headers files for (de)compressing data using the
@ -102,12 +100,12 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.
rm %{buildroot}%{_libdir}/libbrotli*-static.a
%if 0%{?suse_version} > 1315
for i in docs/{brotli.1,decode.h.3,encode.h.3,types.h.3}; do
install -D -t %{buildroot}%{_datadir}/man/man$(echo $i | sed 's:.*\.\([^\.]\)$:\1:') $i
install -D -t %{buildroot}%{_mandir}/man$(echo $i | sed 's:.*\.\([^\.]\)$:\1:') $i
done
%else
mkdir -p %{buildroot}%{_datadir}/man/man{1,3}
mkdir -p %{buildroot}%{_mandir}/man{1,3}
for i in docs/{brotli.1,decode.h.3,encode.h.3,types.h.3}; do
cp $i %{buildroot}%{_datadir}/man/man$(echo $i | sed 's:.*\.\([^\.]\)$:\1:')
cp $i %{buildroot}%{_mandir}/man$(echo $i | sed 's:.*\.\([^\.]\)$:\1:')
done
%endif
@ -116,18 +114,16 @@ done
%post -n libbrotlicommon%{sover} -p /sbin/ldconfig
%postun -n libbrotlicommon%{sover} -p /sbin/ldconfig
%post -n libbrotlidec%{sover} -p /sbin/ldconfig
%postun -n libbrotlidec%{sover} -p /sbin/ldconfig
%post -n libbrotlienc%{sover} -p /sbin/ldconfig
%postun -n libbrotlienc%{sover} -p /sbin/ldconfig
%files
%defattr(0644,root,root,755)
%doc LICENSE
%attr(755,root,root) /usr/bin/brotli
%{_mandir}/man1/brotli.1%{ext_man}
%license LICENSE
%attr(755,root,root) %{_bindir}/brotli
%{_mandir}/man1/brotli.1%{?ext_man}
%files -n libbrotlicommon%{sover}
%defattr(0644,root,root,755)
@ -148,6 +144,6 @@ done
%{_libdir}/libbrotlidec.so
%{_libdir}/libbrotlienc.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*.3%{ext_man}
%{_mandir}/man3/*.3%{?ext_man}
%changelog